ADC(n)
Purpose To return the value from the Analog-To-Digital Converter channel #n.
n should be between 1 and 16.
Examples A = ADC(2)
Comments: n may be a numeric expression which returns a value between 1 and 16. If it is out-of-range, a run-time error will be reported and the function will be aborted.

i-TRiLOGI software is able to support up to 16 channels of 16-bit bipolar ADC (which may has a range of between -32768 to 32767. The actual number of ADC channels and the resolution will depend on the target PLC. On the T100MX, all the A/D are normalized to 12-bit with a range of between 0 and 4096

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual