Siemens SINUMERIK 840D sl Function Manual page 681

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Event programs
Example for call by all events
For MD20108 $MC_PROG_EVENT = 'H0F' (event-controlled program call), i.e.,
call of _N_PROG_EVENT_SPF during
part program start,
part program end and operator panel reset
Power-up:
PROC PROG_EVENT DISPLOF
Sequence for part program start
IF ($P_PROG_EVENT == 1)
N 10 MY_GUD_VAR = 0
N 20 M17
ENDIF
Sequence for part program end and operator panel reset
IF ($P_PROG_EVENT == 2) OR ($P_PROG_EVENT
== 3)
N10 DRFOF
N20 IF $MC_CHAN_NAME == "CHAN1"
N30 CANCEL(2)
N40 ENDIF
N50 M17
ENDIF
Sequence for powerup
IF ($P_PROG_EVENT == 4)
N10 IF $MC_CHAN_NAME == "CHAN1"
N20 IDS=1 EVERY $A_INA[1] > 5.0 DO
$A_OUT[1] = 1
N30 ENDIF
N40 M17
ENDIF
M17
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.7 Program operation mode
;
Initialize GUD variable
;
Deactivate DRF offsets
;
Delete modal synchronized action
2
Detailed description
123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents