PLC Subroutines Manual
38 6FC5397-0FP40-0BA0, 08/2013
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 control enable signal, the PLC detects the spindle stop signal from NCK to ensure
that the spindle has stopped.
Table 3-4 Outputs
NC_Ready BOOL NC ready
Relevant PLC machine data
14512 [18].4 1 Spindle has an external stop signal
0 Spindle has no external stop signal
Example for calling subroutine 33
Subroutine 37 - MCP_NCK (MCP and HMI signal processing)
Purpose
Subroutine 37 is used to transfer the interface signals from the MCP and HMI to the NCK interfaces, and thus to activate the
specific operating mode and control sequences. It has the following main functions:
● Selecting specific operating mode
● Selecting override
● Transferring signals from the HMI to NCK interfaces (for instance, program control, handwheel, etc.)
● Controlling the axis traversing signal according to the PLC machine data
Local variable definition
Table 3-5 Inputs
NODEF BYTE Reserved word
AFL_Key BOOL Define the Auxiliary Function Lock at the MCP key
Table 3-6 Outputs
AFL_LED BOOL Define the Auxiliary Function Lock at the MCP LED