Siemens SINUMERIK 840Di Function Manual page 1049

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

To assign the parameters of the PI service, the properties of the required tools are first
defined via variable service in the TF block. This is achieved by selecting the relevant
comparison criteria in the operand masks (parMaskT..) in the TF block (i.e., which tool data
are to be compared?), entering the types of comparison logic (==, <, >, <=, >=, &&) in the
comparison operator data (parDataT..), and entering the comparison values 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:
MagNrFro
m
WVar1
#M1
#M1
#M1
#M1
#M1
#M1
#M1
#M1
-1
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
PlaceNrFro
MagNrTo
m
WVar2
WVar3
#P1
#M2
-1
#M1
-1
-1
#P1
-1
#P1
#M1
#P1
#M2
-1
#M2
-1
#M2
-1
-1
PlaceNrTo
Search area
WVar4
#P2
Locations starting at magazine #M1, location
#P1 up to magazine #M2, location #P2 are
searched
-1
All locations in magazine #M1 - and no others
- are searched
-1
All locations starting at magazine #M1 are
searched
-1
All locations starting at magazine #M1 and
location #P1 are searched
-1
Locations in magazine #M1 starting at
magazine #M1 and location #P1 in this
magazine are searched
-1
Locations starting at magazine #M1, location
#P1 up to magazine #M2, location #P2 are
searched
#P2
Locations starting at magazine #M1 up to
magazine #M2, location #P2 are searched
-1
Locations starting at magazine #M1 up to and
including magazine #M2 are searched
-1
All magazine locations are searched
Detailed description
2.12 Block descriptions
2-137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents