Subroutine 32 - Plc_Ini (Plc Initialization); Subroutine 33 - Emg_Stop - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

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

Advertisement

6.6.9

Subroutine 32 - PLC_INI (PLC initialization)

Purpose
Subroutine 32 is executed at the first PLC cycle (SM0.1). This subroutine sets NCK interface signals according to the
machine settings defined by PLC machine data. In this subroutine, the following interface signals are set:
● DB3200.DBX6.7: feed override of the NCK channel becomes active
● DB380x.DBX1.5: measurement system 1 of the axes is active
● DB380x.DBX1.7: feed override of the axes is active
● DB1700.DBX1.3: active ROV
The following signals are reset:
● DB1700.DBX0.6:reset DRY
At the end of this subroutine, subroutine 31 (PLC_ini_USR_ini) is called. You can program the initialization of customer PLC
project in the subroutine 31.
Local variable definition
None
Relevant PLC machine data
None
Example for calling subroutine 32
6.6.10

Subroutine 33 - EMG_STOP

NOTICE
Program safety
Check whether this subroutine complies with the relevant safety requirements or not.
Purpose
Subroutine 33 handles emergency stop. Pressing down the Emergency Stop button produces an emergency stop alarm and
disables the drive enable signal (DB380x.DBX2.1). 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 activates the alarm below:
Alarm 700016: DRIVE NOT READY
Timing diagram
170
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents