K1: Mode group, channel, program operation, reset response
9.7 Block search
Basic Functions
514
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
9.7.5
Examples of block search with calculation
Selection
From the following examples, select the type of block search that corresponds to your task.
Type 4 block search with calculation at block end point
Example with automatic tool change after block search with active tool management:
1. Set machine data:
MD11450 $MN_ SEARCH_RUN_MODE to 1
MD11602 $MN_ASUP_START_MASK Bit 0 = 1 (ASUB Start from stopped state)
2. Select ASUB "BLOCK_SEARCH_END" from PLC via FB4.
Reference:
/FB1/ Function Manual, Basic Functions, Basic PLC Program (P3)
3. Load and select part program "WORKPIECE_1".
4. Search to block end point, block number
N220
.
5. HMI signals "Search target found".
6. NC Start for output of action blocks.