
Version : 1.09
126
13.3.2.
Writing Tag with Direct addressing ( W )
You write a value or a text directly to a ModBus address.
Syntax:
#Wmodbus address=value#
#Wmodbus address=”text”#
Examples:
#W20480=123#
This message sent to the RTU will write value 123 to the analog Tag with ModBus address 20480
#W1500=”[email protected]”#
This message sent to the RTU will the text “[email protected]” to the Text Tag with ModBus address 1500.
This can be useful for changing online runtime parameters (see chapter 9.5. “Runtime Parameters”)
Notes:
1. You can combine several adresses, separated by a comma. For instance:
#W20480=123,W20481=456#
2. ReadSMS checks access protection level of the port before writing (see chapter 13.3.5. below)
13.3.3.
Writing Tag with Indirect addressing – analog ( N )
You write a value directly to a ModBus address representing a pointer.
Syntax:
#Nmodbus address=value#
The value at ‘modbus address’ corresponds to the ModBus address to write in.
Example:
#N20480=123#
If ModBus address 20480 contains the value 1000, the value 123 will be written to the ModBus address
1000.
We make a distinction between Target address corresponding to an analog Tag and a digital
Tag (see next).
With indirect addressing, ReadSMS does no check the access protection level of the GSM
port
13.3.4.
Writing Tag with Indirect addressing - digital ( D )
You write a value directly to a ModBus address representing a pointer.
Syntax:
#Dmodbus address=value#
The value at ‘modbus address’ corresponds to the ModBus address to write in.
Example:
#D20481=1#
If ModBus address 20481 contains the value 512, the value 1 will be written to the ModBus address 512.
Summary of Contents for TBOX LT2-530 Series
Page 1: ...User s Guide Cabling Technical Specifications Version 1 09 LT2...
Page 10: ...Version 1 09 10...
Page 11: ...Version 1 09 11...
Page 17: ...Version 1 09 17...
Page 20: ...Version 1 09 20...
Page 21: ...Version 1 09 21...
Page 38: ...Version 1 09 38...
Page 39: ...Version 1 09 39...
Page 151: ...Version 1 09 151...
Page 175: ...Version 1 09 175...