Function 0X41 - Read 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.5 Function 0x41 – Read Module Setting
This function code is used to read SI-W309 module setting.
Request
Offset
00
Slave ID address
01
02 ~ 03
Address of Holding
04 ~ 05
Response-1
The channel address is 0x0000.
Offset
00
Slave ID address
01
Function Code
02
Byte Count
03 ~ 0D
Readback Data
0E ~ 0F
CRC
Response-2
The channel address is 0x0010.
Offset
00
Slave ID address
01
Function Code
02
Byte Count
03 ~06
Readback Data
07 ~ 08
CRC
Response-3
The channel address is 0x0020.
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-W309 SERIES USER MANUAL
Description
Function Code
Register
CRC
Description
Description
Description
Description
Chapter 4 MODBUS RTU Protocol
Counts
1 Byte
1 to 255
1 Byte
0x41
2 Bytes
0x0000: Firmware Version
0x0010: Module Name
0x0020: Baud Rate Setting
2 Bytes
Produced by utility.
Counts
1 Byte
1 to 255
1 Byte
0x41
1 Byte
0x0B: Firmware Version
13Bytes
The responded data for the CMD
2 Bytes
Produced by firmware.
Counts
1 Byte
1 to 255
1 Byte
0x41
1 Byte
0x04: Module Name
4 Bytes
The responded data for the CMD
2 Bytes
Produced by firmware.
Counts
1 Byte
1 to 255
1 Byte
0x41
1 Byte
0x01: Baud Rate setting
1 Bytes
The responded data for the CMD
2 Bytes
Produced by firmware.
Counts
1 Byte
1 to 255
1 Byte
0xC1
1 Byte
0xCD: No Function
2 Bytes
Produced by firmware.
Data
Data
Data
Data
Data
Page: 4-11

Advertisement

Table of Contents
loading

Table of Contents