Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
146
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
PI service: TSEARC
Function complex search via search screen forms:
(dependent on parameter assignment)
The PI service allows you to search for tools with specified properties within a search domain
(in one or more magazines starting and ending at a specific location). The specified
properties refer only to data of the tools and their cutting edges.
The PI service is only available if tool management is activated.
You can define a search direction and the number of hits for the PI service (e.g., one tool for
the next tool with matching properties or all tools with the specified properties).
As a result of this service, the user who made the call receives a list of the internal T
numbers of the tools found.
The search criteria can only be specified as AND operations. If an application needs to
define an OR operation for the search criteria, it must first execute a series of queries with
AND criteria and then combine/evaluate the results of the individual queries.
To assign the parameters of the PI service, the properties of the required tools are first
defined via variable service in the TF block. To do this, in the block TF in the operand
screens (parMaskT...), the relevant
•
comparison criteria (which tool data are to be compared?) are highlighted,
•
Comparison operator data (parDataT...) are filled with the corresponding comparison
types (==, <, >, <=, >=, &&) to be done
•
and the comparison values are entered in the operand data.
The PI service is then initiated and, after its successful return, the variable service from the
TF block is used to read out the number of hits in the variable resultNrOfTools and the result
list in the variable resultToolNr (i.e., the list of internal T numbers of the tools found in the
search - resultNrOfTools quantity).
The PI service must be encapsulated with a semaphore from its preparation until the
successful return of the result. This is the only way to ensure exclusive access and the
exclusive use of the TF block in conjunction with the TSEARC PI service. The function
number provided for the semaphore feature (PI service MMCSEM) is the function number for
TSEARC.
If the service is configured incorrectly, a malfunction occurs. In all other cases, it will return a
result, even if no tools are found (resultNrOfTools = 0).
The search domain can be defined as follows in the parameters "MagNrFrom",
"PlaceNrFrom", "MagNrTo", "PlaceNrTo":
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...