Installation guide
Mint™ v4 Advanced Programming Guide
30 MN1270 02.2002
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
ADCMAX.channel = <expression>
v = ADCMAX.channel
Dot Parameters:
Channel – ADC Channel Number
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
100
-100 ≤ x ≤ 100
Description:
It is possible to attach limit values to analog input channels such that if those limits are exceeded, a
motion 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
ADCMAX keyword sets the upper limit value for an analog channel to a percentage of its maximum
value. The value must also be greater than then lower limit value set with
ADCMIN. The limit value
cannot be set on an analog channel that is configured as off.
In order for an analog channel to generate a motion error, it must be attached to an axis. This is done
with the
ADCMONITOR keyword. If the analog value then exceeds the upper or lower limit, a motion
error is generated on that axis and all other axes that are monitoring that analog channel.
In the event of a motion error, the axis is crash stopped and the drive and enable relay disabled. The
user defined error handler, #ONERROR, will be called if it is defined.
The
ADCERROR keyword can be used to see which analog channels have caused an analog motion error
on an axis.
Example:
ADCMAX.0 = 50
ADCMAX.2 = 75
ADCMIN.0 = -50
ADCMIN.2 = -75
ADCMONITOR[0,3,5] = 5;
This sets the upper limit on channels 0 and 2 to be 50% and 75% respectively and the lower limit on
channels 0 and 2 to be –50% and –75% respectively. Axes 0, 3 and 5 are set to monitor channels 0 and
2. Therefore if the value on analog channel 2 reached 51%, then axes 0, 3 and 5 would incur analog
motion errors and reading the
ADCERROR keyword for these axes would return a value 4, indicating
analog channel 2, upper limit.
See Also:
ADCERROR, ADCMODE, AXISERROR, ADCMIN, ADCMONITOR
ADCMIN/AMN
Purpose:
Sets the lower analog limit value for the specified analog channel.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
ADCMIN.channel = <expression>
v = ADCMIN.channel