AMX nxc Network Router User Manual


 
NXC-VAI4 Analog Voltage Control Card
31
NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide
NXC-VAI4 Send_Commands (Cont.)
Command Description
PC Sets the shape of the Output <x> voltage ramps.
Syntax:
SEND_COMMAND <DEV>,'P<OUTPUT>C<CURVE>'
Variables:
OUTPUT: Any Output ('1', '2', '3', or '4')
CURVE:
'N' - Normal linear
'L' - Logarithmic
'I' - Inverted logarithmic
Example:
SEND_COMMAND <DEV>,'P1CL'
Sets "CURRENT OUTPUT 1 RAMP CURVE" to logarithmic.
PE Selects which voltage reference (if any) is to be used for scaling of the output voltage. The specified
output will then remain proportional to the specified input.
Syntax:
SEND_COMMAND <DEV>,'P<OUTPUT>E<REFERENCE SELECTION> B|U'
Variables:
OUTPUT: any Output ('1', '2', '3', or '4')
Reference selection:
’N’ - Normal/None: Uses no reference scaling.
’E’ - External: Use the External Reference input to scale the output.
’I’ - Input: Use the corresponding <x+4> input as the reference for the
output.
B|U: Bipolar or Unipolar (has no meaning for reference selection 'N')
Unipolar mode sets the voltage range to between 0V and +reference voltage.
Bipolar mode sets the output voltage range to between -reference voltage and +reference voltage.
Examples:
SEND_COMMAND <DEV>,'P1EN'
Sets Output 1 to use no reference (MIN/MAX limits are used instead.).
SEND_COMMAND <DEV>,'P3EEU'
Sets Output 3 to use the External Reference input for scaling. The output voltages will range from 0 to
the external reference voltage.
SEND_COMMAND <DEV>,'P3EIB'
Sets Output 3 to use Input 7 for scaling. The output voltages will range from -input reading to +input
reading.
PL Ramps the specified output from its current level value to the specified level value or specified
percentage of maximum at the rate specified by "CURRENT OUTPUT <x> RAMP UP TIME" or
optionally in the specified amount of time.
Syntax:
SEND_COMMAND <DEV>,'P<OUTPUT>L<LEVEL VALUE> [T<TIME>]'
Variables:
OUTPUT: Any Output ('1', '2', '3', or '4')
LEVEL VALUE: 0 - 255 or 0 - 100% (where 0 is low voltage)
TIME (optional): 0 - 255 in 0.1 second increments
Examples:
SEND_COMMAND <DEV>,'P1L50%'
Ramps Output 1 from its current value to 50% (mid voltage level) at the "CURRENT OUTPUT 1 RAMP
RATE".
SEND_COMMAND <DEV>,'P2L255T30'
Ramps Output 2 to maximum voltage level in 3 seconds.