Download MTD 18A-V17-800 Programming instructions

Transcript
Appendix 14-9
NC Programming 17VRS
VII. MRF through SE
Function
Meaning
Description
Page
Tool storage to
Reference
Syntax: MRF
; Initiates the referencing sequence of the tool storage.
8-3
Tool Storage
Ready ?
Syntax: MRY
; Stops the NC program execution until the active tool storage
movement is completed.
Reading and
writing the machine data elements
Syntax: MTD([Page no.],[control variable 1], [control variable 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.
Move programmed 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
Negative Memorized 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
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
Read / write Offset Table Data
Syntax: OTD([NC memory],[process],[offset table],
[offset],[axis])
Active plane rotation together
with G50, G51,
G54 .. G59
Syntax: G50-G51 P<angle>
; Interpolation plane rotation. Becomes active in the next NC
block.
3-6
Positive Memorized 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
Process complete (full depth)
Syntax: POK
; POK can be used to define when the machining is complete
(if supported by SPS).
9-5
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>
RET
Return to NC
program begin
Syntax: RET
; NC program jumps to the first (top) NC block, stops execution and activates defaults.
Set Reverse
Vector
Syntax: REV <label>
; The defined label identifies the NC block where the NC program execution continues when the reverse NC program is
started.
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).
MRF
MRY
MTD
MTP
NMP
O
OTD
P
PMP
POK
RAD
G Group
8-7
11-14
11-6
7-2
REV
RP
RTS
SE
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.)
Set NC event
Syntax: SE <process no.>: <NC event no.>
9-8
9-12
9-3
9-11
7-1
DOK-MTC200-NC**PRO*V17-ANW1-EN-P