blob: 2ee739d7b2d670f7f722556b16673588651338be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
LDmicro0.1
MICRO=Atmel AVR ATmega16 40-PDIP
CYCLE=10000
CRYSTAL=16000000
BAUD=2400
COMPILED=Z:\home\nivedita\Documents\OpenPLC\ladder-files\motor-on-off.hex
IO LIST
XOFF at 2
XON at 1
Ym1 at 19
Ym2 at 20
END
PROGRAM
RUNG
CONTACTS XON 1
PARALLEL
COIL Ym1 0 1 0
COIL Ym2 0 0 1
END
END
RUNG
CONTACTS XOFF 1
PARALLEL
COIL Ym1 0 0 1
COIL Ym2 0 0 1
END
END
|