Descriptions of the PLC subroutines
3.30 Subroutine 58 (MM_MAIN)
PLC Subroutines Manual
70 Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
Table 3- 37 Outputs
Name Type Description
AL_03 BOOL Not approaching the reference point on axis X
AL_04 BOOL Not approaching the reference point on axis Z
AL_09 BOOL Incorrect start in the spindle direction
AL_11 BOOL JOG program timeout
AL_12 BOOL Spindle rate not 100%
AL_13 BOOL Spindle not being started
AL_14 BOOL Feed rate 0%
AL_16 BOOL Spindle direction change in a thread not allowed
Assigned global variables
Byte Signal Byte
7
Byte 6 Byte 5 Byte 4 Byte 3 Byte 2 Byte 1 Byte 0
MB1
70
HMI<->MM Request
for MM
HMI
startup
MM HMI
enabled
MM HMI
started
MB1
71
HMI<->MM
MB1
72
HMI<->MM
MB1
73
HMI<->MM
MB1
74
HMI<->MM Cone
angle
270°-
360°
Cone
angle
270°
Cone
angle
180°-
270°
Cone
angle
180°
Cone
angle
90°-
180°
Cone
angle
90°
Cone
angle
0°-90°
Cone
angle 0°
MB1
75
HMI<->MM Directio
n key
enabled
Spindle
rotated
MB1
76
HMI<->MM Working
step
enabled
Groove
enabled
Thread
chaining
enabled
Drilling
enabled
Arc
enabled
Cutting
enabled
Thread
enabled
MB1
77
HMI<->MM
MB1
78
MB1
79
MB1
80
Recuttin
g
cancele
d
Recuttin
g
perform
ed
Recut
the
thread
or not?