P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
952
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
PI service: FINDBL
Function: Activate block search
A channel is switched to block search mode and the appropriate acknowledgment then transmitted. The block
search is then executed immediately by the NCK. The search pointer must already be in the NCK at this point in
time. The search can be interrupted at any time by an NC RESET. Once the search is successfully completed,
the normal processing mode is reactivated automatically. NC Start then takes effect from the located search
target. The operator is responsible for providing a collisionfree approach path.
PI service: LOGIN
Function: Create password
Transfers the parameterized password to the NCK. The passwords generally consist of 8 characters. If required,
blanks must be added to the string of the password.
Example:
Password: STRING[8] := 'SUNRISE';
PI service: LOGOUT
Function: Reset password
The password last transferred to the NCK is reset.
Parameterization
Signal
Type
Value range
Meaning
PIService
ANY
PI.FINDBL
Block search
Unit
INT
1 to 10
Channel
WVar1
WORD
x
Preprocessing mode
x
Writes the preprocessing mode
Value:
Meaning:
= 1
Without calculation
= 2
With calculation
= 3
with main block consideration
Parameterization
Signal
Type
Value range
Meaning
PIService
ANY
PI.LOGIN
Create password
Unit
INT
1
NCK
Addr1
STRING
8 characters
Password
Parameterization
Signal
Type
Value range
Meaning
PIService
ANY
PI.LOGOUT
Reset password
Unit
INT
1
NCK