P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
953
PI service: NCRES
Function: Trigger NC-RESET
Initiates an NCK RESET. The Unit and WVar1 parameters must be assigned 0.
PI service: SELECT
Function: Select processing for a channel
A program stored on the NCK is selected for processing for one channel. This is possible only if the file may be
executed. The path name and program name must be entered as described in the Programming Manual Job
Planning, File and Program Management, Section "Program Memory". Please also refer to example of FB 4 for
notation of path and program names.
Possible block types
Parameterization
Signal Type Value range Meaning
PIService ANY PI.NCRES Trigger NC-RESET
Unit INT 0 0
WVar1 WORD 0 0
Block types
Workpiece directory WPD
Main program MPF
Subroutine SPF
cycles CYC
Asynchronous subprograms ASP
Binary files BIN
Parameterization
Signal Type Value range Meaning
PIService ANY PI.SELECT Program selection
Unit INT 1 ... 10 Channel
Addr1 STRING Path name
Addr2 STRING Program name