Counter Down
Decrements down to zero from a given value PV and resets itself after reaching PV.
Current count is transferrd to CV.
Clock frequency can be set via FR.
Counter only decrements while EN is 'true' and PV is greater than zero.
ctd
@/ctd
Counter Down
Decrements down to zero from a given value PV and resets itself after reaching PV.
Current count is transferrd to CV.
Clock frequency can be set via FR.
Counter only decrements while EN is 'true' and PV is greater than zero.
CDboolean
Boolean Input - needs to be set TRUE for counting down
IVALnumber
Tick interval in seconds.
frequency for counting - standard value 1Hz
Rpulse
Reset - resets the counter
PVnumber
Number of pulses to be counted. Resets counter when reached
Needs to be greater than zero.
TICKpulse
Pulse per decrementation
Qboolean
Output - is set true after counter reached PV
DONEpulse
Pulse when done
CVnumber
Counter Value - current count
To use the node in your project you should have the tobias/plc library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.