Pi Service: Deleto; Pi Service: Mmcsem - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
13.17.4.20

PI service: DELETO

Function: Delete tool
Deletes the tool assigned to the transferred T number with all cutting edges (in TO, in some
cases TU, TUE and TG (type 4xx), TD and TS blocks).
Description of formal parameters
Signal
PIService:
Unit:
WVar1:
13.17.4.21

PI service: MMCSEM

Function
The PI service is used to test/set and reset channel-specific semaphores from HMI and PLC.
10 semaphores are available per channel for protecting critical data areas.
Functions (PI services) are assigned to semaphores 1 to 6. The semaphores 7 to 10 can be
freely used.
FB4 return values
● "Done" == TRUE
The semaphore was set, the critical function can be called.
● "Error" == TRUE AND "State" == 3
The semaphore has already been set, the critical function cannot be called at the present
time.
Schematic sequence for free semaphore
Testing and setting the semaphore
IF semaphore == FREE
THEN
ELSE // Semaphore is blocked
...
ENDIF
NOTICE
Resetting the semaphore
After the blocking of the critical data areas by setting the semaphore and the subsequent
reading/writing of the data, it is essential that the critical data area is released again by
resetting the semaphore.
Schematic sequence for blocked semaphore
Testing and setting the semaphore
950
Type
ANY
INT
INT
Writing/reading of critical data
Resetting the semaphore
Value range
Description
"PI".DELETO
Delete tool
1, 2, 3 ... 10
TOA
T number
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents