Black Box GEH-6510 manual Individual Bits In Registers, XnnnnDL-B

Models: GEH-6510

1 92
Download 92 pages 63.45 Kb
Page 86
Image 86

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):

X indicates an address is hexadecimal. If the X is not present, the address is read as decimal.

R indicates a Register address follows.

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

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

f indicates the register type.

D stands for Discrete type specifier, and indicates that bit data is being requested.

B indicates the starting bit number.

L indicates the specific number of bits being requested.

Examples

Register

Represents

Number

 

R40001D1-0

Specifies least significant bit of first holding register

 

 

R30008D1-15

Specifies most significant bit of an input register

 

 

R40001D2-5

Specifies 6th and 7th from the least significant bit of first holding

 

register.

 

 

DDE Server User’s Guide

Appendix A – Register Addressing Conventions 83

Page 86
Image 86
Black Box GEH-6510 manual Individual Bits In Registers, XnnnnDL-B