Commissioning The Turret/Magazine; Plc Subroutines For Tool Change; Calling Cycles For Tool Change - Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

8

Commissioning the turret/magazine

8.1

PLC subroutines for tool change

The following PLC subroutines are provided for the turret/magazine control on a turning or milling machine.
Subroutine
Name
No.
SBR 51
Turret1_HED_T
SBR 52
Turret2_BIN_T
SBR 53
Turret3_CODE_T
SBR 60
Disk_MGZ_M
8.2

Calling cycles for tool change

You can call a user cycle with "M" or "T" code to perform the tool change operations.
Note
An "M" code and a "T" code for calling user cycles must not be in the same program block.
The following examples are given for the tool change on a milling machine.
Calling a tool change cycle with "M6"
Configure the parameters shown in the table below to activate an M code for calling a standard cycle:
Parameter
Name
22550
TOOL_CHANGE_MODE
22560
TOOL_CHANGE_M_CODE
10715
M_NO_FCT_CYCLE[0]
10716
M_NO_FCT_CYCLE_NAME[0]
For the format of a standard cycle, refer to the example below:
%_N_TOOL_SPF
;$PATH=/_N_MPF_DIR
PROC TOOL SAVE DISPLOF
IF $P_ISTEST GOTOF _END
IF $P_SEARCH<>0 GOTOF _END
IF $P_TOOLNO==$P_TOOLP GOTOF _NO
G500 D0
G75 Z=0
SPOS=$MN_USER_DATA_FLOAT[0]
MSG("Ready to change tool *** Original tool num-
ber: T"<<$P_TOOLNO)
;>>> User-defined M codes can be used to start the PLC logic for tool change after spindle position-
ing
;>>> PLC sets signal "Read-in disable" (DB3200.DBX6.1) to stop this standard cycle
;>>> PLC controls the action of tool magazine and turret
;>>> After the tool change, PLC resets signal "Read-in disable" to resume the cycle
M206
STOPRE
G153 G01 Z0 F2000
MSG("Start to change tool *** New tool number:
226
Description
HED turret control for turning ma-
chine
Bi-direction turret (binary coded)
control for turning machine
Bi-direction turret (coded by turret
supplier) control for turning ma-
chine
Disk tool magazine control for
milling machine
Unit
-
-
-
-
See also
Subroutine 51 - Turret1_HED_T (turret with Hall
effect device position sensor) (Page 164)
Subroutine 52 - Turret2_BIN_T (turret with binary
coding function) (Page 166)
Subroutine 53 - Turret3_CODE_T (tool change
control for turret with coding function) (Page 168)
Subroutine 60 - Disk_MGZ_M (disk-style tool
magazine used for milling) (Page 175)
Value
Description
1
Activating tool parameters with an M code
206
The M code for activating tool parameters
6
Calling the standard cycle with M6
"TOOL"
Name of the standard cycle
;>>> Name of user cycle <<<
;>>> Path of user cycle <<<
;>>> Definition of user cycle <<<
;No tool change in "program test"
;No tool change in "program search"
;No tool change if programmed tool ($P_TOOLP) =
currently active tool ($P_TOOLNO)
;Work offset and tool offset OFF
;Approach fixed point (tool change position) in Z
;Spindle exact stop position is stored in
MD14514[0]
;A maximum of 127 characters can be displayed
;Activate tool parameters
;Program processing stop
;G153 suppresses work offset including base frame,
non-modal
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents