beautypg.com

Advantech 5000 Series User Manual

Page 296

background image

Appendix

G

Appendix G ADAM-5000 I/O Modbus Mapping Table G- 3

G.2 Modbus Commands for 5000 Series

Set COM port
config.

#aaOUrff(cr)
>aa(cr)
OU: cmd. name
r: reserved(any value)
ff:
Bit 1, 0 (Stop Bits)
00: 1 Stop Bits
01: 1.5 Stop Bits
10: 2 Stop Bits
Bit 4, 3, 2 (Data Bits)
000: 5
001: 6
010: 7
011: 8
Bit 7, 6, 5 (Parity)
000: None
001: Even
010: Odd

Read COM port
config.

$aaOU(cr)
>aarff(cr)

Read Modbus
slot address
setting

$aaPNssFF(cr)
>aaxxxxy (cr)
PN: command name
ss: slot
xxxx: modbus start address
(0x0001~0x2710=>1~10000) or
(0x2711~0x4E20=>10001~20000) or
(0x7531~0x9C40=>30001~40000) or
(0x9C41~0xC350=>40001~50000)
y: Length Index

Idx Len

0 0
1 1
2 2
3 4
4 8

5 16

6 32
7 64