Examples, Special naming conventions, Long words and special numbers – Black Box GEH-6510 User Manual

Page 85

Advertising
background image

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

Advertising