summaryrefslogtreecommitdiff
path: root/OpenPLC_version_1/ladder-files/blinking.ld
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPLC_version_1/ladder-files/blinking.ld')
-rwxr-xr-xOpenPLC_version_1/ladder-files/blinking.ld22
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenPLC_version_1/ladder-files/blinking.ld b/OpenPLC_version_1/ladder-files/blinking.ld
new file mode 100755
index 0000000..2dc1811
--- /dev/null
+++ b/OpenPLC_version_1/ladder-files/blinking.ld
@@ -0,0 +1,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