EasyManua.ls Logo

WAGO 750-882 - Table 117: Exception of Function Code FC16; Function Code FC16 (Write Multiple Registers); Table 116: Response of Function Code FC16; Table 115: Request of Function Code FC16

WAGO 750-882
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
240 Fieldbus Communication WAGO-I/O-SYSTEM 750
750-882 Media Redundancy ETHERNET Controller
Manual
1.5.0
12.2.3.9 Function Code FC16 (Write Multiple Registers)
This function writes a sequence of registers in a slave device in word format.
Request
The Request specifies the reference number (starting register), the word count
(number of registers to write), and the register data . The data is sent as 2 bytes
per register. The registers are zero-based; therefore, the first output is at address
0.
Example: Set data in registers 0 and 1
Table 115: Request of Function Code FC16
Byte
Field name
Example
Byte 0, 1
Transaction identifier
0x0000
Byte 2, 3
Protocol identifier
0x0000
Byte 4, 5
Length field
0x000B
Byte 6
Unit identifier
0x01 not used
Byte 7
MODBUS function code
0x10
Byte 8, 9
Reference number
0x0000
Byte 10, 11
Word count
0x0002
Byte 12
Byte count
0x04
Byte 13, 14
Register value 1
0x1234
Byte 15, 16
Register value 2
0x2345
Response
Table 116: Response of Function Code FC16
Byte
Field name
Example
...
Byte 7
MODBUS function code
0x10
Byte 8, 9
Reference number
0x0000
Byte 10, 11
Word count
0x0002
Exception
Table 117: Exception of Function Code FC16
Byte
Field name
Example
...
Byte 7
MODBUS function code
0x85
Byte 8
Exception code
0x01 or 0x02

Table of Contents

Other manuals for WAGO 750-882

Related product manuals