summaryrefslogtreecommitdiff
path: root/OpenPLC_version_1/ladder-files/switch-led.ld
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPLC_version_1/ladder-files/switch-led.ld')
-rwxr-xr-xOpenPLC_version_1/ladder-files/switch-led.ld17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenPLC_version_1/ladder-files/switch-led.ld b/OpenPLC_version_1/ladder-files/switch-led.ld
new file mode 100755
index 0000000..f8c5410
--- /dev/null
+++ b/OpenPLC_version_1/ladder-files/switch-led.ld
@@ -0,0 +1,17 @@
+LDmicro0.1
+MICRO=Atmel AVR ATmega16 40-PDIP
+CYCLE=10000
+CRYSTAL=16000000
+BAUD=2400
+COMPILED=Z:\home\nivedita\Documents\OpenPLC\ladder-files\switch-led.hex
+
+IO LIST
+ Xswitch at 1
+ Yled at 35
+END
+
+PROGRAM
+RUNG
+ CONTACTS Xswitch 1
+ COIL Yled 0 0 0
+END