Function Code Fc4 (Read Input Registers); Table 100: Request Of Function Code Fc4; Table 101: Response Of Function Code Fc4; Table 102: Exception Of Function Code Fc4 - WAGO -I/O-SYSTEM 750 Manual

Hide thumbs Also See for WAGO-I/O-SYSTEM 750:
Table of Contents

Advertisement

234 Fieldbus Communication
12.2.3.4

Function Code FC4 (Read Input Registers)

This function reads contents of input registers from the slave device in word
format.
Request
The request specifies a reference number (start register) and the word count
(register quantity) of the registers to be read. The reference number of the
request is zero based, therefore, the first register starts at address 0.
Example: Read registers 0 and 1

Table 100: Request of Function Code FC4

Byte
Byte 0, 1
Byte 2, 3
Byte 4, 5
Byte 6
Byte 7
Byte 8, 9
Byte 10, 11
Response
The register data of the response is packed as 2 bytes per register. The first byte
has the higher value bits, the second the lower values.

Table 101: Response of Function Code FC4

Byte
...
Byte 7
Byte 8
Byte 9, 10
Byte 11, 12
The contents of register 0 are shown by the value 0x1234 and the contents of
register 1 is 0x2345.
Exception

Table 102: Exception of Function Code FC4

Byte
...
Byte 7
Byte 8
Manual
1.5.0
750-882 Media Redundancy ETHERNET Controller
Field name
Transaction identifier
Protocol identifier
Length field
Unit identifier
MODBUS function code
Reference number
Word count
Field name
MODBUS function code
Byte count
Value register 0
Value register 1
Field name
MODBUS function code
Exception code
WAGO-I/O-SYSTEM 750
Example
0x0000
0x0000
0x0006
0x01 not used
0x04
0x0000
0x0002
Example
0x04
0x04
0x1234
0x2345
Example
0x84
0x01 or 0x02

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-882

Table of Contents