Function 0X42 - Write Module Setting - Protech Systems SI-W509 User Manual

5 channels digital input and 6 channels relay output remote i/o module
Table of Contents

Advertisement

4.2.6 Function 0x42 – Write Module Setting
This function code is used to write SI-W509 module setting.
Request
Offset
00
Slave ID address
01
Function Code
02 ~ 03
Address of Holding
Register
04 ~ 05
Data Packet
06 ~ 07
CRC
Response
Offset
00
Slave ID address
01
Function Code
02
Byte Count
03
Readback Data
04 ~ 05
CRC
Error Response
Offset
00
Slave ID address
01
Function Code
02
Data
03 ~ 04
CRC
SI-W509 SERIES USER MANUAL
Description
Description
Description
Chapter 4 MODBUS RTU Protocol
Counts
1 Byte
1 to 255
1 Byte
0x42
2 Bytes
0x0020: Baud Rate Setting
0x0030: Device ID
2 Bytes
Refer to Section 4.3 Address
Mapping.
2 Bytes
Produced by utility.
Counts
1 Byte
1 to 255
1 Byte
0x42
1 Byte
0x01
Refer to Section 4.3 Address
1 Bytes
Mapping.
2 Bytes
Produced by firmware
Counts
1 Byte
1 to 255
1 Byte
0xC2
1 Byte
0xCD: No Function
2 Bytes
Produced by firmware.
Data
Data
Data
Page: 4-13

Advertisement

Table of Contents
loading

Table of Contents