Siemens SINUMERIK 840 Planning Manual page 119

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

Advertisement

5 Configuring
5.14 FB 155 Input via tape
8:
Delete magazine location
The decision whether the ID and Duplo No. remain unchanged is made by the
"SR: KC 9+9" subroutine, depending on whether reloading was selected.
Specification: Magazine No.
Locator No. which is to be deleted.
9:
Delete magazine
The decision whether the ID and Duplo No. remain unchanged is made by the "SR: KC
8+9" subroutine, depending on whether reloading was selected.
Specification: Magazine No.
Locator number from where the data are to be deleted in ascending order.
Assignment of identification bits
Identifications in the dynamic buffer
R 38 (8 bits)
DW 32
DW 33
R 40 (8 bits)
The identification bits are assigned according to machine data specifications in the following
way:
a)
MD 7011.7 = 0
DR 32 of the dynamic buffer is ORed with the contents of the magazine table DB 152
and the result entered in DB 152.
b)
MD 7011.7 = 1
The data distributor does not reassign the data words DW 32 and DW 33 of the dynamic
buffer. Instead, the data distributor calls FB 150 once per cutting edge to be loaded.
A flag interface is available both for source and target to ensure that the user can assign the
data correctly. This interface is defined as follows:
FY 245 = DB No. of the current dynamic buffer
FY 246 = DW No. of the current magazine location
The FB 150 function block must be generated and loaded by the user. The reassignment of
the 32 bits from the dynamic buffer to the magazine table and vice versa is to be implemented
in this FB by the user to suit the particular requirements.
Example of a call:
FB 150
SEGMENT 1
NAME
: CL
: AW-S
: DO
FW 244
: C
DB 0
: L
DD 32
: C
DB 158
: L
FW 246
: JU
OB 180
: TAK
: T
DW 0
: C
DB 159
: L
FW 246
: JU
OB 180
: TAK
: S
RD 16
: T
DW 0
: BE
5–58
R 21 (8 bits)
R 39 (8 bits)
Note:
Tools with several
cutting edges have to be
ORed!
2nd USER DB
© Siemens AG 1991 All Rights Reserved
11.92
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