01.91
5 Configuring
5.7 FB 122 Search for empty location with presetting
IPOS
Actual position
(Override prefix for the submagazine-specific user interface)
Specification of the current actual position of the magazine where the search starts.
The search direction must also be specified. The actual position is only evaluated in
the case of chain magazines and/or symmetrical search direction. The block then
evaluates the submagazine-specific machine data bit 11, DB 64 (see Section 2.1.2)
and the selected search direction. The actual position is expected to be entered in
the parameter "IPOS". If the parameter is not defined, i.e. "IPOS" = 0, data word
DW 76 of the submagazine-specific user interface of the current channel DB (DB 10
to DB 25
1)
) is evaluated. In both cases, the actual position must be within the
magazine limits. If the actual position is outside the magazine limits, the middle of the
magazine is defined as the actual position.
PRGK
Number of the internal program channel active in the current search operation. When
a search operation is called for the first time, this parameter must be cleared. The
allocation of the program channel is carried out by FB 111 itself and must be pro-
vided by the user for all other FB calls, with respect to the current search operation.
MANR
Magazine number
This parameter specifies the magazine where the empty location was found.
PLNR
Locator number
This parameter specifies the locator No. of the empty location found for the required
tool size in the magazine "MANR".
GEF
Found
If an empty location has been found for the required tool size within the specified
search area, the GEF parameter has a "1" signal for the duration of one PLC cycle.
(For unconditional processing only; in the case of a conditional call, the signal
remains in the "1" state until the next search job is initiated.)
SUVL
Search operation active
The SUVL parameter has a "1" signal as long as the search operation is active.
F
Error
The parameter has a "1" signal for the duration of one cycle if an error has been
found during initialization of the block. (For unconditional processing only; in the case
of a conditional call, the signal remains in the "1" state until the next search job is
initiated.)
NGEF
Not found
If the search key has not been found, the parameter NGEF has a "1" signal for the
duration of one PLC cycle. (For unconditional processing only; in the case of a
conditional call, the signal remains in the "1" state until the next search job is
initiated.)
IST
Actual position of the submagazine-specific user interface
(DW 76, DB 10...DB 25
1)
- see parameter ”IPOS”).
ZW
Status word
Data word for internal statuses in the DB status word (DBZW).
GST
Initial setting
F-NR
Error No.
In the case of an error, i.e. "F" = 1, the cause of the error appears in DR 246 of
DB 150.
_______
1)
DB 10... DB13 for SINUMERIK 840/840C
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
5–25
SINUMERIK 840/880 (PJ)