Programming instructions
14-10
Appendix NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
VIII. SP through WP
Func-
tion G Group Meaning Description
Page
SP Select NC pro-
gram for process
Syntax: DP <process> <program number>
; The defined NC program is selected (if no continuous
selection in SPS) for the specified process.
9-2
SPC Select main
spindle for trans-
formation
* modal
Syntax: SPC <spindle number>
; SPC selects main spindle for Transformation (G30, G31,
G32).
4-56
SPF Select main
spindle for feed
programming
* modal
Syntax: SPF <spindle number>
; SPF selects the main spindle for spindle - feed coupled G
codes (G33, G63/G64, G65, G95 and G96).
4-43
SPT Selects Tool
Spindle
* modal
Syntax: SPT <spindle number>
; SPT selects the tool spindle for the tool edge selection via
the NC command E.
8-2
T Tool selection
and call
Syntax: T<number>
; Selects the specified Tool Number and its data (MTP) or
location (MMP).
8-1
TCH Complete Tool
Change
Syntax: TCH(<position>,<spindle>) { (.,.) optional }
; Initiate complete tool change between tool spindle and
magazine location.
8-8
TLD Read/write Tool
Data
Syntax: TLD([process],[address],[Storage/T-number],
[location/index number], [edge],[data element],[Status])
11-8
TMS Tool from Maga-
zine to Spindle
Syntax: TMS(<position>,<spindle>) { (.,.) optional }
; Initiate tool transfer (physical / logical) from the magazine
pocket in change position to the selected tool spindle.
8-8
TSM
Tool from
Spindle to
Magazine
Syntax: TSM(<position>,<spindle>) { (.,.) optional }
; Initiate tool transfer (physical / logical) from the se-
lected tool spindle to the magazine pocket in the
change position.
8-9
WER
Wait until NC
event is Reset
Syntax: WER <process number>: <NC event number>
; NC program execution stops until the defined process
NC event is reset (has status ‘0’).
7-3
WES
Wait until NC
event is Set
Syntax: WES <process number>: <NC event number>
; NC program execution stops until the defined process
NC event is set (has status ‘1’).
7-2
WP
Wait for
Process
Syntax: WP <process>
; NC program execution stops until the defined process
is done (acknowledged via SPS).
9-3