Installation guide

112 Programming Commands
HARDLIMNEG Over Travel Limit
ACTION: Returns the - Limit hardware state for the selected axis.
PROGRAM SYNTAX: HARDLIMNEG(axis) - used in an expression
REMARKS: The axis is the specified axis (1-8).
A false(0) is returned if the designated axis - limit input is inactive. Oth-
erwise, a true(1) will be returned which indicates that the - Limit input is
active.
EXAMPLES: IF HARDLIMNEG(1)=1 THEN ‘ execute statements if - limit
active
statements
END IF
HARDLIMPOS Over Travel Limit
ACTION: Returns the + Limit hardware state for the selected axis.
PROGRAM SYNTAX: HARDLIMPOS(axis) - used in an expression
REMARKS: The axis is the specified axis (1-8).
A false(0) is returned if the designated axis + limit input is inactive. Oth-
erwise, a true(1) will be returned which indicates that the + Limit input is
active.
EXAMPLES: IF HARDLIMPOS(1)=1 THEN ‘ execute statements if + limit
active
statements
END IF
HEX$ String Manipulating
ACTION: Returns the hex string equivalent of an argument.
PROGRAM SYNTAX: HEX$(expression) - used with a string array
REMARKS: The expression must be an integer value.
EXAMPLES: a$=HEX$(255) ‘ a$=“FF”