Programming example
L6
N100 IF $P_MC == TRUE ; MCALL is active
N110 IF $AC_ASUP <> 0 ; Call is performed via search ASUB or
overstore → do not select MCALL
N140 ELSE
N150 MCALL
N160 ENDIF
N170 ENDIF
The machine manufacturer must
also ensure that a real tool change with axis movements and
a modal cycle call are permitted. Under certain circumstances, the tool change must be
prevented when the programmed tool after a block change is not the same as the tool in the
spindle.
References
SINUMERIK Operate 828D Commissioning Manual, Section "Technological cycles for drilling"
9.7.5 Example: Turning machine with counterspindle
Magazine configuration
In the magazine configuration the magazine is assigned twice as many locations as actually
exist, e.g. in the case of revolver with 12 locations, 24 locations are set up. Location 1-12 for
the main spindle, location 13-24 for the counterspindle.
The user program positions the magazine in such a way that, for example, the same position
is approached for location 1 and location 13. So each real magazine location corresponds to
a virtual magazine location for the main spindle and a virtual magazine location for the
counterspindle.
9.7.6 Example: Test for empty buffer
Procedure
Read the T number of a tool in gripper 1 and 2:
1. In the PLC user program, enter the parameters in DB1200.
2. In DB1200.DBX0.0, set the start for reading the location states.
Tool management
9.7 Application example for turning machine
CNC commissioning
Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3 313