EasyManua.ls Logo

Siemens SINUMERIK 810D - Page 681

Siemens SINUMERIK 810D
2184 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Detailed description
2.7 Program operation mode
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
123
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
; Initialize GUD variable
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
; Deactivate DRF offsets
N20 IF $MC_CHAN_NAME == "CHAN1"
N30 CANCEL(2)
; Delete modal synchronized action
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

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Related product manuals