Programming instructions

NC Programming 17VRS Appendix
14-7
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
V. ACC through BTE
Func-
tion G Group Meaning Description
Page
ACC Programmable
acceleration
* modal
Syntax: ACC <constant>
; The programmed constant (0 ..
100) limits the acceleration of all axes programmed in NC
block ACC.
4-13
AP Advance pro-
gram
Syntax: AP <process>
; The advance program which was
selected using SP is started for the specified process.
9-3
AXD Data exchange
with digital drives
Syntax: AXD(<axis name>: <SERCOS ID number>)
; Read and write drive data using the SERCOS.
11-1
BEQ Branch if equal to
zero
Syntax: BEQ <label>
; The program continues executing if
the last result is equal to zero.
9-16
BER Branch if event
reset
Syntax: BER <label> <process number>: <event number>
; Program execution continues at the defined label if the
event is reset.
9-15
BES Branch if NC
event is set
Syntax: BES <label> <process number>: <event number>
; The program execution is continued at the specified label if
the defined NC event is set.
9-15
BEV Branch on NC
event to NC sub-
routine
(interrupting)
Syntax: BEV <label>: <NC event number>
; The defined
process NC event (0 .. 7) is monitored by the NC after exe-
cuting the NC command BEV. NC block execution at the NC
block with the defined label if the NC event has a status of ‘1’.
7-6
BMI Branch if less
than zero (minus)
Syntax: BMI <label>
; Program execution continues at the
specified label if the result of the last mathematical expres-
sion was less than zero (minus).
9-16
BNE Branch if not
equal to zero
Syntax: BNE <label>
; Program execution cont. at the NC
block starting with the specified label if the result of last math
operation was not equal to zero.
9-16
BPL Branch if equal to
or greater than
zero (if plus)
Syntax: BPL <label>
; Program execution cont. at the NC
block starting with specified label if result of last math opera-
tion was equal or greater than zero.
9-16
BRA Branch absolute
Syntax: BRA <label>
; Program execution continues at the
NC block with the specified label.
9-9
BRF Branch if refer-
ence
Syntax: BRF <label>
; Program execution continues at the
NC block with the specified label if all process axes are refer-
enced (homed).
9-15
BSE Branch if spindle
is empty
Syntax: BSE <label> BSE .SPLE
; The BSE branch command is used for determining whether
or not the spindle is empty.
8-9
BSR Branch to NC
subroutine
Syntax: BSR <label>
; Program execution continues at the
NC block starting with the specified label (identifies the NC
subroutine begin).
9-11
BST Branch with Stop
Syntax: BST <label>
; The NC program branches to the de-
fined label, sets the default preparatory functions (G codes)
and waits for a new start.
9-8
BTE Branch if tool T0
selected
Syntax: BTE <label>
; Program execution continues at the
NC block starting with the defined label if the tool T0 (no tool)
has been programmed.
9-15