Titan MTX-Router--3G-mini User Manual page 84

Table of Contents

Advertisement

Matrix Electrónica   –   MTX‐Router‐Titan 
"SET RELAY" command
http://www.mtxm2m.com  
 
Subject to changes without prior notice 
 
  
modbusRegister: 
  
registerValue:   
 
commandWrite: 
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. 
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: 
 
address of the Modbus device register to be written 
value to be written in the register 
OPTIONAL PARAMETER. The Modbus writing 
 
 
 
 
 
User Manual  ‐  Rel3.00.3.09 
 
Page 84 

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents