N4: Own channel - only 840D sl
9.3 Activation and deactivation
Extended Functions
566 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Program code Comment
N180 X800 PON ; activate punching. After reaching the
; end position, the punch stroke is output delayed
:
:
N190 PDELAYOF X700 ; Deactivate punching with delay, normal
; initiation of a punching operation. End of the
programmed
; movement
:
:
:
SPIF1
Activation of first punch interface
SPIF1 activates the first punch interface, i.e. the stroke is controlled via the first pair of high-
speed I/Os (see Section "Channelspecific machine data (Page 596)", MD26004 and
MD26
006).
The first punch interface is always active after a reset or control system power up. If only one
interface is used, then it need not be programmed.
SPIF2
Activation of second punch interface
SPIF2 activates the second punch interface, i.e. the stroke is controlled via the second pair of
high-speed I/Os (see Section "Channelspecific machine data (Page 596)", MD26004 and
MD26
006).
Programming example:
Program code Comment
:
:
N170 SPIF1 X100 PON ; At the end of the block, a stroke is initiated at
; the first fast output. The signal "stroke
; active" is monitored at the first input.
:
:
:
:
N180 X800 SPIF2 ; The second stroke is initiated at the
; second fast output. "Stroke active" signal
; is monitored at the second input.
:
: