7: BASIC INSTRUCTIONS
7-14 USER’S MANUAL
TIM, TMH, and TMS (Timer)
Three types of timers are available; 100-msec timedown timer TIM, 10-msec timedown timer TMH, and 1-msec timedown
timer TMS. A total of 32 timers and counters can be programmed in the standard processing mode. Each timer must be
allocated to a unique number 0 through 31, and the same number cannot be used for counters. In the high-speed processing
mode, timer numbers 0 through 15 are available.
The preset value can be 0 through 9999 and designated using a decimal constant or data register. Although a data register
can hold a value up to 65535, a timer preset value can be 0 through 9999. If the data register designated as a timer preset
value holds a value over 9999, a user program execution error will result, then error indicator ERR1 is lit and special inter-
nal relay M304 turns on. Data registers D0 through D99 are available in the standard processing mode and D0 through
D31 in the high-speed processing mode.
TIM (100-msec Timer)
TMH (10-msec Timer)
Timer Allocation Number Range Increments Preset Value
TIM (100-msec timer) TIM0 to TIM31 0 to 999.9 sec 100 msec
Constant: 0 to 9999
Data registers:
D0 to D99 (standard mode)
D0 to D31 (high-speed mode)
TMH (10-msec timer) TMH0 to TMH31 0 to 99.99 sec 10 msec
TMS (1-msec timer) TMS0 to TMS31 0 to 9.999 sec 1 msec
I1
I0
T0
Ladder Diagram (TIM)
Key Operation
LOD
10
SET
I
0
OUT
16
RST
F
Q
Prgm Adrs Instruction Data
0
1
3
4
5
LOD
TIM
LOD
AND
OUT
I0
0
100
I1
T0
Q0
Program List
I0
ON
OFF
T0
ON
OFF
I1
ON
OFF
Q0
ON
OFF
Timing Chart
LOD
10
SET
I
0
AND
D
T0
100
Q0
TIM
T
0
1
BPS
0 0
LOD
10
1
BPS
TIM
T
0
10 sec
Note: To enter a decimal
constant as a preset value,
press the LOD/10 key, fol-
lowed by the preset value.
I3
I2
T1
Ladder Diagram (TMH)
Key Operation
LOD
10
SET
I
OUT
16
RST
F
Q
Prgm Adrs Instruction Data
0
1
3
4
5
LOD
TMH
LOD
AND
OUT
I2
1
100
I3
T1
Q1
Program List
I2
ON
OFF
T1
ON
OFF
I3
ON
OFF
Q1
ON
OFF
Timing Chart
LOD
10
SET
I
AND
D
TH1
100
Q1
TIM
T
1
BPS
0
LOD
10
1
BPS
TIM
T
1 sec
3
BPP
2
BRD
TIM
T
1
BPS
1
BPS
0
Note: To enter a decimal
constant as a preset value,
press the LOD/10 key, fol-
lowed by the preset value.
Pressing the TIM key on the program loader programs the
TIM, TMH, or TMS instruction alternately.