Fb 179 Wz-Cursr Tools Selected According To Cursor Position - 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.18 FB 179 Tools selected according to cursor position
9.2.18 FB 179 WZ-CURSR
Tools selected according to cursor position
Description
The FB 172 initializes the "Selected tools" display with the display parameters of the tool
selected via the cursor position. The block first deletes the selection buffer, then selects the
tools according to the cursor position and copies them into the selection buffer. The following
criteria are available:
ID number, tools whose prewarning limit is reached, tool size, occupied locations.
The block requires the selection buffers DB 183 to DB 189 (length: 50 words) that are created
by the FB 161 at a restart. The block at first searches the buffer and afterwards all chained
magazines starting from the magazine to be loaded.
The following message appears if more than 50 tools have been found: "Selection buffer full!".
In case of an error, a user-specific text is output together with the corresponding error
message.
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 179
DB 145, DW 95
Signal descriptions
FEHL
The cause of the error is stored as the number of a user text in DB 146, DW 97:
DB 146, DW 7:
ZW
DB 145, DW 95:
9–98
: 10050
: FB 111, FB 132, FB 164, FB 179
: None
: Conditional in FB 160
: DB 183, DB 184, DB 185, DB 186, DB 187, DB 188, DB 189
: 01: No tool found
02: Magazine not available
03: Illegal criterion
11: Selection buffer full!
FB WZ-CURSR
ZW
FEHL
01: No tool found
02: Magazine not available
03: Illegal criterion
11: Selection buffer full!
Status words for internal statuses
© Siemens AG 1991 All Rights Reserved
DB 146, DW 7
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