'Anzeigen und Signal
'ROTE LED
'1.GELBE LED
'2.GELBE LED
'GRÜNE LED
'Schaltausgang für E-Magnet
'---------------------------------------
'I/O Ports
'---------------------------------------
define LED1	port[1]							'rot
define LED2	port[2]							'1. gelb
define LED3	port[3]							'2. gelb
define LED4	port[4]							'grün
define RELAY1	port[5]							'Relaisausgang für E-Magnet
define RELAY2	port[6]							'Relaisausgang für Tongeber (z.B.)
'----------------------------------------
'Konstanten für Zeiten
'----------------------------------------
define ZEIT1 150								'Definition der Zeit in Sek. (3) Bsp.
define ZEIT2 150								'150 da 150*20 Millisec=3 Sek.
define ZEIT3 150								'es wird interner Timer benutzt (20msec)
'----------------------------------------
'Progamm wird gestartet nachdem START Eingang auf Low gesetzt wird
'----------------------------------------
LED1=on:LED2=off:LED3=off:LED4=off:RELAY1=off:RELAY2=off			'LED: ROT
PAUSE ZEIT1								'Programmausführung wird für 3 Sek. unterbrochen

LED1=off:LED2=on:LED3=off:LED4=off:RELAY1=off:RELAY2=off			'LED: GELB1
PAUSE ZEIT 2

LED1=off:LED2=on:LED3=on:LED4=off:RELAY1=off:RELAY2=off			'LED: GELB 1+2
PAUSE ZEIT 3

LED1=off:LED2=off:LED3=off:LED4=off:RELAY1=on:RELAY2=on			'LED: GRÜN + Relais 1 und Relais 2






