Fb 166 Bela-Sp Load Spindle - Siemens SINUMERIK 840 Planning Manual

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

Advertisement

9 Examples
9.2.6 FB 166 Load spindle
9.2.6
FB 166 BELA-SP
Load spindle
Description
FB 166 sets the bit "Function flag" = manual loading
The block searches for an empty location for the new tool of the spindle in the magazine to be
loaded and reserves the empty location found for the tool change. Then the "D 117.1" bit is
set at the "Acknowledge spindle" interface.
The spindle can be loaded by operating the "Acknowledge" key.
If the "Abort" key is pressed, the empty location found is enabled again.
If no empty location is found, a corresponding message is displayed on the screen and the
"D 117.1" bit is not set. The "Acknowledge spindle" function is interlocked via the bit of the
interface.
In the first cycle, the block checks whether the spindle is already occupied and whether the
tool size entered is valid.
If the scan is negative, a corresponding message is output on the screen and the call of the
submenu display disabled.
Block data
Lib. No.
FBs to be loaded
DBs to be loaded
Type of FB call
DBs to be input
Error messages
Block call FB 166
DB 145, DW 112
Signal descriptions
FEHL
The cause of the error is stored as the number of a user text in DB 146, DW 7; and
as the number of an interactive text in DB 40, DW 50:
DB146, DW 7:
DB 40, DW 50:
ZW
DB 145, DW 112:
9–62
: 10051
: FB 112, FB 122, FB 131, FB 132, FB 152, FB 166
: None
: Conditional in FB 160
: None
: 08: Spindle reserved
15: No empty location found
16: Invalid tool size
FB BELA-SP
ZW
FEHL
FEHL
15: No empty location found
16: Invalid tool size
28: Spindle reserved
Status words for internal statuses
© Siemens AG 1991 All Rights Reserved
DB 146, DW 7
DB 40, DW 50
6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)
01.91

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840cSinumerik 880Sinumerik 880 ga2

Table of Contents