Count with step at each Tsec pulse from start to stop.
When RST pulse is received counting start (again).
When IDX reach
MAX ((STOP-START)/STEP) counting is ended and END pulse transmit.
counter(start-stop-tsec)
@/counter(start-stop-tsec)
Count with step at each Tsec pulse from start to stop.
When RST pulse is received counting start (again).
When IDX reach
MAX ((STOP-START)/STEP) counting is ended and END pulse transmit.
ENboolean
Is the clock enabled, i.e. produces ticks? At the moment when set to true, starts counting from scratch.
STEPnumber
Value to increment or decrement on each INC. Step is absolute. If (Stop > Start) then increment. If (Stop < Start) then decrement.
STARTnumber
Start Value to count.
STOPnumber
Stop Value to count.
Tsecnumber
Tick interval in second.
RSTpulse
Resets the counting value to start.
ENDpulse
Fires on IDX reach MAX.
TICKpulse
Fires on each for-count.
IDXnumber
The counting index value.
SUMnumber
The counting value.
To use the node in your project you should have the koadrobot/logic 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.