Installation guide
184 Programming Commands
FREEMEM Miscellaneous Command
ACTION: Returns the amount of free memory for program execution allocation.
COMMAND SYNTAX: FREEMEM cr
REMARKS: The value returned is the number of 32 bit word free for allocation.
The DIM command uses free memory for allocating an area for arrays.
A new variable string uses free memory for storing the string characters.
The maximum free memory size is 45055 words.
If an "Out of Memory" error occurs during program execution the
FREEMEM command can be used to determine whether the error was
created by a string command or that the memory allocated for program
storage was exceeded. If the FREEMEM command returns a negative
value the memory allocated for program storage was exceeded.
EXAMPLE: FREEMEM
HARDLIMNEG Over Travel Limit
ACTION: Returns the -LIMIT state for the selected axis.
PROGRAM SYNTAX: HARDLIMNEG cr
HARDLIMNEG(axis) cr
REMARKS: See Programming Command HARDLIMNEG.
EXAMPLES: HARDLIMNEG(2)
Returns the -LIMIT state of axis 2.
HARDLIMNEG
Returns the -LIMIT state of all assigned axes.
HARDLIMPOS Over Travel Limit
ACTION: Returns the +LIMIT state of the selected axis.
PROGRAM SYNTAX: HARDLIMPOS cr
HARDLIMPOS(n) cr
REMARKS: See Programming Command HARDLIMPOS.
EXAMPLES: HARDLIMPOS(2)
Returns the +LIMIT state of axis 2.
HARDLIMPOS
Returns the +LIMIT state of all assigned axes.










