3. Instruction Set
3-263
API Mnemonic Operands Function
96
TMR
Timer
Controllers
ES2/EX2 SS2 SA2
SE
SX2
Bit Devices Word devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S
1
*
S
2
* *
TMR: 5 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S
1
: No. of timer (T0~T255) S
2
: Set value (K0~K32,767, D0~D9,999)
Explanations:
When TMR instruction is executed, the specific coil of timer is ON and the timer is enabled. When
the set value of timer is achieved, the associated NO/NC contact will be driven.
Program example:
Ladder Diagram:
X0
T5TMR
K1000
Instruction Code: Operation:
LD X0 ; Load NO contact X0
TMR T5 K1000 ; T5 timer setting is K1000