Mitsubishi Electric MELSEC FX3U Programming Manual page 194

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

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
192
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
List program
set by a data register (D) or extension data
register (R). At this time, the current value
0000
LD
X000
of the data register (D) or extension
0001
OUT
T10
(SP)
D10
register (R) is regarded as the set value of
0004
LDI
X001
the timer or counter.
0005
OUT
T11
It is necessary to write in advance the set
(SP)
R15
0008
OUT
C10
value to a data register (D) or extension
(SP)
D20
register (R) used for the set value by MOV
instruction, DSW 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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents