Siemens SINUMERIK 840Di Function Manual page 634

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.7 Program operation mode
Event programs
Example for call by all events
For MD20108 $MC_PROG_EVENT = 'H0F', i.e.
call of _N_PROG_EVENT_SPF for
part program start
part program end and operator panel reset
and 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
2-98
;
Initialize GUD variable
;
Deactivate DRF offsets
;
Delete modal synchronized action 2
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents