summaryrefslogtreecommitdiff
path: root/OpenPLC_version_1/Experiments/1_LED-PLC
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPLC_version_1/Experiments/1_LED-PLC')
-rwxr-xr-xOpenPLC_version_1/Experiments/1_LED-PLC/LED.rst32
-rwxr-xr-xOpenPLC_version_1/Experiments/1_LED-PLC/blinking.ld22
2 files changed, 0 insertions, 54 deletions
diff --git a/OpenPLC_version_1/Experiments/1_LED-PLC/LED.rst b/OpenPLC_version_1/Experiments/1_LED-PLC/LED.rst
deleted file mode 100755
index 1d22874..0000000
--- a/OpenPLC_version_1/Experiments/1_LED-PLC/LED.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-Light Emitting Diode
-====================
-
-Overview
---------
-
-LEDs (light emitting diodes) are used in all sorts of
-clever things which is why we have induced them in the kit.
-We will start off with something very simple, turning one
-ON and OFF, repeatedly,producing a pleasant blinking effect.
-In the ld micro insert coil and insert contacts and also
-insert Ton and Toff and give particular timings for both.
-Burn the code to OpenPLC and watch the output
-
-
-Components required
--------------------
-
-OpenPLC board
-
-
-blinking of LED
----------------
-
-For blinking of LED we use timers in ldmicro, On timer(Ton) and Off timer(Toff). The LED is connected to pin 35 on the board.
-The code blinkin.ld illustrates above logic.
-
-switch on LED
--------------
-
-We can control on/off LED by using an input to the PLC. The input switch is connected to pin 1 and LED is connected to the same pin 35.
-The code for this experiment is switch-led.ld
diff --git a/OpenPLC_version_1/Experiments/1_LED-PLC/blinking.ld b/OpenPLC_version_1/Experiments/1_LED-PLC/blinking.ld
deleted file mode 100755
index 2dc1811..0000000
--- a/OpenPLC_version_1/Experiments/1_LED-PLC/blinking.ld
+++ /dev/null
@@ -1,22 +0,0 @@
-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