Tables
12.4 List of predefined subprograms
Fundamentals
12-60 Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
3. Axis functions
Result 1st parameter 2nd parameter Explanation
AXNAME AXIS:
Axis identifier
STRING [ ]:
Input string
AXNAME: Get axis identifier
Converts the input string to an axis identifier. An
alarm is generated if the input string does not
contain a valid axis identifier.
SPI AXIS:
Axis identifier
INT:
Axis number
SPI: Convert spindle to axis
Converts a spindle number to an axis identifier. An
alarm is generated if the passed parameter does
not contain a valid spindle number.
ISAXIS BOOL
TRUE:
Axis exists:
Otherwise:
FALSE
INT:
Number of the
geometry axis
(1 to 3)
Check whether the geometry axis 1 to 3 specified
as parameter exists in accordance with
$MC_AXCONF_GEOAX_ASSIGN_TAB.
AXSTRING STRING AXIS Convert axis identifier into string.
4. Tool management
Result 1st parameter 2nd parameter Explanation
NEWT # INT:
T number
STRING [32]:
Tool name
INT: Duplo
number
Create new tool (prepare tool data). The duplo
number can be omitted.
GETT # INT:
T number
STRING [32]:
Tool name
INT: Duplo
number
Get T number for tool identifier
GETACTT # INT:
Status
INT:
T number
STRING[32]:
Tool name
Get active tool from a group of tools with the same
name
TOOLENV INT:
Status
STRING:
Name
Save a tool environment in SRAM with the
specified name
DELTOOLENV INT:
Status
STRING:
Name
Delete a tool environment in SRAM with the
specified name. All tool environments if no name
specified.
GETTENV INT:
Status
STRING:
Name
INT:
Number = [0]
Number = [1]
Number = [2]
Reading:
T number,
D number,
DL number
from a tool environment with the specified name
#) The vocabulary word is not valid for SINUMERIK FM-NC.