Fb 172 Wz-T-Nr Tools Selected According To T Number - Siemens SINUMERIK 840 Planning Manual

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

Advertisement

01.91
9.2.12 FB 172 WZ-T-NR
Tools selected according to T number
Description
FB 172 initializes the display "Selected tools" with display parameters. The block determines
the required tool in the magazine assignment via the T number entered.
The block first deletes the selection buffer and then selects the tools via the T numbers and
copies them into the selection buffer. DBs 183 to 189 are required as selection buffers (length
= 50 words); they are generated by FB 161 at a cold restart.
The block first searches the buffer and afterwards all chained magazines from the magazine to
be loaded onwards. The following message appears if more than 50 tools are found:
"Selection buffer full!".
If an error occurs during processing, 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 172
DB 145, DW 95
Signal descriptions
FEHL
The cause of the error is stored as a number of a user-specific text in DB 146, DW 7:
DB 146, DW 7:
ZW
Internal status word
DB 145, DW 95
© Siemens AG 1991 All Rights Reserved
SINUMERIK 840/880 (PJ)
9.2.12 FB 172 Tools selected according to T number
: 10050
: FB 111, FB 132, FB 164, FB 172
: None
: Conditional in FB 160
: DB 183...DB 189
: 01: No tool found
02: Magazine not available
03: Illegal criterion
11: Selection buffer full!
FB WZ-T-NR
ZW
FEHL
01: No tool found
02: Magazine not available
03: Illegal criterion
11: Selection buffer full!
6FC5 197-0AA40-1BP1
DB 146, DW 7
9 Examples
9–79

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840cSinumerik 880Sinumerik 880 ga2

Table of Contents