Specifications
MBX Bridge Help
Cyberlogic Technologies Inc. - 13 -
Routing the Filtered Messages
Messages that pass the Slave Path and Source Filter criteria will be routed through the
bridge. They will be sent to the specified Destination Device using the Destination
Routing. For messages that did not pass through these filters, an error reply is sent back.
Note
Since the bridge processes all routing records from top to bottom, the order of these
records is important. There may be several records that match the Slave Path and
Source Filter criteria for a given message. The first matching record will be used to
determine the destination routing.
Destination Routing
The structure of the Destination Routing depends on the Network Type for the specified
Destination Device. For Modbus Plus devices, it consists of five routing address bytes. For
Ethernet devices, it is a four-byte IP address and a destination index. For Modbus
devices, it is a single-byte Modbus address.
Regardless of type, each byte is defined by an arithmetic expression. The arithmetic
expressions take one of the following forms:
operand
operand + operand
operand – operand
where the permitted value for
operand
depends on the type of the source device.
For Ethernet source devices,
operand
may be:
A constant value.
SP, the slave path used for the received message.
DI, the destination index value of the received command message.
IP1, IP2, IP3 or IP4, a byte of the source device’s IP address.
For Modbus Plus source devices,
operand
may be:
A constant value.
SP, the slave path used for the received message.
MB1, MB2, MB3, MB4 or MB5, a byte of the routing path as received in the
command message.
For Modbus source devices,
operand
may be:
A constant value.
SP, the slave path used for the received message.
MB, the destination Modbus address as received in the command message.