diff options
Diffstat (limited to 'ladder-files')
-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
|