Siemens SINUMERIK 840 Planning Manual page 145

Function blocks for plc 135 wb
Hide thumbs Also See for SINUMERIK 840:
Table of Contents

Advertisement

5 Configuring
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
: L
KH 1243
: T
FW 102
: L
KH 5678
: T
FW 104
: L
KB 200
: T
FY 106
: L
KB 250
: T
FY 107
:
: 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
EW1 (data to be read in)
EW2 (data to be read in)
EW3 (data to be read in)
Maximum number of data lines
First data block of the buffer
© Siemens AG 1991 All Rights Reserved
01.91
6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840cSinumerik 880Sinumerik 880 ga2

Table of Contents