Subroutine 31 - Plc_Ini_Usr_Ini (User Initialization); Subroutine 32 - Plc_Ini (Plc Initialization) - Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual

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

Advertisement

6.6.8

Subroutine 31 - PLC_ini_USR_ini (user initialization)

Purpose
Subroutine 31 is used for user initialization and should be called in subroutine PLC_INI. Since the subroutine PLC_INI is
called only during the first PLC cycle, the subroutine PLC_ini_USER_ini is also only called during the first PLC cycle.
Local variable definition
None
Relevant PLC machine data
None
Example for calling subroutine 31
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
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents