Mitsubishi FX3G Series Programming Manual page 183

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
*1
3. Indexing
Devices used in OUT instruction can be indexed with index registers (V and Z).
(State relays (S), special auxiliary relays (M), 32-bit counters (C), and "D .b" cannot be indexed.)
Circuit program
X000
*1.
This function is supported only in FX
4. Bit specification of data register (D)
A bit in data register (D) can be specified as a device used in OUT instruction.
Circuit program
X000
*1.
This function is supported only in FX
Caution
• When a special internal relay (M), timer or counter is used, program steps increase as described in "Setting range
of timers and counters" on the previous page.
• Do not use the last bit number of a data register (D) or extension register (R) as the set value of a 32-bit counter.
Errors
• When an I/O number used in OUT instruction does not exist due to indexing, M8316 (Non-existing I/O specification
error) turns ON.
• When the device number of a device (M, T or C) other than I/O used in OUT instruction does not exist due to
indexing, an operation error (error code: 6706) occurs.
Series
List program
0000
0001
Y000Z0
/FX
3U
*1
List program
0000
0001
D0.3
/FX
3U
The index registers V0 to V7 and Z0 to Z7 are
available for indexing.
When a used device is an input (X) or output (Y),
the value of an index register (V or Z) is
LD
X000
converted into an octal number, and then added.
OUT
Y000Z0
Example: When the value of Z0 is "20", Y024
PLCs.
3UC
When specifying a bit in data register, input "."
after a data register (D) number, and then input a
bit number (0 to F) consecutively.
Only 16-bit data registers are available.
LD
X000
Specify a bit number as "0, 1, 2, ... 9, A, B, ... F"
OUT
D0.3
from the least significant bit.
Example: In the example shown on the left, the
PLCs.
3UC
7 Basic Instruction
turns ON or OFF.
bit 3 of D0 turns ON or OFF when X000
turns ON or OFF.
7.2 OUT
1
2
3
4
5
6
7
8
9
10
181

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents