User`s guide

Analog I/O
Up to eight analog I/O modules for a total of 32 output and 256 input channels
1
can be
installed in an Adept MV controller. The following figure shows the I/O channel numbers for
each installed module. Analog I/O modules can be configured for different input/output
ranges. The actual input and output voltages are determined by setting on the AIO module.
Regardless of the input/output range selected, the AIO.IN function returns a value in the -1.0
to 1.0 range and the AIO.OUT instruction expects a value in the range -1.0 to 1.0.
Additionally, modules can be configured for differential input (which reduces the maximum
number of input channels to 128). Contact Adept Applications for details on installing and
configuring analog I/O boards
2
. See How Can I Get Help? on page 21 for contact information.
The instruction:
analog.value = AIO.IN(1004)
reads the current state of analog input channel 4.
The instruction:
AIO.OUT 2 = 0.9
writes the value 0.9 to analog output channel 2.
The instruction:
IF AIO.INS (4) THEN
AIO.OUT 4 = 0.56
END
writes to output channel 4 only if output channel 4 is installed.
Analog I/O Board Channels
Analog I/O
V+Language User's Guide, v17.0
Page 208