Delta — 4.6.25. TONR_ms

4. Motion Control Instructions 4.6.25. TONR_ms Explanation of the instruction: When EN is on and IN is on, the current value ET of the timer starts timing; TONR_ms is a retentive on-delay timer with 1ms as the timing unit. When IN is off, the current value ET is maintained. When IN turns on once again, the timing is continued based on the maintained value ET and the output TONR will be on when ET is greater than or equal to the preset value PT. After ET reaches PT value, the timing will not be stopped till ET reaches maximum 4294967295. When EN is off, the current value ET of the timer is cleared as 0 and the output bit is reset. Explanation of input and output parameter of the instruction:

Note: For the sequence chart of TONR_ms, please refer to the program example of TONR_s. DVP-MC operating manual 4-129 API Retentive on-delay timer Controller TONR ms 152 _ 10MC11T Parameter Data Available Explanation name type device EN The execution condition of this instruction. “TONR ms” instruction is executed as “EN” turns on; the _ output “TON” is reset and the current value “ET” is cleared as 0 as “EN” turns off. BOOL M,I,Q, constant IN As “IN” is on, the timer starts timing; as “IN” is off, the current value “ET” is maintained. BOOL M,I,Q, constant PT Preset value of the timer UDINT Constant,D TONR The current value “ET” is greater than or equal to the prest value PT, “TONR” is on.

BOOL M,Q ET The current value of the timer. UDINT D