82
••••
Appendix A – Register Addressing Conventions
DDE Server User’s Guide
Examples
Here are some examples of different types of register numbers:
Register
number
Represents
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 16-bit Integer
Default
R40001
16-bit Signed Integers with
values between -32,768 and
32,767
Append letter I to item number.
R40001I
32-bit Signed Integers
(Long Integers)
Append L to item number.
R40001L
32-bit floating point numbers
Append F to item number.
R40001F
Modulus 10000
Used in 32-bit register mode
for EPM 3710 and 3720.
Append E to the item name
NOTE:
See 3710 and 3720 ACM Modbus Protocol Manuals for
details.
R40010E
ASCII data string
Append S to item number.
[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 16-bit mode devices (most devices) there are 2
characters per register. For 32-bit mode devices, there are 4
characters per register.
NOTE 3:
The maximum value for the S string is 250.
R40010S020
Содержание POWER LEADER GEH-6510
Страница 5: ...DDE Server User s Guide v This page left blank intentionally ...
Страница 35: ...DDE Server User s Guide Chapter Three Getting Started 31 This page left blank intentionally ...
Страница 68: ...DDE Server User s Guide Chapter Five Troubleshooting 65 This page left blank intentionally ...
Страница 88: ...DDE Server User s Guide Appendix A Register Addressing Conventions 85 This page left blank intentionally ...