xLadder user manual-V2.0.0.6

6.16.2 TONR

Input/output Operand

Data type

Constant(T0 — T255)

Txxx

word

IN

Enable bit

Boolean

PT

VW, IW, QW, MW, SW, SMW, LW, AIW, T, C, AC,constant, *VD, *LD, *AC Integer

TONR: When the value of the input “ IN ” is equal to 1,

timer starts time.Timer current value of Txxx is the current

time (a multiple of the time base).When the current value

of the timer is equal to the preset time (PT), the value of

the timer bit is 1.When the value of the input “ IN ” is equal

to 0, If the current value of the timer is less than the

preset value , timer current value is retained.Otherwise, the current value of the

timer is cleared.

Notes :

You can use TONR to accumulate multiple time intervals.

You can use the "recovery" (R) instruction to recover any timer.

You can only use the "recovery" instruction to recovery the TONR timer.

Example:

200

Made with FlippingBook - Online magazine maker