Mitsubishi Electric MELSEC iQ-F FX5 User Manual page 36

Modbus communication
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

(s2): Function
(s3): MODBUS address
code
Applicable device:  (Refer to the following
applicable devices.)
0FH
MODBUS address:
Write multiple
0000H to FFFFH
coils
10H
MODBUS address:
Write multiple
0000H to FFFFH
holding registers
*1 Fractions are rounded off.
*2 When the least significant bit is 0, the bit is off. When the least significant bit is 1, the bit is on.
 Applicable device table
No.
Applicable device
T, ST, C, D, R, W, SW, SD, label device
T, ST, C, D, R, W, SW, SD, label device, K, H
X, Y, M, L, B, F, SB, S, SM, label device
■Communication execution status output device
The following shows the timing of operation of the communication execution status output device (d2) according to each
communication status, and the special relays which operate at the same time.
Operand
Timing of operation
(d2)
Turns on while the instruction is executed and
turns off in the status other than while the
instruction is executed.
*2
(d2) + 1
Turns on when the instruction is completed
normally and turns off when the instruction is
started.
*2
(d2) + 2
Turns on when the instruction is completed
with an error and turns off when the instruction
is started.
*1 SM8401 (CH1) or SM8421 (CH2) turn on, when SM/SD for FX3 compatible is set.
*2 (d2) + 1 turns on when the instruction is completed normally and (d2) + 2 turns on when the instruction is completed with an error, so
that whether the instruction is completed normally or with an error can be judged.
Precautions
• The channel which uses the ADPRW instruction must be set to the master station by the GX Works3. (Page 27 Fixed
Setting) When it is not set, the device does not operate even though the ADPRW instruction is executed. (Also no error
occurs.)
• If the program stops due to error, the device value is turned off if a non-latch device is designated as the communication
execution status output device. Specify a latch device to keep the communication state output.
7 FUNCTION
34
7.1 Master Function
(s4): Device count
(s5)/(d1): Start device storing data
Device count:
Start device storing write data
1 to 1968
Applicable device
Occupied points
Device count:
Start device storing write data
1 to 123
Applicable device
Occupied points
Special relay which operates at the same time
SM8800 (CH1), SM8810 (CH2), SM8820 (CH3), SM8830 (CH4)
SM8029
SM8029
Word device
 (Refer to the following table of the applicable devices.)
Bit device
 (Refer to the following table of the applicable devices.)
Word device
*1
((s4) + 15)  16 points
Bit device
(s4) points
 (Refer to the following table of the applicable devices.)
(s4) points
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents