PLC Subroutines Manual
6FC5397-0FP40-0BA0, 08/2013
39
Example for calling subroutine 37
3.11
Subroutine 38 - MCP_Tool_Nr (display tool number on the MCP)
Purpose
Subroutine 38 is used to display active tool number (< 100) with the 7-
segment LED on the MCP. For a tool number ≥ 100, it
displays "FF".
Local variable definition
None
Assigned global variables
None
Relevant PLC machine data
None
Example for calling subroutine 38
3.12
Subroutine 39 - HANDWHL (selecting a handwheel according to HMI
interface signals)
Purpose
Subroutine 39 is used to select one of the two handwheels to control an axis (X, Y or Z) in the machine coordinate system or
the workpiece coordinate system according to the HMI signals. With the HANDWHEEL key and axis selection key on the
MCP, you can assign the handwheel 1 in the workpiece coordinate system to any axis.
Note
You cannot use subroutine 39 together with subroutine 41 - MINI_HHU.
Local variable definition
None
Assigned global variable
None
Relevant PLC machine data
No.
Value
Description
14512 [16].7
1
Handwheel assignment with the HMI
0
Handwheel assignment with the MCP