Programming
In the programming example, a job for positioning the magazine with POSM is output at the
interface. During the magazine
positioning, the block processing of the NC must be controlled
by the PLC user program. In most cases, it is useful to set the load or feed disable during this
time. As soon as the position setpoint specified in the job is reached (asynchronous message
of the magazine position), the job is terminated with total acknowledgment.
PROC L6 SAVE SBLOF DISPLOF
IF $C_T_PROG==1 ; T is numeric
IF $C_T==0 ; T=0
T=0
ENDIF
IF $C_T>0
IF $C_T<=$TC_MAP7[1] ; Does the magazine location exist?
POSM($C_T) ; Position magazine
ENDIF
T=$C_T ; T programming of location number
ENDIF
ENDIF
IF $C_TS_PROG==1 ; T is an identifier
_TNO_NEW=GETT($C_TS,1) ; Querying of T number
IF _TNO_NEW>0 ; Does the T number exist?
_TL_NEW=$A_MYMLN[_TNO_NEW] ; Querying of location number
ENDIF
IF _TL_NEW>0 ; Is the tool in the magazine?
POSM(_TL_NEW) ; Position magazine
ENDIF
T=$C_TS ; T programming without address extension
ENDIF
M17
Tool call for tool measuring
For special applications, such
as measuring in JOG, it is necessary to load a specific tool (e.g.
miller_15, duplo number 2) - independent of its status - to the spindle or the tool holder; this
can be the case, for example, if a tool was being used, but was locked by the tool monitoring
function. Now, before being released again, it should be measured. The NC command TCA
is available to call a tool independent of the status and by selecting duplo number and tool
holder number; this is used when measuring tools in JOG. The NC command TCA ("Tool
name", duplo number, tool holder number) behaves like the T command with respect to alarm
and command output to the PLC.
Tool management
9.7 Application example for turning machine
CNC commissioning
Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3 311