RUGGEDCOM ROS
User Guide
Chapter 1
Introduction
Text
23
•
Section 1.8.3.8, “TruthValues”
Section 1.8.3.1
Text
The Text format provides a simple ASCII representation of the information related to the product. The most
significant register byte of an ASCII characters comes first.
For example, consider a
Read Multiple Registers
request to read Product Identification from location 0x0000.
0x04
0x00
0x00
0x00
0x08
The response may look like:
0x04
0x10
0x53
0x59
0x53
0x54
0x45
0x4D
0x20
0x4E
0x41
0x4D
0x45
0x00
0x00
0x00
0x00
0x00
In this example, starting from byte 3 until the end, the response presents an ASCII representation of the characters
for the product identification, which reads as
SYSTEM NAME
. Since the length of this field is smaller than eight
registers, the rest of the field is filled with zeros (0).
Section 1.8.3.2
Cmd
The Cmd format instructs the device to set the output to either
true
or
false
. The most significant byte comes first.
• FF 00 hex requests output to be True
• 00 00 hex requests output to be False
• Any value other than the suggested values does not affect the requested operation
For example, consider a
Write Multiple Registers
request to clear alarms in the device.
0x10
0x00
0x80
0x00
0x01
2
0xFF
0x00
• FF 00 for register 00 80 clears the system alarms
• 00 00 does not clear any alarms
The response may look like:
0x10
0x00
0x80
0x00
0x01
Section 1.8.3.3
Uint16
The Uint16 format describes a Standard ModBus 16 bit register.