Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84244members
353343posts

Schneider PLC Counter plus Timer

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

Solved
JPalas
Crewman
Crewman
0 Likes
4
1170

Schneider PLC Counter plus Timer

Hi there

So I’ve been trying to complete a program to a Schneider PLC in Ladder but having some a serious problem that can't seem to solve.
I’m trying to add a timer, this needs to add a block of time every time a contact is activated (coin validator). Tried so use a counter and a pulse timer, but doesn’t add time to it.
Could someone give me any idea?
Using a Schneider  M221 24 I/O and Machine Expert Basic

Thank you so much

Tags (1)

Accepted Solutions
LeTomas
Lieutenant Lieutenant
Lieutenant
0 Likes
1
1137

Re: Schneider PLC Counter plus Timer

Hi @JPalas ,

 

I believe you can do something similar to this:

 

Image002.PNG

 

Best regards,

 

Letomas

See Answer In Context

Tags (1)
4 Replies 4
LeTomas
Lieutenant Lieutenant
Lieutenant
0 Likes
3
1163

Re: Schneider PLC Counter plus Timer

Hi @JPalas ,

 

I am not 100% sure what you are doing but if you want to count time you could use the system bit %S6 + Rise trigger to count the time in seconds of an event that is happening (in my example how many seconds a motor is activated) you will need to add a operation block that adds 1 to a %MW or %MD variable:

 

 

IMAGE001.PNG

 

If you want to count minutes then an additional comparison must be done to reset the second and add 1 to a variable that stores the minutes.

 

Let us know if you need any further information.

 

Best Regards

 

Letomas

Tags (1)
JPalas
Crewman
Crewman
0 Likes
2
1150

Re: Schneider PLC Counter plus Timer

Hi

 

Thank you for the answer.

I can see now that my post wasn't clear.

 

I am programing a m221 for a self service car wash, everytime someone inserts a coin in a coin validator (contact) I need it to add a block of time to a timer to prolong the user service time. 

 

I can easily add the timer but need to add time (66seg blocks).

 

Thank you

Tags (1)
LeTomas
Lieutenant Lieutenant
Lieutenant
0 Likes
1
1138

Re: Schneider PLC Counter plus Timer

Hi @JPalas ,

 

I believe you can do something similar to this:

 

Image002.PNG

 

Best regards,

 

Letomas

Tags (1)
JPalas
Crewman
Crewman
0 Likes
0
1038

Re: Schneider PLC Counter plus Timer

Late thank you, sorry.

 

It worked great, thank you so much

 

Tags (1)