Delta — 4.6.22. TONR_s

4. Motion Control Instructions 4.6.22. TONR_s TONR_s is a retentive on-delay timer with 1s as the timing unit. Explanation of the instruction: When EN is on and IN is on, the current value ET of the timer starts timing; 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:

DVP-MC operating manual 4-125 API Retentive on-delay timer Controller TONR s 149 _ 10MC11T Parameter Data Available Explanation name type device EN The execution condition of this instruction. “TONR s” 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