Cycles
9.3 Programming cycles
Surface grinding
160
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
9.3.3
Cycle call and parameter list
The cycles use user-defined variables. The defining parameters for the cycles can be
transferred via the parameter list when the cycle is called.
Note
Cycle calls must always be programmed in a separate block.
Basic information on assigning parameters to cycles
The Programming Guide describes the parameter list of every cycle with the
●
order and the
●
type.
It is imperative to observe the order of the defining parameters.
Each defining parameter of a cycle has a certain data type. The parameter being used must
be specified when the cycle is called. In this parameter list, the following can be transferred:
●
R parameters
●
Constants
If R parameters are used in the parameter list, they must first be assigned values in the
calling program. Proceed as follows to call the cycles:
●
With an incomplete parameter list or
●
By leaving out parameters
If you want to exclude the last transfer parameters that have to be written in a call, you can
prematurely terminate the parameter list with ")". If any parameters are to be omitted within
the list, a comma "..., ,..." must be written as a placeholder.
Note
No plausibility checks are made of parameter values with a discrete or limited value range
unless an error response has been specifically described for a cycle.
If a cycle is called the parameter list of which contains more entries than parameters defined
in the cycle, the general NC alarm 12340 "Too many parameters" is displayed and the cycle
is not executed.
Cycle call
The individual methods for writing a cycle are shown in the programming examples provided
for the individual cycles.