Siemens SINUMERIK 840D sl Function Manual page 1418

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Detailed description
2.12 Block descriptions
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 operation. 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. For this in the block TF in the operand masks
(parMaskT..) the relevant
• comparison criteria (which tool data is to be compared?) are highlighted,
• comparison operator-data (parDataT..) filled with the corresponding comparison types
• 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":
144
(==, <, >, <=, >=, &&) to be executed
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents