Programming
8.2 Positional data
8-142
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
Programming
TRANS X... Y... ; Programmable offset; clears old instructions for
offset, rotation, scaling factor and mirroring
ATRANS X... Y... ; Programmable offset,
additive to the existing instructions
TRANS ; Without values: clears old instructions for offset, rotation,
scaling factor and mirroring
The instructions with TRANS, ATRANS always require a separate block.
X
W
X
Y
Y
TRANS X...
TRANS Y...
L10
Fig. 8-6 Programmable offset (example)
Programming example
N20 TRANS X20 Y15 ; Programmable offset
N30 L10 ; Subroutine call; contains the geometry to be offset
...
N70 TRANS ; Offset cleared
Subroutine call – see Section 8.9 “Subroutine technique ”
8.2.6 Programmable rotation: ROT, AROT
Functionality
The rotation is performed in the current plane G17 using the value of RPL=... specified in
degrees.
Programming
ROT RPL=... ; Programmable rotation; clears old instructions for offset,
rotation, scaling factor and mirroring
AROT RPL=... ; Programmable rotation, additive to the existing instructions
ROT ; Without values: clears old instructions for offset, rotation,
scaling factor and mirroring
The instructions with ROT, AROT always require a separate block.