summaryrefslogtreecommitdiff
path: root/OpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld
diff options
context:
space:
mode:
authorVishnu Easwaran E2020-05-19 15:24:20 +0530
committerVishnu Easwaran E2020-05-19 15:24:20 +0530
commit52a825fc5290494493bbd232d8e4ec0fbec02f3a (patch)
treee77c8c442e05ac67456d73ba33189b5b88cb88fa /OpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld
parent2f5e3ec435e0db66ee382563c4912506dc715e66 (diff)
downloadOpenPLC-52a825fc5290494493bbd232d8e4ec0fbec02f3a.tar.gz
OpenPLC-52a825fc5290494493bbd232d8e4ec0fbec02f3a.tar.bz2
OpenPLC-52a825fc5290494493bbd232d8e4ec0fbec02f3a.zip
[vishnu] moved experiments, images, documentation, Designs to respective new folders
Diffstat (limited to 'OpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld')
-rwxr-xr-xOpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld29
1 files changed, 29 insertions, 0 deletions
diff --git a/OpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld b/OpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld
new file mode 100755
index 0000000..2ee739d
--- /dev/null
+++ b/OpenPLC_version_1/Experiments/2_Motor-PLC/motor-on-off.ld
@@ -0,0 +1,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