Are timers blocking or non blocking in the plc ?
all the best
Sean
Timers in PLC
Moderator: cnckeith
-
- Posts: 28
- Joined: Mon Nov 09, 2020 6:43 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: oc1c5708fb62-01224202901
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Timers in PLC
I am not sure quite what you mean by that.
If you are asking whether the rest of the PLC logic continues to run while a timer is running, yes it does.
The PLC interpreter just updates the accumulated value of every running timer as part of its housekeeping at the start of every scan. Then all the usual PLC logic is scanned, and any active timer bit whose accumulated value has reached or exceeded its preset evaluates as "true".
If you are asking whether the rest of the PLC logic continues to run while a timer is running, yes it does.
The PLC interpreter just updates the accumulated value of every running timer as part of its housekeeping at the start of every scan. Then all the usual PLC logic is scanned, and any active timer bit whose accumulated value has reached or exceeded its preset evaluates as "true".
-
- Posts: 28
- Joined: Mon Nov 09, 2020 6:43 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: oc1c5708fb62-01224202901
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Timers in PLC
Thanks CNCNW
I am most familiar with Arduino programming....as you surmised i was curious if timers stopped the pass. "blocking"
while i have read the manual I had either not retained the info or just didnt see it the first go i thought id ask here. Reviewing the manual right now....lol
all the best
Sean
I am most familiar with Arduino programming....as you surmised i was curious if timers stopped the pass. "blocking"
while i have read the manual I had either not retained the info or just didnt see it the first go i thought id ask here. Reviewing the manual right now....lol
all the best
Sean