Industry Online Support
Technical Forum
10/2/2013 9:41 AM | |
Joined: 4/22/2010 Last visit: 12/15/2022 Posts: 5697 Rating:
|
Hello, You can use mathematical instructions to add or substract 1 to/from a DINT. To reset load 0 to the count value. To prevent to count below 0 use a compare funtion. To have the counter retained use a variable in the retenvive area. I have a step7 example attached as a guide(no TIA on this laptop). Regards, Marcjan AttachmentFB5.pdf (185 Downloads) |
Problem solved? |
|
Follow us on