Siemens SINUMERIK 828D Commissioning Manual page 325

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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
ENDIF
IF $C_TS_PROG==1
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.
CNC commissioning
Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3
IF $C_T==0
T=0
ENDIF
IF $C_T>0
IF $C_T<=$TC_MAP7[1]
POSM($C_T)
ENDIF
T=$C_T
ENDIF
_TNO_NEW=GETT($C_TS,1)
IF _TNO_NEW>0
_TL_NEW=$A_MYMLN[_TNO_NEW]
ENDIF
IF _TL_NEW>0
POSM(_TL_NEW)
ENDIF
T=$C_TS
9.7 Application example for turning machine
; T is numeric
; T=0
; Does the magazine location exist?
; Position magazine
; T programming of location number
; T is an identifier
; Querying of T number
; Does the T number exist?
; Querying of location number
; Is the tool in the magazine?
; Position magazine
; T programming without address extension
Tool management
311

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents