Programming instructions

NC Programming 17VRS Appendix
14-9
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
VII. MRF through SE
Func-
tion G Group Meaning Description
Page
MRF Tool storage to
Reference
Syntax: MRF
; Initiates the referencing sequence of the tool storage.
8-3
MRY Tool Storage
Ready ?
Syntax: MRY
; Stops the NC program execution until the active tool storage
movement is completed.
8-7
MTD Reading and
writing the ma-
chine data ele-
ments
Syntax: MTD([Page no.],[control variable 1], [control vari-
able 2], [element no.])
; Within an NC block, any number of data elements may be
read from the machine data. However, only one data element
can be written to at any one time.
11-14
MTP Move pro-
grammed Tool
into Position
Syntax: MTP(<position>,<direction>) { (.,.) optional }
;
Causes tool storage to move location of last programmed tool
(T-number) in defined direction to defined change position.
8-4
NMP Negative Memo-
rized Position
Syntax: NMP(<axis designation>)
; Reads the position of an axis that was strobed with ‘0’
‘1’
of the AxxC.STRBP Gateway signal.
11-1
O Offset Table Data
selection for G54
.. G59
Syntax: O <offset table number>
; Depending on the process parameters def., the Offset Table
0 .. 9 can be selected. Offset Table 0 is active by default.
3-10
OTD Read / write Off-
set Table Data
Syntax: OTD([NC memory],[process],[offset table],
[offset],[axis])
11-6
P Active plane ro-
tation together
with G50, G51,
G54 .. G59
Syntax: G50-G51 P<angle>
; Interpolation plane rotation. Becomes active in the next NC
block.
3-6
PMP Positive Memo-
rized Position
Syntax PMP(<axis designation>)
; Reads the position of an axis that was strobed with ‘1’
‘0’
of the AxxC.STRBP Gateway signal.
11-1
POK Process com-
plete (full depth)
Syntax: POK
; POK can be used to define when the machining is complete
(if supported by SPS).
9-5
RAD Angle unit
radians
Syntax: RAD
; Arguments and reciprocal functions of the
trigonometric functions SIN, COS, TAN, and ASIN, ACOS,
ATAN in the angle unit Radians.
10-5
RE Reset NC event
Syntax: RE <process no.>: <NC event number>
7-2
RET Return to NC
program begin
Syntax: RET
; NC program jumps to the first (top) NC block, stops execu-
tion and activates defaults.
9-8
REV Set Reverse
Vector
Syntax: REV <label>
; The defined label identifies the NC block where the NC pro-
gram execution continues when the reverse NC program is
started.
9-12
RP Reverse Process
Syntax: RP <process>
; The advance NC program is stopped and the reverse NC
program is started for the defined process (if supported by
the SPS).
9-3
RTS Return from NC
subroutine
Syntax: RTS
; NC program execution cont. with NC block that follows NC
block containing the last executed ‘branch to subroutine’
(BSR, JSR, etc.)
9-11
SE Set NC event
Syntax: SE <process no.>: <NC event no.>
7-1