5 Configuring
01.91
5.20 FB 197 Load tool list (turning version)
PLC user program:
: A
F
100.1
H function, end of the leader
: R
F
100.2
H function, beginning of the leader
:
: L
KB 1
Channel 1
: T
FY 110
: L
KB 110
Maximum number of tools
: T
FY 111
:
: JU
FB 197
Call FB "Load tool list"
NAME
: WZ- LISTE
ST
:
F
100.2
DBVS
:
DB 250
First of the three tool list DBs
ANZ
:
FY 111
NSBY
:
DL 17
RPAR
:
KF +150
KANR
:
FY 110
ESP
:
F
199.0
F
:
F
199.1
:
: BE
Relevant NC program:
%100
R150=0
H . . .
@714
@122 R 150 K0 K1
Jump to N1 if R 150 = 0
T 1
H 1
Start FB "Load tool list"
T 5 . .
Decoding stop
:
T1 is intended for turret location 1
:
No location specified for T5
T 12
H 2
:
N1
H . . .
:
H . . .
T12 intended for location 2
!
Terminate FB "Load tool list"
!
Start FB "Generate exchange list"
v
Part program
5–88
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)