5 reset, 6 actions, 1 setoutput – Sensoray 2600 User Manual
Page 37: 2 getoutput

2600 Family Instruction Manual
32
Chapter 6 : Model 2608 Analog I/O Module
6.5 Reset
Upon module reset, all analog input channels default to low
gain and all analog outputs switch to zero volts out. A 2608
module will experience a module reset in response to any of
the following conditions:
• Module power-up.
• Watchdog time-out due to soft or hard fault.
• SoftReset or HardReset action request from the client.
• Communication time-out, which will occur if the client
fails to communicate with the DIO module within a
programmable communication watchdog interval.
6.6 Actions
This section describes the programmable actions that are
supported exclusively by AIO modules. These actions may be
employed, in any sequence or combination, in MCmd action
lists. In addition to the actions listed here, the AIO module
also supports all of the common actions that are universally
supported by all IOMs.
Note: Model 2608 has a maximum MRsp size of 38 bytes.
6.6.1 SetOutput
Function
Programs the output setpoint of one analog
output channel.
Opcode
0x00
Command (Chan),(Value<7:0>),(Value<15:8>)
Value
, which specifies the exact value that will
be written to the DAC, is not corrected for DAC
gain and offset errors. The following table
illustrates the approximate relationship between
the Value parameter and the resulting output
voltage.
Response
none
Notes
Although the action response is generated
immediately, the actual updating of the analog
output is deferred. The analog output will be set
to its target output voltage within two
milliseconds after this action executes.
All analog output setpoints default to zero in
response to a module reset, causing all analog
outputs to produce zero volts out.
6.6.2 GetOutput
Function
Returns the programmed output setpoint of one
analog output channel.
Opcode
0x01
Command (Chan)
Table 14: Summary of Model 2608 Actions
Command
Opcode
Function
SetOutput
0x00
Program analog output.
GetOutput
0x01
Return analog output.
SetInputRanges
0x02
Select input ranges.
GetInputRanges
0x03
Return input ranges.
GetSnapshots
0x04
Return snapshot values.
GetIntegrateds
0x05
Return integrated values.
GetInternals
0x0B
Return digitized references.
SetLineFreq
0x0C
Declare line frequency.
ReadEeprom
0x0D
Return byte from EEPROM
WriteEeprom
0x0E
Write byte to EEPROM
Parameter
Function
Chan
Analog output channel to be
programmed. Values may range from
0 to 3, inclusive. The six high-order
bits should be zero for future
compatibility, but are ignored in this
version.
Value
Signed, 16-bit value, LSB first, that
specifies the output setpoint for the
target analog output channel.
Value
Output Voltage (V)
0x8000
-10.0003
0x8001
-10.0000
0xFFFF
- 0.0003052
0x0000
0.0000
0x0001
+ 0.0003052
0x7FFF
+10.0000
Parameter
Function
Chan
Analog output channel to be addressed.
Values may range from 0 to 3,
inclusive. The six high-order bits
should be zero for future compatibility,
but are ignored in this version.