5 Configuring
01.91
5.19 FB 199 First in first out (milling version)
DBSP
Data block, storage
Specification of the first DB of a total of 3 DBs in which the entries are to be stored.
EINL
Read in
At the positive-going edge of the parameter, the values present at the input channels
are entered into the buffers.
AUSL
Read out
At the positive-going edge of the parameter, the entries are output via output chan-
nels AW 1...3 on the "first-in-first-out" principle.
LOES
Delete
All entries in the buffer DBs are deleted at the positive-going edge of the parameter.
VOLL
Message output if the buffers are full.
LEER
Message output if the buffers are empty.
AW 1... Output channels containing those buffer entries that are output according to the FIFO
AW3
principle.
GST
Initial setting
Generating the buffer DBs DBSP...DBSP+2
Program example:
The FB "FIFO" is to be used for entering data (three words in parallel) in the data buffer
(DB 250, DB 251, DB 252) when input I 4.0 has a "1"signal.
A maximum of 200 data lines can be stored.
:
: L
KH 8000
: T
FW 100
EW1 (data to be read in)
: L
KH 1243
: T
FW 102
EW2 (data to be read in)
: L
KH 5678
: T
FW 104
EW3 (data to be read in)
: L
KB 200
: T
FY 106
Maximum number of data lines
: L
KB 250
: T
FY 107
First data block of the buffer
:
: JU FB 199
NAME
: FIFO
EW1
: FW 100
EW2
: FW 102
EW3
: FW 104
ANEI
: FY 106
DBSP
: FY 107
EINL
: I 4.0
AUSL
: I 4.1
LOES
: I 4.2
VOLL
: Q 4.0
LEER
: Q 4.1
AW1
: FW 108
AW2
: FW 110
AW3
: FW 112
:
: BE
5–84
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)