Siemens SINUMERIK 840D sl Programming Manual page 554

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Tables
16.7 Predefined functions
3. Axis functions
Result
AXNAME
AXIS:
Axis identifier
AXTOSPI
INT:
Spindle
number
SPI
AXIS:
Axis identifier
ISAXIS
BOOL
TRUE:
Axis exists:
Otherwise:
FALSE
AXSTRING
STRING
4. Tool management
Result
NEWT
INT:
T number
GETT
INT:
T number
GETACTT
INT:
Status
TOOLENV
INT:
Status
DELTOOLENV
INT:
Status
GETTENV
INT:
Status
Result
1st par. 2nd par.
GETTCOR
INT:
REAL:
Status
Length
[11]
554
1st parameter
2nd parameter
STRING [ ]:
Input string
AXIS:
Axis identifier
INT:
Spindle number
INT:
Number of the
geometry axis
(1 to 3)
AXIS
1st parameter
2nd parameter
STRING [32]:
INT: Duplo
Tool name
number
STRING [32]:
INT: Duplo
Tool name
number
INT:
STRING[32]:
T number
Tool name
STRING:
Name
STRING:
Name
STRING:
INT:
Name
Number = [0]
Number = [1]
Number = [2]
3rd par.
4th par.
STRING:
STRING:
INT:
Compon
Tool
Int. T
ents:
environ
number
Coordi-
ment/
nate
" "
system
Explanation
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.
AXTOSPI: Convert axis to spindle
Converts an axis identifier into a spindle number.
An alarm is set if the transfer parameter does not
contain a valid axis identifier.
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.
Check whether the geometry axis 1 to 3 specified
as parameter exists in accordance with
$MC_AXCONF_GEOAX_ASSIGN_TAB.
Convert axis identifier into string.
Explanation
Create new tool (prepare tool data). The duplo
number can be omitted.
Get T number for tool identifier.
Get active tool from a group of tools with the same
name.
Save a tool environment in SRAM with the
specified name.
Delete a tool environment in SRAM with the
specified name. All tool environments if no name
specified.
Reading:
T number,
D number,
DL number
from a tool environment with the specified name
5th par.
6th par.
Explanation
INT:
INT:
Read tool lengths and tool
length components from tool
D
DL
environment or current
number
number
environment
Details: See /FB1/ Function
Manual Basic Functions; (W1)
Programming Manual, 09/2011, 6FC5398-1BP40-2BA0
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents