H1: Manual and handwheel travel
3.9 Retraction in the tool direction (JOG retract)
Extended Functions
194 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Selection via the user interface
The selection of JOG retract is performed on the user interface via the "Retract" softkey:
"Machine operating area" > "ETC key (">")" > "Retract"
Selection by PLC user program
The following actions must be performed to select JOG retract by the PLC user program:
● Channel-specific query whether retraction data is available
DB21, … DBX377.5 == 1 (retraction data available)
● Mode group-specific selection of JOG mode:
DB11, ... DBX(n*20+6).2 == 1 (active mode: JOG, with n=0, 1 ,2 ... for mode group 1, 2,
...)
● Channel-specific selection of JOG retract via the PI service "RETRAC".
A detailed description of the activation of the PI service "RETRAC" via the function block
FB 4 can be found in:
References:
Basic functions Function Manual, Section "P3: Basic PLC program for SINUMERIK 840D
sl" > "PI services"
● After confirmation of the selection of JOG retract (see below), select the workpiece
coordinate system:
– DB19.DBX20.7 (switch MCS/WCS)
– DB19.DBX0.7 (actual value 1 =WCS, 0 =MCS)
Selection confirmation
Following a successful selection, the following NC/PLC interface signal is set:
DB21, ... DBX377.4 = 1 (JOG retract active)
Thread cutting (G33 or G331/G332)
If the program execution was aborted during a thread cutting operation (G33 or G331/G332), the
axis grouping of tool axis and spindle is restored when JOG retract is selected. The
controller parameters and parameter sets for the involved axes are also set in accordance
with a programmed thread cutting in the part program.