Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 249

Table of Contents

Advertisement

The subroutine above is equivalent to the 400 instructions below
2000.00
T0000
2000.01
T0001
2006.02
T0099
Timer reset method
There are three methods for resetting a timer instruction.
1. Use the TIMER RESET Instruction.
The specified instruction will be reset when the TIMER RESET instruction (TRSET) is executed.
TRSET can be used to reset only one timer at a time, but it is faster than the RESET TIMER/COUNTER
instruction (CNR/CNRX).
Use TRSET when a timer is to be reset and then restarted within the same cycle.
0.00
TRSET
0.01
TIM
ON
Reset input
CIO 0.00
OFF
ON
Timer input
CIO 0.01
OFF
Timer PV
T0010
ON
Completion
Flag
OFF
T0010
CS/CJ/NSJ Series Instructions Reference Manual (W474)
TIM
0000
D100
2000.00
TIM
0001
D101
2000.01
TIM
0099
D199
2006.02
TIM will be reset and start timing
again when CIO 0.00 turns ON.
0010
0010
#100
TRSET executed.
TRSET resets T10, which
starts timing again.
The timer is also reset
when it times out.
3. Instructions
3
213

Advertisement

Table of Contents
loading

Table of Contents