Fb 112 Empty Location 1 Search For Empty Location Without Presetting - Siemens SINUMERIK 840 Planning Manual

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

Advertisement

5 Configuration
5.3 FB 112 Search for empty location without presetting
5.3
FB 112 EMPTY LOCATION 1
Search for empty location without presetting
Description
The FB 112 is used for searching for empty locations without tool size default, both for
cartridge and chain magazines. The block must be initialized and called by the user. The
existing magazine/turret table is searched in accordance with the parameter assignments for
the search area, search direction and tool size and an area of contiguous free magazine
locations of suitable size is determined. When the empty locations required for a particular tool
have been found, the function block informs the user of the location to be allocated via the
block parameters "MANR" and "PLNR".
Permissible tool size must be within 1.1 and 7.7.
Magazines which are not chain magazines (machine data bit 11 = 0 of the current magazine)
can be searched in separate areas. The search area can be specified via the "PLAA" and
"PLAE" parameters.
In the case of chain magazines, the search area is always adapted to the magazine limits. In
addition, an actual position can be specified for chain magazines via the "IPOS" parameter. If
the parameter is not defined ("IPOS" = 0), the actual position is expected to be entered in
data word DW 76 of the submagazine-specific user interface. In both cases, the actual position
must be within the magazine limits. If the actual position is outside the search area, the middle
of the magazine is defined as actual position. In the case of linear magazines, an empty
location for an oversized tool can exceed the magazine limits.
Block data
Lib. No.
FBs to be loaded
DBs to be loaded
Type of FB call
DBs to be input
Error messages
Special features
The block supports up to six quasi-parallel searches in multi-cycle operation. For this feature,
the DB status word (DBZW) of the magazine table provides a storage area which is shared by
FB 112, FB 111 and FB 122 (neutral tool routine and search for empty location with configura-
tion). The following rules must be considered to ensure correct execution of a search job:
The block parameter assignment of a search operation must not change during the search.
The block includes the "PRGK" parameter = No. of the program channel used internally for
the internal job coordination. The default for this parameter must be '0' when the search
operation is called for the first time. In this way, a new job is introduced to the block. The
block, in turn, searches for a free internal program channel and indicates the number of the
free program channel found to the user via parameter "PRGK". For any additional FB calls
related to the initiated search, the "PRGK" parameter must be supplied with the number of the
program channel. When the search operation is terminated, the "PRGK" parameter is reset by
FB 112.
5–8
: E88530-B-5512-A
: FB 112, FB 132, FB 131
: –
: Conditional, unconditional
: –
: 01: End of magazine < Start of magazine
02: End of location < Start of location
03: Illegal tool size
04: Search area PLAA, PLAE too small for requested tool size
10: No free internal program channel found
© 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