EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #684 background imageLoading...
Page #684 background image
682
13 MODBUS COMMUNICATION INSTRUCTION
13.1 MODBUS Read/Write
13 MODBUS COMMUNICATION INSTRUCTION
13.1 MODBUS Read/Write
ADPRW
This instruction allows the MODBUS Master to communicate (read/write data) with the Slaves.
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 T, ST, C cannot be used.
Processing details
Function code (s2) is operated on Slave node address (s1) according to Parameters (s3), (s4), and (s5)/(d1). Use 0 as the
Slave Node Address for Broadcast commands. For details, refer to MODBUS communication manual.
The communication execution status (d2) is output according to the status of the ADPRW instruction such as
communicating/completed normally/completed with an error.
Precautions
Three devices are occupied from the device specified in (d2). Make sure that these devices are not used in other controls.
Ladder diagram Structured text
ENO:=ADPRW(EN,s1,s2,s3,s4,s5d1,d2);
Operand Description Range Data type Data type (label)
(s1) Slave node address 0 to 20H 16-bit signed binary ANY16
(s2) Function code 01H to 06H, 0FH, 10H 16-bit signed binary ANY16
(s3) Function parameters depending on the function code 0 to FFFFH 16-bit signed binary ANY16
(s4) Function parameters depending on the function code 1 to 2000 16-bit signed binary ANY16
(s5)/(d1) Function parameters depending on the function code Bit/16-bit signed binary ANY_ELEMENTARY
(d2) Head bit device number to which the execution status of
the communication is output
Bit ANY_BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1) 
*1

(s2) 
*1

(s3) 
*1

(s4) 
*1

(s5)/(d1) 
*1

(d2) 
*1

(s1) (s2) (s3) (s4) (s5)/(d1) (d2)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals