Appendix G

G.2 Modbus Commands for 5000 Series

Set COM port

#aaOUrff(cr)

 

 

 

config.

>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

$aaOU(cr)

 

 

 

config.

>aarff(cr)

 

 

 

Read Modbus

$aaPNssFF(cr)

 

 

 

slot address

>aaxxxxy (cr)

 

 

 

setting

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

 

 

 

 

 

 

 

 

 

 

 

 

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

Page 296
Image 296
Advantech user manual Modbus Commands for 5000 Series