Commissioning Manual
266 6FC5397-4EP10-0BA8, 07/2018
1000
ASUP exe-
cution not
Interrupt
no. not
ASUP is
being exe-
ASUP end-
ed
1001
ASUP exe-
cution not
Interrupt
no. not
ASUP is
being exe-
ASUP end-
ed
The ASUP function means the execution of the program PLCASUP1.SPF or PLCASUP2.SPF called by the PLC. The two
ASUPs cannot be simultaneously executed, and PLCASUP1.SPF has a higher priority over PLCASUP2.SPF.
In a PLC program, firstly you must initialize the ASUP by setting "PI index" (DB1200.DBB4001) and "NCK read/write start"
(DB1200.DBX4000.0), and then use a rising edge to trigger "ASUP1 start" (DB3400.DBX0.0) or "ASUP2 start"
(DB3400.DBX1.0).
The control system provides two default ASUPs for the PLC. ASUP1 is used for manual tool change and ASUP2 is used for
the manual machine of the workpiece on a turning machine with the Manual Machine Plus function.
You can also use your own ASUPs as required. To do so, you must first place your programs (PLCASUP1.SPF and
PLCASUP2.SPF) in the manufacturer cycle directory (N:\CMA), and then set "PI index" (DB1200.DBB4001) to 1 (ASUP1)/2
(ASUP2).
To use this function, you need to only execute the PI service. Here, no initialization of the PI service is required.
By default, MD14512 [19].2 = 0, which indicates that the control system will automatically delete the password after NC
restarts. If you want the control system to remember the last used password every time the NC restarts, you need to set
MD14512 [19].2 = 1.
Programming a retraction for rigid tapping
When the rigid tapping is interrupted under the following circumstances, you can retract the tapping tool to a safe position by
programming with G332 in "MDA" mode, without causing damage to the workpiece or the machine tool:
● NC reset
● Emergency stop
● Power-off
● A digital spindle is configured with a single-turn 21-bit absolute encoder.
● MD30240 is set to 4 for the spindle. This machine data can be accessed through the following operations:
+ → → →
The retraction distance is specified by axis X, Y, or Z (which should be the same as the tapping axis); the thread pitch is
specified via the relevant I (for axis X), J (for axis Y), or K (for axis Z). The spindle speed is programmed with S.
G332 Z20 K1 S100