SGW1-IA3-MMP – Modbus Multiplexer
Exemys
www.exemys.com
SGW1-IA3-MMP User’s Manual Rev. 1
12
A total of 32 ranges can be configured, with the following data:
Command
Description
SRANGEADD:
(
M,F,L,S
,O,E)
Adds a range of slaves to which the indicated master will access.
• M:
M:
M:
M: (A | B | C | D) - This is the port to which the Master is connected.
• F:
F:
F:
F: (1 ... 254) - Lower range rank.
• L:
L:
L:
L: (1 ... 254) - Top rank of the range.
• S:
S:
S:
S: (A | B | C | D) - It is the port to which the Slaves are connected.
•
O::::
(0 ... 254) - Offset to subtract the ID number when sending it to the slave.
•
E::::
(E | D) – Enables/Disables Modbus ENRON conversation
Parameters
O
and
E
are optional
Example of use:
SRANGEADD:A,20,50,C
Queries arriving at port A with Modbus ID between 20 and 50 are sent to port
C without applying offset to the received ID.
SRANGEADD:A,20,50,C,1,E
Queries arriving at port A with Modbus ID between 20 and 50 are sent to port C
C applying a -1 offset to the ID received and converting the query to ENRON
format.
SRANGEDEL:
(
M,F,L,S
,O,E|ALL)
Deletes a range of slaves to which a designated master has access.
• M:
M:
M:
M: (A | B | C | D) - This is the port to which the Master is connected.
• F:
F:
F:
F: (1 ... 254) - Lower range rank.
• L:
L:
L:
L: (1 ... 254) - Top rank of the range.
• S:
S:
S:
S: (A | B | C | D) - It is the port to which the Slaves are connected.
•
O:
(0 ... 254) - Offset to subtract the ID number when sending it to the slave.
•
E:
(E | D) – Enables/Disables Modbus ENRON conversation
Parameters
O
and
E
are optional
• ALL: Clears the range table completely.
Example of use:
SRANGEDEL:A,20,50,C,0
Clear Range A, 20.50, C, 0
SRANGEDEL:ALL
Deletes all ranges.
SRANGELIST
Lists configured slave’s ranges
.
• Example 1: Enable master A to access slaves with ID between 1 through 20 connected in
COM B and slaves 35 through 39 that will be connected in COM C.
SRANGEADD:A,1,20,B,0
SRANGEADD:A,35,39,C,0