Function Block FB54 (Schematic Diagrams)
6.4.5.2
Function block FB54 shows the use of function
via the data block DB1 60. The assignment of the data words is fixed!
Segment
1:
Parameter list: STRT I,W
Segment 2:
Load actual operand in the scratchpad flag area: STRT -> FW200
Segment 3:
Call user DB (DB160)
yes
L KB1
T DR7
FBI 64
Call
NAME : PER : POS
BA
:
STAR :
STOP :
VORW :
R U C K :
UEBN :
:
:
BFEH :
TBIT
:
BTR
:
MFKT :
RMLD :
block
Formulate "job" for axis:
KYO,
160
F 0.0
F 0,0
F 0.0
F 0.0
F 0.0
F 0.0
F 14.0
F 14.1
F 14.2
FYO
FYO
FYO
ANZI : FWO
or
FDO
ANZ2: FWO
FBI 64 with indirect parameter assignment
->
BA
COMMANDS
->
->
->
->
F 201.5
L KBO
with the S5-1 15U
}
Examples
I
no
6 - 6 5