Installation guide
160 Programming Commands
WARNING  Miscellaneous Command
ACTION: Returns the warning number of the task.
PROGRAM SYNTAX: WARNING - used in expression
REMARKS:  A non-zero indicates no warnings have been encountered in the task.
The predefined Warning codes are
 11 Command axis is not in task group.
 12 Analog I/O selected is out of range.
 13 BCD selected is out of range.
 14 Expansion Input selected is out of range.
 15 Expansion Output selected is out of range.
 16 Digital Input selected is out of range.
 17 Digital Output selected is out of range.
 18 Log command argument is zero or negative
 19 SQRT command argument is negative.
 20 NVR element is out of range.
 21 READ command is out of data arguments.
 22 MAXSPD command is out of range.
 23 Motion occurring at program end.
 24 RS232 Configuration Error.
 25 Servo Parameter is out of range.
EXAMPLES: IF WARNING > 0 then ' warning occurred?
Warn = Warning ' set Warn to WARNING number
END IF
WNDGS  Motion Parameter
ACTION: Enables or disable a motor drive.
PROGRAM SYNTAX: WNDGS(axis)=expression
WNDGS=expression1, ... ,expression8
WNDGS(axis, ... , axis)=expression, ... , expression
WNDGS(axis) - used in an expression
REMARKS:  This command is defined in detail in both Section 9 Servo Drive and
Section 10 Stepper Drive.










