FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Timing chart
OUT instruction
OUT instruction
OUT instruction
2. When a timer or counter is used
The set value is required after OUT instruction for the counting coil of a timer or counter.
The set value can be specified directly by a decimal number (K) or indirectly using a data register (D) or extension
register (R).
1)
Direct specification
Circuit program
X000
X001
2)
Indirect specification
Circuit program
X000
X001
3)
Setting range of timers and counters
The table below shows the set value range of timers and counters, the actual timer constants and the number of
program steps (including the set value) for OUT instruction.
Timer/counter
1 ms timer
10 ms timer
100 ms timer
16-bit counter
32-bit counter
184
ON
X000
ON
Y000
ON
X001
M100
M101
K30
T0
K30
T1
K50
C0
D10
T10
R15
T11
D20
C10
Setting range
(Value of K or current value of D or R)
1 to 32767
1 to 32767
1 to 32767
−2,147,483,648 to +2,147,483,647
ON
ON
ON
ON
ON
The set value of a timer or counter can be
List program
specified directly by a decimal number (K).
0000
LD
X000
0001
OUT
T0
(SP)
K30
0004
LDI
X001
0005
OUT
T1
(SP)
K30
0008
OUT
C0
(SP)
K50
The set value of a timer or counter can be set
List program
by a data register (D) or extension data
register (R). At this time, the current value of
0000
LD
X000
the data register (D) or extension register (R)
0001
OUT
T10
is regarded as the set value of the timer or
(SP)
D10
0004
LDI
X001
counter.
0005
OUT
T11
It is necessary to write the set value to a data
(SP)
R15
register (D) or extension register (R) used for
0008
OUT
C10
the set value by MOV instruction, DSW
(SP)
D20
instruction or display unit before driving the
timer or counter.
7 Basic Instruction
Actual set value
Number of steps
0.001 to 32.767 sec
0.01 to 327.67 sec
0.1 to 3276.7 sec
Same as left
Same as left
7.2 OUT
3
3
3
5