User's Manual

NXC-VAI4 Analog Voltage Control Card
33
NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide
NXC-VAI4 Send_Commands (Cont.)
Command Description
PX Sets the value of "I/O <x> MAXIMUM" which is either the maximum output voltage allowed for an
Output, or the maximum position voltage expected for an Input.Voltage settings are rounded to the
nearest D/A or A/D code. Voltage settings are absolute levels and are unaffected by any scaling
functions. Negative voltages are not valid for Inputs.
Syntax:
SEND_COMMAND <DEV>,'P<I/O>X<LEVEL VALUE>'
Variables:
I/O: Any input or output ('1', '2', '3', '4', '5', '6', '7', '8')
LEVEL VALUE: 12.000V to +12.000V
Examples:
SEND_COMMAND <DEV>,'P1X5.023V'
Sets the maximum output level for Output 1 to 5.023V.
SEND_COMMAND <DEV>,'P7X5.023V'
Sets the maximum of the expected input range for Input 7 to 5.023V.
PZ Sets one of the two "set point" variables "I/O <x> SET POINT H|L" (high or low). These variables are
used to calculate calibration parameters for I/O <x> (input or output). Receiving this command with no
voltage specified returns the
specified set point to the default value.
Syntax:
SEND_COMMAND <DEV>,'P<I/O>Z<VOLTAGE>H|L'
Variables:
I/O: Any input or output ('1', '2', '3', '4', '5', '6', '7', '8' plus '0' for EREF)
VOLTAGE: The current actual/measured voltage at the I/O.
Examples:
SEND_COMMAND <DEV>,'P1Z0.5VL'
Creates a low-end calibration point associating the current D/A code with 0.5 volts.
SEND_COMMAND <DEV>,'P1Z11.5VH'
Creates a high-end calibration point associating the current D/A code with 11.5 volts.
SEND_COMMAND <DEV>,'P0Z0.1VL'
Creates a low-end calibration point associating the current EREF A/D code with 0.1 volts.
SEND_COMMAND <DEV>,'P1ZL'
Returns the Output 1 lower set point to its default.