Obtains the voltage value in mV of an analog input.  This is a read-only command.


Applies to: CMD-4CR, CMD-4EX-SA, PMX-4EX-SA, PMX-2ED-SA, PMX-2EX


ASCII/Standalone                AI[ch]           

Syntax:

Read:

AI[ch]

Where:        [ch]  –  specifies the input channel

         – Applies to: CMD-4CR, CMD-4EX-SA, PMX-2ED-SA, PMX-2EX

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

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

          – Applies to: PMX-4EX-SA

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

-  Analog input terminal for X-axis = 1,  Y-axis = 2,  Z-axis = 3,  U-axis = 4

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

2.1.3.3.2 Analog Input/output