5 Configuring
11.92
5.6 FB 121 Measure tool and workpiece
5.6
FB 121 MESSEN
Measure tool and workpiece
Description
The FB 121 is used for the measuring of tools and workpieces. A magazine-specific interface
is implemented in DB 147 for synchronization and communication with the corresponding
measuring cycle. The block must be called unconditionally. In every cycle, all magazine-
specific interfaces are checked and commands executed and/or job-related data provided for
the measuring cycle.
Commands issued by the PLC:
•
Measure tool
If identification bit 1 "Measure tool" is assigned to a tool, the measuring interface of the
channel is supplied with the data of the currently active tool after providing the D number
via FB 135 (see documentation on FB 135).
•
Measure tool prior to first application (FB 135)
If identification bit 3 "Measure tool prior to first application" is assigned to a tool, the
measuring interface of the channel is supplied with the data of the currently active tool
after providing the D numbers via FB 135 (see documentation on FB 135).
•
No active tool found (FB 121)
FB 121 passes this job to the measuring cycle every time no active tool was found in
response to the NC request "Measure workpiece" or incorrect data have been passed to
the measuring interface.
The following errors are recorded:
•
Invalid or no job on job initiation,
•
ID number = 0,
•
Inadmissible cutting edge and/or offset number,
•
D number of the required cutting edge/offset is not defined.
5–18
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)