01.91
5 Configuring
5.17 FB 197 Load tool list (milling version)
PLC task 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 of "Load tool list" FB
NAME
: WZ- LISTE
ST
:
F 100.2
DBVS
:
DB 250
First DB of the 3 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
T . . .
H . . . = 0
T . . .
Jump to N1 if R 150 = 0
:
Start FB "Load tool list"
:
Stop decoding
T . . . H . . . = 0
First active tool, required several times
N1
H . . .
Second active tool, required only once
H . . .
:
!
:
!
nth active tool, required several times
v
Terminate FB "Load tool list"
Machining
Start FB "Generate exchange list"
program
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
5–77
SINUMERIK 840/880 (PJ)