Matrix
Electrónica
–
MTX
‐
Router
‐
Titan
User
Manual
‐
Rel3.00.3.09
Page
84
http://www.mtxm2m.com
Subject
to
changes
without
prior
notice
modbusRegister
:
address
of
the
Modbus
device
register
to
be
written
registerValue
:
value
to
be
written
in
the
register
commandWrite
:
OPTIONAL
PARAMETER.
The
Modbus
writing
commands
3
or
4
can
be
used.
If
not
indicated,
the
Modbus
command
3
will
be
used.
Examples:
MW[1,10,100]
Writes
the
value
“100”
in
register
10
of
the
Modbus
device
with
address
1,
using
the
Modbus
writing
command
3.
MW[1,10,100,4]
Writes
the
value
“100”
in
register
10
of
the
Modbus
device
with
address
1,
using
the
Modbus
writing
command
4.
MW[192.168.1.20:502,10,100]
Writes
the
value
“100”
in
reegister
10
of
the
Modbus
TCP
device
with
IP
address
192.168.1.20
and
TCP
port
502
using
the
Modbus
writing
command
3.
MW[1,10,100,4]
Writes
the
value
“100”
in
reegister
10
of
the
Modbus
TCP
device
with
IP
address
192.168.1.20
and
TCP
port
502
using
the
Modbus
writing
command
4.
“SET RELAY” command
Syntax:
SR[
idRelay
,
relayValue
]
Description:
Activates
or
deactivates
an
internal
relay
of
the
Titan
device.
Can
be
used
on
the
fields
ACTION1
and
ACTION2.
Parameters: