51
9060-M Modbus mapping:
General
Protocol of Module
00257
R
/
W
0x00
(
0x0000
): ASCII command,
0x01
(
0xFF00
): ModbusRTU
new protocol is effective after module reboot.
Module name
40483~40484
R
0x0090 0x6000
Module address
40485
R/W
0x0000~0x00F7(1~247)
new address is effective after module reboot.
Module baudrate
40486
R/W
0x0003~0x000A (the table please check the user manual)
new baudrate is effective after module reboot.
DIO function
DO channel
00001~00004
R
/
W
0x00
(
0x0000
): off,
0x01
(
0xFF00
): on
DI channel
00033~00036
10001~10004
R
0x00: level low, 0x01: level high
DI latch high value
00065~00068
R
0x00: level never high, 0x01: level already high
DI latch low value
00097~00100
R
0x00: level never low, 0x01: level already low
Clear the latch value
00264
W
0xFF00
DI channel’s counter
30001~30004
R
0x0000~0xFFFF
Clear DI channel’s counter
00513~00516
W
0xFF00
DI count edge
02251
R
/
W
0x00
(
0x0000
): falling edge,
0x01
(
0xFF00
): rising edge
DO channel’s safe value
00129~00132
R
/
W
0x00
(
0x0000
): not set,
0x01
(
0xFF00
): set on to safe value
The DO status will be change after change the safe value
DO
channel’s power-on value
00161~00164
R
/
W
0x00
(
0x0000
): not set,
0x01
(
0xFF00
): set on to power-on value
The DO status will be change after change the power-on value
WDT
Informs module host is OK
312345
412345
R No
response
WDT timeout value
40489
R/W 0x0000~0x00FF, 0~255 in 0.1 second
WDT enable/disable
00261
R
/
W
0x00
(
0x0000
):disable,
0x01
(
0xFF00
):enable
WDT timeout status
00270
R
/
W
0x00
: not timeout,
0x01
:WDT timeout
(write
0xFF00
to clear WDT timeout status)
Sub-function (0x46)
Module name
AA 46 00
R
01 46 00
00 90 60 00
Set module’s address
AA 46 04 NN 00 00 00
W
NN: new address, 01~F7(1~247)
new address is effective after module reboot.