Individual bits in registers, Examples – Black Box GEH-6510 User Manual

Page 86

Advertising
background image

DDE Server User’s Guide

Appendix A – Register Addressing Conventions

•••• 83

Individual Bits In Registers

Individual bits in registers are read-only. They can be read as discrete/integer tags by
using the following notation (explained beneath):

R indicates a Register

address follows.

f indicates the

register type.

X indicates an address is

hexadecimal. If the X is not present,

the address is read as decimal.

nnnn is the actual address. Four
characters are required, so leading
zeroes must be used if necessary.
For example, the correct syntax is
0025 rather than 25.

D stands for Discrete type

specifier, and indicates that bit

data is being requested.

L indicates the specific
number of bits being
requested.

B indicates the
starting bit
number.

R <f> <[X]nnnn>DL-B

Examples

Register
Number

Represents

R40001D1-0

Specifies least significant bit of first holding register

R30008D1-15

Specifies most significant bit of an input register

R40001D2-5

Specifies 6

th

and 7

th

from the least significant bit of first holding

register.

Advertising