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

8 channels digital input and 8 channels digital output i/o module
Table of Contents

Advertisement

4.2.6 Function 0x42 – Write Module Setting
This function code is used to write SI-W309 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
03
Readback Data
04 ~ 05
Error Response
Offset
00
Slave ID address
01
Function Code
02
03 ~ 04
SI-W309 SERIES USER MANUAL
Description
Description
Byte Count
CRC
Description
Data
CRC
Chapter 4 MODBUS RTU Protocol
Counts
1 Byte
1 to 255
1 Byte
0x42
2 Bytes
0x0020: Baud Rate Setting
0x0030: Device ID
Refer to Section 4.3 Address
2 Bytes
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-12

Advertisement

Table of Contents
loading

Table of Contents