![SZComark MG3012 Скачать руководство пользователя страница 35](http://html1.mh-extra.com/html/szcomark/mg3012/mg3012_user-manual_1423866035.webp)
ShenZhen Comark Technology Co.,Ltd.
Serial Server and Gateway User Manual
Page 35
Value
Value Range
Description
Serial NO.
1~2
Select the serial number you want to set.
Enable
Enable, Disable
Set up the mappings' enabling and disabling. When the disable
function is selected, the current mapping table item will be
deactivated, and the modbus will communicate with the
non-mapped function in this state.
Data type
READ COIL
STATUS, INPUT
STATUS, HOLDING
REGISTER, INPUT
REGISTER
Function codes descriptions: READ COIL STATUS for
COIL(0x01), INPUT STATUS for Discrete Input(0x02),
HOLDING REGISTER for Holding Registers(0x03), INPUT
REGISTER for Input Registers(0x04)
Size
1~65535
Sets the Size for the max quantity of TCP Address and
Address.The sum of Size and TCP Address, or the sum of Size
and Address, should be less than 65535.
TCP Slave ID
1~247
Sets the TCP Slave ID for Modbus Master ID.
TCP Address
0~65535
Sets the TCP Address for starting address of Modbus Master
Code. The sum of Size and TCP Address, or the sum of Size and
Address, should be less than 65535.
Slave ID
1~247
Sets the TCP Slave ID for Modbus Slave ID.
Address
0~65535
Sets the Address for starting address of Modbus Slave Code. The
sum of Size and TCP Address, or the sum of Size and Address,
should be less than 65535.
2.4.2 Mapping Application
The mapping function is used to solve the problem that the modbus master station ID and the address are not
the same as the modbus slave station ID and address, and can also realize the normal communication between the
master station and the slave station.
。
Configuring the mapping parameter is shown in the following illustration:
As shown above, configure the read coil with a master station ID of 1, a starting address of 10 to 110, and a
map to a slave station ID of 100 and a starting address of 100 to 200.
【
Delete
】
If you need to delete the mapping entry, you can choose to click "Delete".