N4: Own channel - only 840D sl
9.3 Activation and deactivation
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
565
Programming example:
Program code Comment
:
:
N100 Y30 SPOF ; position without punch initiation
N110 Y100 PON ; Activate punching, punch initiation at the end of the
; positioning operation (Y=100)
:
:
PONS
Punching ON (in position control cycle)
PONS behaves in the same way as PON. For explanation, please refer to SONS.
PDELAYON
Punching with delay ON
PDELAYON is a preparatory function. This means that PDELAYON is generally programmed before
PON. The punch stroke is output with a delay when the programmed end position is reached.
The delay time in seconds is programmed in setting data:
SD42400 $SC_PUNCH_DWELLTIME
If the defined value cannot be divided as an integer into the interpolation clock cycle, then it
is rounded to the next divisible integer value.
The function has a modal action.
PDELAYOF
Punching with delay OFF
PDELAYOF deactivates punching with delay function, i.e. the punching process continues
normally.
PDELAYON and PDELAYOF form a G code group.
Programming example:
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).
Program code Comment
:
:
N170 PDELAYON X100 SPOF ; Position without punch initiation, activate
; the delayed punch initiation
:
: