Descriptions of the PLC subroutines
3.7 Subroutine 31 - PLC_ini_USR_ini (user initialization)
PLC Subroutines Manual
Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
37
3.7 Subroutine 31 - PLC_ini_USR_ini (user initialization)
Purpose
Subroutine 31 is used for user initialization and can be called in subroutine PLC_INI. Since
the subroutine PLC_INI can be called only during the first PLC cycle, the subroutine
PLC_ini_USER_ini can be called also only during the first PLC cycle.
Local variable definition
None
Relevant PLC machine data
None
Example for calling subroutine 31
3.8 Subroutine 32 - PLC_INI (PLC initialization)
Purpose
Subroutine 32 is executed at the first PLC cycle (SM0.1). This subroutine set 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
At the end of this subroutine, subroutine 31 (PLC_ini_USR_ini) is automatically called. You
can program the initialization of customer PLC project in the subroutine 31.
Local variable definition
None
Relevant PLC machine data
None