C-Link Protocol Commands
I/O Configuration
B-40 Model 42i Low Source Instruction Manual Thermo Electron Corporation
Send: set analog iout range 4 1
Receive: set analog iout range 4 1 ok
analog vin channel
This command retrieves the analog voltage input channel data, both the
calculated value and the actual voltage. In the example below, the
“calculated” value of channel 1 is 75.325 degrees F, volts are 2.796. This
command responds with “feature not enabled” if the I/O expansion board is
not detected.
Send: analog vin 1
Receive: analog vin 1 75.325 2.796
analog vout range channel
This command reports the analog voltage output channel range, where
channel is between 1 and 6 inclusive, according to Table B-11.
Send: analog vout range 2
Receive: analog vout range 2 3
set analog vout range channel range
This command sets analog voltage output channel to the range, where
channel is between 1 and 6 inclusive, and range is set according to Table
B-11. The example below sets channel 2 to the 0-10 V range.
Send: set analog vout range 2 3
Receive: set analog vout range 2 3 ok
Table B-10. Analog Current Output Range Values
Range Output Range
1 0-20 mA
2 4-20 mA
0 [cannot be set to this, but may report] Undefined
Table B-11. Analog Voltage Output Range Values
Range Output Range
10-1 V
2 0-100 mV
3 0-10 V
40-5 V
0 [cannot be set to this, but may report] Undefined