Difference between revisions of "FAQ"

From XDIMAX Products Wiki
Jump to: navigation, search
(How to query or change Modbus Slave Address)
Line 25: Line 25:
 
OK<br>
 
OK<br>
 
}}
 
}}
 +
 +
To change Modbus Slave Address use '''line''' command as shown below:
 +
{{Terminal |
 +
1=>'''line myid L3 <span style="color:#FF8080">50</span>'''
 +
}}
 +
This command will set Modbus Slave Address 0x50(hexadecimal)

Revision as of 02:58, 9 July 2015

Modbus RTU

How to query or change Modbus Slave Address

Modbus Slave Address is available via line command.

>line

L1: SA U00/G05 myid:E5 Simul(5)
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L2: DK Slave U00/G00 myid:0B
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L3: CG5 Modbus Address:0x40(64) 9600_8N1
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L4: Unused
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L5: Unused
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L6: Unused
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L7: LG Master U00/G00
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
L8: Unused
Tx:0/0 Rx:0/0 TO:0/0 CS:0/0 Col:0/0 NAK:0/0
OK

To change Modbus Slave Address use line command as shown below:

>line myid L3 50

This command will set Modbus Slave Address 0x50(hexadecimal)