Examples
Here are some examples of different types of register numbers:
Register | Represents |
number |
|
R00005 | Coil command, number 5, with Read/Write access to the user |
|
|
R31005 | Dynamic value, number 1005, Read Only access |
|
|
R43010 | Fixed value or Setpoint, number 3010, with Read /Write access |
| to the user |
Special Naming Conventions
Special handling of data from devices can be done by using the following conventions:
Long Words and Special Numbers
By default, a register item is treated as an unsigned integer. To treat the contents of any register differently, refer to the table below:
Special Data Item | Naming Convention | Example |
Unsigned | Default | R40001 |
|
|
|
Append letter I to item number. | R40001I | |
values between |
|
|
32,767 |
|
|
Append L to item number. | R40001L | |
(Long Integers) |
|
|
Append F to item number. | R40001F | |
|
|
|
Modulus 10000 | Append E to the item name | R40010E |
Used in | NOTE: See 3710 and 3720 ACM Modbus Protocol Manuals for |
|
for EPM 3710 and 3720. | details. |
|
ASCII data string | Append S to item number. | R40010S020 |
| [lll] field immediately after S character represents the number of |
|
| characters to read. If no length is specified ([lll] field is not |
|
| provided), only one register of characters (2 or 4) will be read. The |
|
| High byte represents the first character, and the Low byte represents |
|
| the second character. |
|
| NOTE: No array type is allowed with S data items, nor are ASCII |
|
| strings supported for coil registers. |
|
| NOTE 2: For |
|
| characters per register. For |
|
| characters per register. |
|
| NOTE 3: The maximum value for the S string is 250. |
|
|
|
|
82 • Appendix A – Register Addressing Conventions | DDE Server User’s Guide |