diff options
author | rtniveditait | 2016-04-19 14:11:51 +0530 |
---|---|---|
committer | rtniveditait | 2016-04-19 14:11:51 +0530 |
commit | 1a6e87731c160613f2b4303209e9ab80df343879 (patch) | |
tree | 5fec4e7acf26e0b3644d683600bc7f378dbb4099 /ladder-files/switch-motor.ld | |
parent | 3d11571069d8088b466da28c24c20808d26c395e (diff) | |
download | OpenPLC-1a6e87731c160613f2b4303209e9ab80df343879.tar.gz OpenPLC-1a6e87731c160613f2b4303209e9ab80df343879.tar.bz2 OpenPLC-1a6e87731c160613f2b4303209e9ab80df343879.zip |
added new file for motor
Diffstat (limited to 'ladder-files/switch-motor.ld')
-rw-r--r-- | ladder-files/switch-motor.ld | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ladder-files/switch-motor.ld b/ladder-files/switch-motor.ld new file mode 100644 index 0000000..6a4c894 --- /dev/null +++ b/ladder-files/switch-motor.ld @@ -0,0 +1,20 @@ +LDmicro0.1
+MICRO=Atmel AVR ATmega16 40-PDIP
+CYCLE=10000
+CRYSTAL=16000000
+BAUD=2400
+
+IO LIST
+ Xswitch at 1
+ Ym1 at 19
+ Ym2 at 20
+END
+
+PROGRAM
+RUNG
+ CONTACTS Xswitch 1
+ PARALLEL
+ COIL Ym1 0 1 0
+ COIL Ym2 0 0 1
+ END
+END
|