Page 36 of 56
King Pigeon Hi-Tech. Co., Ltd.
Ver 2.3
Industrial Ethernet Remote I/O Module
IoT Data Acquisition Module
8.1.5 Mapping Register----Transit BIT Register Address
(Function Code 1: Read Coil, Function Code 5: Write Single Coil, Function Code 15: Write multi Coils.)
Transit BIT Register Address (Function Code 1, Function Code 5, Function Code 15.)
Transit BIT Register Address
Data Type
Description
100~399
1Bit
The BIT type mapping registers in the internal memory
of the module. Used to store the serial port slave and
TCP Client exchange data.
Notice
Cannot Read and write the same address.
8.1.6 Mapping Register----Transit 16-Bit Register Address
(Function Code 3: Read Holding Register, Function Code 6: Write single Holding Register, Function Code 16: Write
multi Holding Registers)
Transit 16-Bit Register Address(Function Code 3:, Function Code 6, Function Code 16)
Transit 16-Bit Register Address
Data Type
Description
100~399
16 Bit
The 16-Bit type mapping registers in the internal
memory of the module. Used to store the serial port
slave and TCP Client exchange data.
Notice
Cannot read and write the same address.
8.2Example of reading and writing registers
For example
:
MXXXT device 485 is used as a slave, we can use other host software or host device to read (or
write commands) the value of the data point of the local device. Moreover, the network port of the device can also
be used as a master, adding other slaves to the mapping register through the Modbus TCP protocol.
8.2.1
Read the input coil of this device
Master Send Data Format:
Content
Bytes
Data
(H: HEX)
Description
Device Address
1
01H
01H Device, Range: 1-247, according to setting address
Function Code
1
01H
Read input coil, function code 01
Register starting
Address
2
00 00H
Initial address