Siemens SIMATIC S5 Manual page 312

Ip 266 positioning module
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Programming
FB 8/FB 9: Automatic mode/Automatic single block mode
In both cases, enter the number of the mode in QB 64 and the number of the
traversing program in QB 66.
START
Enter mode number
Enter TP number
END
The traversing program for mode 8 and mode 9
As an example, the following traversing program is used to approach three
positions; drilling is started at these positions via an M function.
Traversing program %5
N01 G00 X100 M00
N02 G04 F50
N03 G91
N04 280 F200
N05 G24 F3
N06 L6
N07 G20
N08 G00 X100 M00
N09 G04 F50 M99
N10 M02
9-24
FB 8 - NAME:MO8
Invoking mode 8 with traversing
program 5
L
KB 8
T
QB 64
L
KB 5
T
QB 66
BE
Subroutine L6
The first step in main program %5 is the
approach to start position 0 (100 mm),
where, for example, a workpiece can be
N01 X20 F100
placed on the worktable. The table is then
N02 G04 F100 M30
to be brought to the starting position for
N03 G04 F100 M40
the drilling procedure.
N04 M02
Subroutine L6 executes three times. Dwells
simulate the drilling operation, which
After drilling, the drive is brought back to
position 0. The M99 function initiates
removal of the workpiece from the table.
FB 9 - NAME :MO9
Invoking mode 9 with traversing
program 5
L
KB 9
T
QB 64
L
KB 5
T
QB 66
BE
is enabled with M30 and
disabled with M40.
EWA 4NEB 812 6057-02
IP 266

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents