Gets the analog input [value] for [channel].

Access: Read

Category: I/O

Applies to: 2CR, 2ED, 2EX, 4CR, 4ED, 4EX, 8CR

ASCII/Standalone                AI[ch]           

Syntax

Read

AI[channel]

[channel]  –  specifies the input channel

  -  2 analog 10-bit inputs [1-2]

  -  Analog input terminal for X-axis = 1,  Y-axis = 2         

Reply 

Command is accepted and executed

Read         

Returns the current voltage (voltage in mV) [range 0- 3300]

Command cannot be processed

       An error message is returned. See Error Codes

Example 

Read   

AI1 * returns the value in mV of the voltage on the analog input for the X-axis

Reply

       2500        * signifies 2.5V (2500mV) on Analog input 1

Notes

       None

See also

I/O Setup, 

JSPD, JDEL, JMAX, JMIN, JTOL, JENA, JLIM, DI, DIP, DO, DOBOOT, DOP, IO, IOBOOT, IOCFG, IOP

Commander Manual

Analog Input/output