summaryrefslogtreecommitdiff
path: root/OpenPLC_version_1/ladder-files/motor-delay.ld
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPLC_version_1/ladder-files/motor-delay.ld')
-rwxr-xr-xOpenPLC_version_1/ladder-files/motor-delay.ld23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenPLC_version_1/ladder-files/motor-delay.ld b/OpenPLC_version_1/ladder-files/motor-delay.ld
new file mode 100755
index 0000000..d727d5f
--- /dev/null
+++ b/OpenPLC_version_1/ladder-files/motor-delay.ld
@@ -0,0 +1,23 @@
+LDmicro0.1
+MICRO=Atmel AVR ATmega16 40-PDIP
+CYCLE=10000
+CRYSTAL=16000000
+BAUD=2400
+COMPILED=Z:\home\nivedita\Documents\OpenPLC\ladder-files\motor-delay.hex
+
+IO LIST
+ Xswitch at 1
+ Ym1 at 19
+ Ym2 at 20
+END
+
+PROGRAM
+RUNG
+ CONTACTS Xswitch 1
+ TON Ton 1000000
+ TOF Toff 1000000
+ PARALLEL
+ COIL Ym1 0 1 0
+ COIL Ym2 0 0 1
+ END
+END