beautypg.com

The setpoint status register – Measurement Computing Personal Daq/3000 Series User Manual

Page 65

background image

The Setpoint Status Register

Regardless of which software application you are using with a Personal Daq/3000 Series device, a setpoint
status register can be used to check the current state of the 16 possible setpoints. In the register, Setpoint 0
is the least significant bit and Setpoint 15 is the most significant bit. Each setpoint is assigned a value of 0
or 1. 0 indicates that the setpoint criteria is not met, i.e., the condition is false. 1 indicates that the criteria
has been met, i.e., the condition is true. Related information is provided in the overview (pages 6-1 and
6-2.)

In the following example, the criteria for setpoints 0, 1, and 4 is satisfied (True); but the criteria
for the other 13 setpoints has not been met.

Setpoint #

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

True ( 1 )

False ( 0 )

0

0

0

0

0

0

0

0

0

0

0

1

0

0

1

1

<<< Most Significant Bit

Least Significant Bit >>>

From the above table we have 10011 binary, or 19 decimal, derived as follows:

Setpoint 0, having a True state, shows “1;” giving us decimal “1.”

Setpoint 1, having a True state, shows “1;” giving us decimal “2.”

Setpoint 4, having a True state, shows “1;” giving us decimal “16.”

For proper operation, the Setpoint Status Register must be the last channel in the scan
list.

Personal Daq/3000 Series User’s Manual

887894

Setpoint Configuration for Output Control 6-11