Descriptions of the PLC subroutines
3.9 Subroutine 33 - EMG_STOP
PLC Subroutines Manual
38 Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
Example for calling subroutine 32
,QLWLDOL]DWLRQ1HWZRUN
6&$1B67
3/&B,1,
(1
3.9 Subroutine 33 - EMG_STOP
NOTICE
Do check whether this subroutine complies with relevant safety requirements or not.
Purpose
Subroutine 33 handles the Emergency Stop. Pressing down the Emergency Stop button
produces an emergency stop alarm and disables the 65 enable signal for SINAMICS V60. If
you want to clear the emergency stop alarm, you must first release the Emergency Stop
button and then press the RESET key on the MCP.
This subroutine can activate the alarm below:
Alarm 700016: DRIVE NOT READY
Local variable definition
Table 3- 3 Inputs
Variable Type Description
DELAY WORD Power on/off sequence delay (unit: 10ms)
E_KEY BOOL Emergency Stop key (NC)
Drv_RDY BOOL Drive Ready: signal for SINAMICS V60 ready
HWL_ON BOOL Triggered by the hardware limit switch of any axis (NO)
1)
SpStop BOOL External spindle stop (NO)
2)
Drv_ALM BOOL Drive alarm: signal for SINAMICS V60 alarm
NO: Normal Open
NC: Normal Close
1)
This input can come from signal OVlmt of subroutine 40, and triggers the emergency stop when
the hardware limit appears.
2)
Before the drive system disables the 65 enable signal, the PLC detects the spindle stop signal
from NCK to ensure that the spindle has stopped.