![Siemens SINUMERIK 808D ADVANCED M Скачать руководство пользователя страница 54](http://html.mh-extra.com/html/siemens/sinumerik-808d-advanced-m/sinumerik-808d-advanced-m_user-manual_1266035054.webp)
PLC Subroutines Manual
54
6FC5397-0FP40-0BA0, 08/2013
Example for calling subroutine 51
3.25
Subroutine 52 - TURRET2_BIN_T (turret with binary coding function)
Purpose
Subroutine 52 is used to control the turret with encoder positioning signals and function of dual-direction adjacent tool
change. Contact the turret vendor for the working theory and the timing diagram of a tool change.
During a tool change, the NC interface signals "Read-in disable" (DB3200.DBX6.1) and "Feedhold" (DB3200.DBX6.0) are
set, so the part program can continue running only after the tool change action.
The turret position action is forbidden in case of an emergency stop, turret motor overload or program test/simulation.
This subroutine can activate the following alarms:
●
Alarm 700022: Turret motor overload
●
Alarm 700023: Programmed tool number higher than the max. tool number of the turret
●
Alarm 700024: Wrong setting of the max. tool number for the turret
●
Alarm 700026: Not able to find expected tool in monitor time
●
Alarm 700011: Not able to lock tool in expected time
Local variable definition
Table 3-28
Inputs
Name
Type
Description
Tmax
WORD
Max. tool number of the turret
Tm_Lck
WORD
Turret clamping time (unit: 0.1 s)
Tm_Chg
WORD
Tool change monitoring
T_1
BOOL
Tool code A x 1
T_2
BOOL
Tool code B x 2
T_3
BOOL
Tool code C x 4
T_4
BOOL
Tool code D x 8
Parity
BOOL
Position parity
Strobe
BOOL
Position strobe