PLC Subroutines Manual
38
6FC5397-0FP40-0BA0, 08/2013
Variable
Type
Description
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
Variable
Type
Description
NC_Ready
BOOL
NC ready
Relevant PLC machine data
No.
Value
Description
14512 [18].4
1
Spindle has an external stop signal
0
Spindle has no external stop signal
Example for calling subroutine 33
3.10
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
Variable
Type
Description
NODEF
BYTE
Reserved word
AFL_Key
BOOL
Define the Auxiliary Function Lock at the MCP key
Table 3-6
Outputs
Variable
Type
Description
AFL_LED
BOOL
Define the Auxiliary Function Lock at the MCP LED