summaryrefslogtreecommitdiff
path: root/OpenPLC_version_1/Experiments/1_LED-PLC/blinking.ld
blob: 2dc18113adb18e9496c1ea17b8f5bd9e9d8062e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LDmicro0.1
MICRO=Atmel AVR ATmega16 40-PDIP
CYCLE=10000
CRYSTAL=4000000
BAUD=2400
COMPILED=Z:\home\nivedita\Downloads\LLED.hex

IO LIST
    Yled at 3
END

PROGRAM
RUNG
    CONTACTS Rosc 0
    TON Ton 1000000
    TOF Toff 1000000
    COIL Rosc 1 0 0
END
RUNG
    CONTACTS Rosc 0
    COIL Yled 0 0 0
END