beautypg.com

6 getintegrateds, 7 getinternals, 8 setlinefreq – Sensoray 2600 User Manual

Page 39

background image

2600 Family Instruction Manual

34

Chapter 6 : Model 2608 Analog I/O Module

Returned values are not corrected to eliminate
gain and offset errors. Each returned Data word

value is scaled approximately as follows:

6.6.6 GetIntegrateds

Function

Returns the most recently acquired integrated
values from the 16 external AIN channels.

Opcode

0x05

Command

none

Response

(Data[0]<7:0>),(Data[0]<15:8>),

... ,

(Data[15]<7:0>),(Data[15]<15:8>)

Notes

Like the GetSnapshots action, this action
does not cause AIN channels to be digitized; it
simply returns previously digitized values. The
ages of the returned values range from 0 to 16
milliseconds.

The differences between these data values and
those returned by GetSnapshots is the age of
the data and the amount and nature of the applied
filtering.

6.6.7 GetInternals

Function

Returns the most recently acquired integrated
values from all internal reference standards and
the on-board temperature sensors.

Opcode

0x0B

Command

none

Response

(LgMax[0]),(LgMax[1]),

(LgMin[0]),(LgMin[1]),

(HgMax[0]),(HgMax[1]),

(HgMin[0]),(HgMin[1]),

(Temp[0][0]),(Temp[0][1]),

(Temp[1][0]),(Temp[1][1]),

(Temp[2][0]),(Temp[2][1]),

(Temp[3][0]),(Temp[3][1]),

(Temp[4][0]),(Temp[4][1]),

(Temp[5][0]),(Temp[5][1]),

(Temp[6][0]),(Temp[6][1]),

(Temp[7][0]),(Temp[7][1])

Notes

This action does not cause the reference
standards to be digitized; it simply returns the
previously digitized standards values. The
returned data are the uncorrected binary values
obtained from the digitizer. These values are not
valid immediately following a module reset;
allow at least 32 milliseconds following a module
reset before executing this action.

All reference standards are measured at low gain,
except HgMax and HgMin, which are measured
at high gain. Each returned word value—which
represents the measured output voltage produced
by the associated voltage or temperature
reference—is scaled to a resolution of
approximately 305 µV (low gain) or 3.05 µV
(high gain).

Reference voltage values may be used to
normalize measurements from external AIN
channels and the on-board temperature sensors so
as to eliminate circuit gain and offset errors.
Refer to the distribution media middleware
documentation for details.

6.6.8 SetLineFreq

Function

Declares the power line frequency used in the
application environment.

Opcode

0x0C

Input Range

Data Scaling, Per Bit

±10 V range

305.1758 µV

±100 mV range 3.051758 µV

Parameter

Function

Data

Word array containing the acquired
values from all analog input channels.
Data ordering begins with channel 0
and progresses by increasing channel
number. All word values are returned
least significant byte first.

Parameter

Function

LgMax

+10V ref @ low gain, LSB first.

LgMin

0V @ low gain, LSB first.

HgMax

+100mV ref @ high gain, LSB first.

HgMin

0V @ high gain, LSB first.

Temp[0]

Chan 0-1 temperature, LSB first.

Temp[1]

Chan 2-3 temperature, LSB first.

Temp[2]

Chan 4-5 temperature, LSB first.

Temp[3]

Chan 6-7 temperature, LSB first.

Temp[4]

Chan 8-9 temperature, LSB first.

Temp[5]

Chan 10-11 temperature, LSB first.

Temp[6]

Chan 12-13 temperature, LSB first.

Temp[7]

Chan 14-15 temperature, LSB first.