Timers in PLC

All things ecat Hickory CNC controller

Moderator: cnckeith

Post Reply
SpacedmanSpiff
Posts: 26
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

Timers in PLC

Post by SpacedmanSpiff »

Are timers blocking or non blocking in the plc ?

all the best
Sean
cncsnw
Posts: 3869
Joined: Wed Mar 24, 2010 5:48 pm

Re: Timers in PLC

Post by cncsnw »

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".
SpacedmanSpiff
Posts: 26
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

Post by SpacedmanSpiff »

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
Post Reply