K1: Mode group, channel, program operation, reset response
9.9 Program operation
9.9.9
Example of a timing diagram for a program run
NC START (from PLC, HMI, COM, X user language)
NC STOP (from PLC, HMI, COM, X user language)
IS "NC START DISABLE"
IS "Read-in disable"
IS "Axis controller enable"
IS "Spindle enable"
IS "Program state running"
IS "Program state interrupted"
IS "Program state stopped" (from NCK)
IS "Program state aborted" (from NCK)
IS "Travel command X axis" (from NCK)
IS "Exact stop fine" (from NCK)
IS "Spindle stationary" (from NCK)
IS "Spindle in the setpoint range" (from NCK)
Logic operation through PLC user program
AuxF M170 from PLC user program completed,
i.e. block N10 complete (AuxF output during travel)
Program stopped with read-in disable
Program aborted with RESET
Figure 9-6
Examples of signals during the program run
9.9.10
Program jumps
9.9.10.1
Jump back to start of program
Function
With the function "Jump back to start of the program" the control jumps back from a part
program to the beginning of the program. The program is then processed again.
As compared to the function "Program jumps to jump marks", with which a repeated processing
of the program can also be implemented, the function "Jump back to the start of the program"
offers the following advantages:
● The programming of a jump mark at the start of the program is not necessary.
● The program restart can be controlled through the NC/PLC interface signal:
DB21, ... DBX384.0 (control program branching)
538
(DB21, ... DBX7.0)
(DB21, ... DBX6.0)
(DB31, ... DBX2.1)
IS "Feed stop"
(DB31, ... DBX4.3)
(DB31, ... DBX2.1)
IS "Spindle stop"
(DB31, ... DBX4.3)
(DB21, ... DBX35.0)
(DB21, ... DBX35.3)
(DB21, ... DBX35.2)
(DB21, ... DBX35.4)
(DB31, ... DBB68)
(DB31, ... DBX60.7)
(DB31, ... DBX61.4)
(DB31, ... DBX83.5)
1
Spindle
Axis running
run-up
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
2
Program:
N10 G01 G90 X100
M3 S1000 F1000
M170 If N20 M0 If
.....
Basic Functions