Matrix
Electrónica
–
MTX
‐
Router
‐
Titan
User
Manual
‐
Rel3.00.3.09
Page
91
http://www.mtxm2m.com
Subject
to
changes
without
prior
notice
EXAMPLE
5:
If [register 15 of the Modbus device with address 1] is greater than or equal to 100
Activate Titan device’s Relay 1
Otherwise
Deactivate
Relay
1
on
the
Titan
device
EXAMPLE
6:
If (( [register 10 of the Modbus device with address 1]
+
[register 11 of the Modbus device
with address 1]) is greater than 100)
OR
if (( [register 12 of the Modbus device with address
1] is greater than [register 100 of the Modbus device with address 2])
Write [in register 20 of the Modbus device with address 1 [the current value of register
15 of the Modbus device with address 2 multiplied by 3 plus 1]]
Otherwise
Write [in register 20 of the Modbus device with address 1 [the current value of register
15 of the Modbus device with address 2 multiplied by 2 subtract 1]]