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 16-bit Integer

Default

R40001

 

 

 

16-bit Signed Integers with

Append letter I to item number.

R40001I

values between -32,768 and

 

 

32,767

 

 

32-bit Signed Integers

Append L to item number.

R40001L

(Long Integers)

 

 

32-bit floating point numbers

Append F to item number.

R40001F

 

 

 

Modulus 10000

Append E to the item name

R40010E

Used in 32-bit register mode

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 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.

 

 

 

 

82 Appendix A – Register Addressing Conventions

DDE Server User’s Guide

Page 85
Image 85
Black Box GEH-6510 manual Special Naming Conventions, Examples, Long Words and Special Numbers