X8 Instruction Set Reference Manual
Timer and Counter Instructions
8
-
5
TON - Timer, On-Delay
Instruction Type: output
Use the TON instruction to delay turning on an output.
The TON instruction begins to count time base intervals when rung
conditions become true. As long as rung conditions remain true, the timer
increments its accumulator until the preset value is reached. When the
accumulator equals the preset, timing stops.
The accumulator is reset (0) when rung conditions go false, regardless of
whether the timer has timed out.
TON timers are reset on power cycles and mode changes.
TOF - Timer, Off-Delay
Instruction Type: output
Use the TOF instruction to delay turning off an output.
The TOF instruction begins to count time base intervals when rung
conditions become false. As long as rung conditions remain false, the timer
increments its accumulator until the preset value is reached.
The accumulator is reset (0) when rung conditions go true, regardless of
whether the timer is timed out. TOF timers are reset on power cycles and
mode changes.
Note that, all status such as status flags are opposed to the TON instruction.
Foll
o
woing figures shows the timer status from begin to done.
• If the rung condition is true, the TOF timer is not operate. Enable and Done
bits are configured different from the TON timer.
TON
EN
ENO
Timer
TM9.0 -
BASE
0.01-
PRE
10 <
ACC > 0
Enable
Done
TOF
EN
ENO
Timer
TM9.1 -
BASE
1.0 -
PRE
2 <
ACC - 0
Enable
Done
Summary of Contents for X8 Series
Page 1: ...Catalog Number s X8 M14DDT X8 M16DDR X8 M32DDT X8 Instruction Manual Reference Manual ...
Page 16: ......
Page 64: ...X8 Instruction Set Reference Manual 2 12 X8 Series PLC Memory and Data Table ...
Page 166: ...X8 Instruction Set Reference Manual 7 8 Relay Type Bit Instructions ...
Page 180: ...X8 Instruction Set Reference Manual 8 14 Timer and Counter Instructions ...
Page 205: ...X8 Instruction Set Reference Manual Math Instructions 10 17 ...
Page 206: ...X8 Instruction Set Reference Manual 10 18 Math Instructions ...
Page 212: ...X8 Instruction Set Reference Manual 11 6 Converion Instructions ...
Page 218: ...X8 Instruction Set Reference Manual 12 6 Logical Instructions ...
Page 236: ...X8 Instruction Set Reference Manual 15 8 Shift and FIFO LIFO Instructions ...
Page 242: ...X8 Instruction Set Reference Manual 16 6 Sequencing Instructions ...
Page 252: ...X8 Instruction Set Reference Manual 18 4 Input and Output Instructions ...
Page 280: ...X8 Instruction Set Reference Manual 20 12 PID Control ...
Page 296: ...X8 Instruction Set Reference Manual 21 16 ASCII Instructions ...
Page 308: ...X8 Instruction Set Reference Manual 22 12 Communications Instructions ...
Page 312: ...Appendix A 4 System Error Code ...
Page 313: ...Appendix B MSG Instruction Error Code MSG Instruction Error Code ...
Page 322: ...Appendix B 10 MSG Instruction Error Code ...
Page 325: ...ASCII Character Set Appendix C 3 ...
Page 326: ...Publication number X8 RM001A EN September 2012 ...
Page 327: ...Copyright 2012 RS Automation Co Ltd All rights reserved ...