13.17.4.14
PI service: SETUFR
Function: Activate user frames
User frames are loaded to the NC. All necessary frame values must be transferred to the NC
first with FB3 "Write variables".
Description of formal parameters
Signal
PIService:
Unit:
13.17.4.15
PI service: RETRAC
Function: Select JOG retract
Selects the JOG retract mode. The retraction axis, i.e. the geometry axis, with which the
retraction is executed can be determined by the NC automatically or specified explicitly.
The mode remains active until it is ended with RESET.
Note
The RETRAC PI service can only be activated in JOG mode in the "Reset" state.
Automatic determination
For automatic determination, the geometric axis is selected as a retraction axis, which is
perpendicular (orthogonal) to the currently selected working plane:
● G17: Retraction axis ⇒ 3rd geometry axis (Z)
● G18: Retraction axis ⇒ 2nd geometry axis (Y)
● G19: Retraction axis ⇒ 1st geometry axis (X)
Note
OPI variable retractState
The active retraction axis can be read via the OPI variable retractState.Bit 2/3.
Description of formal parameters
Signal
PIService:
Unit:
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Type
Value range
ANY
"PI".SETUFR
INT
1, 2, 3 ... 10
Type
Value range
ANY
"PI".RETRAC
INT
1, 2, 3 ... 10
P3: Basic PLC program for SINUMERIK 840D sl
Description
Activate user frames
Channel
Description
Select JOG retract mode
Channel
13.17 Block descriptions
947