Writing Traversing Programs
10-2
FM 353 Stepper Drive Positioning Module
6ES7 353-1AH01-8BG0
Traversing block
A traversing block contains all the data required to perform a machining step.
Program structure
A program consists of several blocks. Each block number occurs only once, and
numbers are arranged in ascending order.
A sample program structure follows:
/
Start of program =
N
G1
G2 G3 X/t F
D
PL
100 000 10500 000590
lowest block number
6
7
45
91
...
... ...
46 2
End of program = M2
or M30
.
.
.
M1 M2 M3
10.1 Traversing blocks
Block structure
The following Figure gives you an overview of the structure of traversing blocks.
/ − Identifier for skipped block
N − Block number
G1 − G function of first function group
G2 − G function of second function group see Table 10-1
G3 − G function of third function group
X/t − Position/dwell time
F − Speed
M1 − M function of first function group
M2 − M function of second function group see Table 10-2
M3 − M function of third function group
D − Tool offset number
L − Call a program as a subprogram
P − Number of subprogram runs
/ N
G1
G2 G3 X/t F M1
M2
M3
D
PL