Type 3: Continuation position defined by block counter
Block search type 3:
Continuation position by block counter
At program start the block counter (controller-internal) is incremented by 1 for each NC row decoded. The block counter is also incremented continuously for comment lines, empty lines, in loops and during subroutine calls. The block counter is displayed to the PLC or the HMI during normal program execution. To determine the continuation position, the block counter is transferred as one of the parameters when block search is selected.
Parameter:
- block counter,
- covered distance within the block (optional)
Example
With block counter
Start at block counter 12