PLC Subroutines Manual
36
6FC5397-0FP40-0BA0, 08/2013
3.6
Subroutine 23 - AUX_CHIP (chip remover)
Purpose
Subroutine 23 is used to control chip remover and can be called in AUX_MCP. At first-time pressing of the "Chip Forward"
key the output "ChipFwd" is high; at second-time pressing of the "Chip Forward" key the output "ChipFwd" becomes low.
When the output "ChipFwd" is low, the output "ChipRev" becomes high at pressing "Chip Reverse" key and becomes low at
releasing the "Chip Reverse" key.
Local variable definition
None
Relevant PLC machine data
No.
Description
14512 [16].1
Selection of chip remover function (0: do not use; 1: use)
Example for calling subroutine 23
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