Tables
12.4 List of predefined subprograms
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
503
WAITS
INT: Spindle
number
INT: Spindle
number
INT: Spindle
number
INT: Spindle
number
INT:
Spindl
e
numbe
r
Wait for positioning spindle:
Wait until programmed spindles
previously programmed with
SPOSA reach their
programmed endpoint.
RET End of subroutine with no
function output to the PLC.
GET # AXIS AXIS AXIS AXIS AXIS AXIS Assign machine axis
GETD# AXIS AXIS AXIS AXIS AXIS AXIS Assign machine axis directly
RELEASE # AXIS AXIS AXIS AXIS AXIS AXIS Release machine axis
PUTFTOC # REAL:
Offset value
INT:
Parameter
number
INT:
Channel
number or
STRING:
Channel
name
$MC_CHAN
_NAME
INT: Spindle
number
Put fine tool correction: Fine
tool compensation
PUTFTOCF
#
INT:
No. of
function
The number
used here
must be
specified in
FCTDEF.
VAR REAL:
Reference
value *)
INT:
Parameter
number
INT:
Channel
numbers
1 - 10
or STRING:
Channel
name
$MC_CHAN
_NAME
INT:
Spindl
e
numbe
r
Put fine tool correction function
dependent:
Change online tool
compensation according to a
function defined with FCTDEF
(max. 3rd degree polynomial).
The SPI function can also be used to program a spindle instead of an axis: GET(SPI(1))
#)The keyword is not valid for SINUMERIK FM-NC/NCU571.
**) Acknowledgment mode:
Commands are acknowledged on request from the executing component (channel, NC,
etc.).
Without acknowledgement: Program execution is continued when the command has been
transmitted. The executing component is not informed if the command cannot be executed
successfully. Acknowledgment mode "N" or "n".
Synchronous acknowledgement: The program execution is paused until the receiving
component acknowledges the command. If the acknowledgement is positive, the next
command is executed.
If the acknowledgement is negative an error is output.
Acknowledgement "S", "s" or to be omitted.
For some commands, the acknowledgement response is predefined, for others it is
programmable.
The acknowledgement response for program-coordination commands is always
synchronous.
If the acknowledgement mode is not specified, synchronous acknowledgement is the default
response.