Installation guide
Mint™ v4 Advanced Programming Guide 
28  MN1270 02.2002   
ADCERROR/AE 
Purpose: 
Read back the analog channels currently in error. 
Controllers Supported: 
NextMove PCI  NextMove PC  NextMove BX  MintDrive  ServoNode 51 
     
Format: 
v = ADCERROR[axis]
Dot Parameters: 
Axis - Axis No. 
Attributes: 
Controller Read Write Command Multi-
Axis 
Scaled Default  Range 
NextMove 
 
 
0 ≤ x ≤ 65535 
Description: 
It is possible to attach limits to analog input channels such that if those limits are exceeded, the motion 
error 
_erADC_ERROR is generated. Analog channels can be associated with one or more axes and an 
axis can have multiple analog channels associated with it. 
The 
ADCERROR keyword returns a bit mask indicating the currently active analog errors on the specified 
axis. It also indicates which analog limit, upper and/or lower, caused the analog error. 
Upper and lower analog limits are set on an analog channel using the 
ADCMAX and ADCMIN keywords. 
Channels are associated with an axis using the 
ADCMONITOR keyword. 
The returned bit pattern is shown below: 
Bit Meaning 
0  Analog error on channel 0. Maximum limit exceeded. 
1  Analog error on channel 1. Maximum limit exceeded. 
2  Analog error on channel 2. Maximum limit exceeded. 
3  Analog error on channel 3. Maximum limit exceeded. 
4  Analog error on channel 4. Maximum limit exceeded. 
5  Analog error on channel 5. Maximum limit exceeded. 
6  Analog error on channel 6. Maximum limit exceeded. 
7  Analog error on channel 7. Maximum limit exceeded. 
8  Analog error on channel 0. Minimum limit exceeded. 
9  Analog error on channel 1. Minimum limit exceeded. 
10  Analog error on channel 2. Minimum limit exceeded. 
11  Analog error on channel 3. Minimum limit exceeded. 
12  Analog error on channel 4. Minimum limit exceeded. 
13  Analog error on channel 5. Minimum limit exceeded. 
14  Analog error on channel 6. Minimum limit exceeded. 
15  Analog error on channel 7. Minimum limit exceeded. 
Example: 
PRINT ADCERROR.4
Display any analog channel errors for those channels attached to axis 4. If the result printed was 265, 
this would mean the maximum limit has been exceeded on channels 0 and 3 and the minimum limit has 
been exceeded on channel 0. 
See Also: 
AXISSTATUS, ERR, AXISERROR, ADCMAX, ADCMIN, ADCMONITOR 










