From 7b9f6fdfecd1c7535276e58246011f0e0da9ddbb Mon Sep 17 00:00:00 2001 From: Vishnu Easwaran E Date: Tue, 19 May 2020 16:14:47 +0530 Subject: [vishnu] moved LD example files to v1 directory --- OpenPLC_version_1/ladder-files/blinking.hex | 39 ++++++++++++++++++++++ OpenPLC_version_1/ladder-files/blinking.ld | 22 +++++++++++++ OpenPLC_version_1/ladder-files/motor-delay.hex | 43 +++++++++++++++++++++++++ OpenPLC_version_1/ladder-files/motor-delay.ld | 23 +++++++++++++ OpenPLC_version_1/ladder-files/motor-on-off.hex | 42 ++++++++++++++++++++++++ OpenPLC_version_1/ladder-files/motor-on-off.ld | 29 +++++++++++++++++ OpenPLC_version_1/ladder-files/switch-led.hex | 21 ++++++++++++ OpenPLC_version_1/ladder-files/switch-led.ld | 17 ++++++++++ OpenPLC_version_1/ladder-files/switch-motor.hex | 30 +++++++++++++++++ OpenPLC_version_1/ladder-files/switch-motor.ld | 20 ++++++++++++ 10 files changed, 286 insertions(+) create mode 100755 OpenPLC_version_1/ladder-files/blinking.hex create mode 100755 OpenPLC_version_1/ladder-files/blinking.ld create mode 100755 OpenPLC_version_1/ladder-files/motor-delay.hex create mode 100755 OpenPLC_version_1/ladder-files/motor-delay.ld create mode 100755 OpenPLC_version_1/ladder-files/motor-on-off.hex create mode 100755 OpenPLC_version_1/ladder-files/motor-on-off.ld create mode 100755 OpenPLC_version_1/ladder-files/switch-led.hex create mode 100755 OpenPLC_version_1/ladder-files/switch-led.ld create mode 100755 OpenPLC_version_1/ladder-files/switch-motor.hex create mode 100755 OpenPLC_version_1/ladder-files/switch-motor.ld (limited to 'OpenPLC_version_1/ladder-files') diff --git a/OpenPLC_version_1/ladder-files/blinking.hex b/OpenPLC_version_1/ladder-files/blinking.hex new file mode 100755 index 0000000..6dcd781 --- /dev/null +++ b/OpenPLC_version_1/ladder-files/blinking.hex @@ -0,0 +1,39 @@ +:1000000022C0189518951895189518951895189553 +:100010001895189518951895189518951895189578 +:100020001895189518951895189518951895189568 +:100030001895189518951895189518951895189558 +:10004000189518951895B0E0AEE504E00C93B0E073 +:10005000ADE50FE50C93B4E0A0E600E020E034E06D +:10006000A150B0400C93215030402223C9F73323D4 +:10007000B9F7B0E0AAE300E00C93B0E0ABE300E036 +:100080000C93B0E0A7E304E00C93B0E0A8E300E039 +:100090000C93B0E0A4E300E00C93B0E0A5E300E033 +:1000A0000C93B0E0A1E300E00C93B0E0A2E300E029 +:1000B0000C93B0E0AFE400E00C93B0E0AEE409E0F4 +:1000C0000C93B0E0ABE40CE90C93B0E0AAE40EE3CF +:1000D0000C93B0E0A9E500E10C93B0E0A8E50C9129 +:1000E00004FFFBCFB0E0A8E50C9100610C93A8954C +:1000F000B0E0A1E60C9102600C93B0E0A1E60C9197 +:10010000B0E0A1E61C9101FF1B7F01FD14601C9370 +:10011000B0E0A1E60C9103FD05C0B0E0A1E60C91B2 +:100120000B7F0C93B0E0A1E60C9102FF1EC0B0E083 +:10013000A2E60C91B0E0A3E61C9123E630E00217A2 +:10014000130794F4B0E0A2E60C91B0E0A3E61C9192 +:10015000039509F413951C93B0E0A2E60C93B0E06C +:10016000A1E60C910B7F0C9308C0B0E0A2E600E082 +:100170000C93B0E0A3E600E00C93B0E0A1E60C9194 +:1001800004FD08C0B0E0A4E603E60C93B0E0A5E6E9 +:1001900000E00C93B0E0A1E60C9100610C93B0E09C +:1001A000A1E60C9102FD1EC0B0E0A4E60C91B0E007 +:1001B000A5E61C9123E630E00217130794F4B0E0A3 +:1001C000A4E60C91B0E0A5E61C91039509F4139503 +:1001D0001C93B0E0A4E60C93B0E0A1E60C9104609F +:1001E0000C9308C0B0E0A4E600E00C93B0E0A5E6F4 +:1001F00000E00C93B0E0A1E60C9102FF06C0B0E075 +:10020000A1E60C91077F0C9305C0B0E0A1E60C912C +:1002100008600C93B0E0A1E60C91B0E0A1E61C915F +:1002200001FF1B7F01FD14601C93B0E0A1E60C915F +:1002300003FD05C0B0E0A1E60C910B7F0C93B0E08C +:10024000A1E60C91B0E0A8E31C9102FF1B7F02FD28 +:0A02500014601C93EDE6F0E0099441 +:00000001FF 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 diff --git a/OpenPLC_version_1/ladder-files/motor-delay.hex b/OpenPLC_version_1/ladder-files/motor-delay.hex new file mode 100755 index 0000000..31f365b --- /dev/null +++ b/OpenPLC_version_1/ladder-files/motor-delay.hex @@ -0,0 +1,43 @@ +:1000000022C0189518951895189518951895189553 +:100010001895189518951895189518951895189578 +:100020001895189518951895189518951895189568 +:100030001895189518951895189518951895189558 +:10004000189518951895B0E0AEE504E00C93B0E073 +:10005000ADE50FE50C93B4E0A0E600E020E034E06D +:10006000A150B0400C93215030402223C9F73323D4 +:10007000B9F7B0E0AAE300E00C93B0E0ABE300E036 +:100080000C93B0E0A7E300E00C93B0E0A8E301E03C +:100090000C93B0E0A4E300E00C93B0E0A5E300E033 +:1000A0000C93B0E0A1E300E60C93B0E0A2E300E023 +:1000B0000C93B0E0AFE400E00C93B0E0AEE40AE0F3 +:1000C0000C93B0E0ABE40EE40C93B0E0AAE40EE1D4 +:1000D0000C93B0E0A9E500E10C93B0E0A8E50C9129 +:1000E00004FFFBCFB0E0A8E50C9100610C93A8954C +:1000F000B0E0A1E60C9102600C93B0E0A1E60C9197 +:10010000B0E0A1E61C9101FF1B7F01FD14601C9370 +:10011000B0E0A6E30C9100FF05C0B0E0A1E60C91B1 +:100120000B7F0C93B0E0A1E60C9102FF1EC0B0E083 +:10013000A2E60C91B0E0A3E61C9123E630E00217A2 +:10014000130794F4B0E0A2E60C91B0E0A3E61C9192 +:10015000039509F413951C93B0E0A2E60C93B0E06C +:10016000A1E60C910B7F0C9308C0B0E0A2E600E082 +:100170000C93B0E0A3E600E00C93B0E0A1E60C9194 +:1001800003FD08C0B0E0A4E603E60C93B0E0A5E6EA +:1001900000E00C93B0E0A1E60C9108600C93B0E095 +:1001A000A1E60C9102FD1EC0B0E0A4E60C91B0E007 +:1001B000A5E61C9123E630E00217130794F4B0E0A3 +:1001C000A4E60C91B0E0A5E61C91039509F4139503 +:1001D0001C93B0E0A4E60C93B0E0A1E60C9104609F +:1001E0000C9308C0B0E0A4E600E00C93B0E0A5E6F4 +:1001F00000E00C93B0E0A1E60C910F7E0C93B0E010 +:10020000A1E60C91B0E0A1E61C9102FF1F7D02FD6A +:1002100010621C93B0E0A1E60C9105FF05C0B0E0B0 +:10022000A2E30C9100620C93B0E0A1E60C9105FFF3 +:1002300005C0B0E0A1E60C9100610C93B0E0A1E62E +:100240000C91B0E0A1E61C9102FF1F7D02FD10623F +:100250001C93B0E0A1E60C9105FF05C0B0E0A2E35D +:100260000C910F7B0C93B0E0A1E60C9105FF05C04B +:10027000B0E0A1E60C9100610C93B0E0A1E60C9116 +:10028000B0E0A1E61C9104FF1B7F04FD14601C93E9 +:06029000EDE6F0E0099428 +:00000001FF diff --git a/OpenPLC_version_1/ladder-files/motor-delay.ld b/OpenPLC_version_1/ladder-files/motor-delay.ld new file mode 100755 index 0000000..d727d5f --- /dev/null +++ b/OpenPLC_version_1/ladder-files/motor-delay.ld @@ -0,0 +1,23 @@ +LDmicro0.1 +MICRO=Atmel AVR ATmega16 40-PDIP +CYCLE=10000 +CRYSTAL=16000000 +BAUD=2400 +COMPILED=Z:\home\nivedita\Documents\OpenPLC\ladder-files\motor-delay.hex + +IO LIST + Xswitch at 1 + Ym1 at 19 + Ym2 at 20 +END + +PROGRAM +RUNG + CONTACTS Xswitch 1 + TON Ton 1000000 + TOF Toff 1000000 + PARALLEL + COIL Ym1 0 1 0 + COIL Ym2 0 0 1 + END +END diff --git a/OpenPLC_version_1/ladder-files/motor-on-off.hex b/OpenPLC_version_1/ladder-files/motor-on-off.hex new file mode 100755 index 0000000..2cedc5b --- /dev/null +++ b/OpenPLC_version_1/ladder-files/motor-on-off.hex @@ -0,0 +1,42 @@ +:1000000022C0189518951895189518951895189553 +:100010001895189518951895189518951895189578 +:100020001895189518951895189518951895189568 +:100030001895189518951895189518951895189558 +:10004000189518951895B0E0AEE504E00C93B0E073 +:10005000ADE50FE50C93B4E0A0E600E020E034E06D +:10006000A150B0400C93215030402223C9F73323D4 +:10007000B9F7B0E0AAE300E00C93B0E0ABE300E036 +:100080000C93B0E0A7E300E00C93B0E0A8E303E03A +:100090000C93B0E0A4E300E00C93B0E0A5E300E033 +:1000A0000C93B0E0A1E300E60C93B0E0A2E300E023 +:1000B0000C93B0E0AFE400E00C93B0E0AEE40AE0F3 +:1000C0000C93B0E0ABE40EE40C93B0E0AAE40EE1D4 +:1000D0000C93B0E0A9E500E10C93B0E0A8E50C9129 +:1000E00004FFFBCFB0E0A8E50C9100610C93A8954C +:1000F000B0E0A1E60C9102600C93B0E0A1E60C9197 +:10010000B0E0A1E61C9101FF1B7F01FD14601C9370 +:10011000B0E0A6E30C9100FF05C0B0E0A1E60C91B1 +:100120000B7F0C93B0E0A1E60C91077F0C93B0E03D +:10013000A1E60C91B0E0A1E61C9102FF1F7E02FD3A +:1001400010611C93B0E0A1E60C9104FF05C0B0E083 +:10015000A2E30C9100620C93B0E0A1E60C9104FFC5 +:1001600005C0B0E0A1E60C9108600C93B0E0A1E6F8 +:100170000C91B0E0A1E61C9102FF1F7E02FD106110 +:100180001C93B0E0A1E60C9104FF05C0B0E0A2E32F +:100190000C910F7B0C93B0E0A1E60C9104FF05C01D +:1001A000B0E0A1E60C9108600C93B0E0A1E60C91E0 +:1001B000B0E0A1E61C9103FF1B7F03FD14601C93BC +:1001C000B0E0A1E60C91B0E0A1E61C9101FF1B7F1D +:1001D00001FD14601C93B0E0A6E30C9101FF05C083 +:1001E000B0E0A1E60C910B7F0C93B0E0A1E60C917E +:1001F0000F7D0C93B0E0A1E60C91B0E0A1E61C915C +:1002000002FF1F7B02FD10641C93B0E0A1E60C917D +:1002100006FF05C0B0E0A2E30C910F7D0C93B0E0A7 +:10022000A1E60C9106FF05C0B0E0A1E60C910062CA +:100230000C93B0E0A1E60C91B0E0A1E61C9102FFA6 +:100240001F7B02FD10641C93B0E0A1E60C9106FF39 +:1002500005C0B0E0A2E30C910F7B0C93B0E0A1E6E7 +:100260000C9106FF05C0B0E0A1E60C9100620C9372 +:10027000B0E0A1E60C91B0E0A1E61C9105FF1B7F68 +:0C02800005FD14601C93EDE6F0E009940D +:00000001FF diff --git a/OpenPLC_version_1/ladder-files/motor-on-off.ld b/OpenPLC_version_1/ladder-files/motor-on-off.ld new file mode 100755 index 0000000..2ee739d --- /dev/null +++ b/OpenPLC_version_1/ladder-files/motor-on-off.ld @@ -0,0 +1,29 @@ +LDmicro0.1 +MICRO=Atmel AVR ATmega16 40-PDIP +CYCLE=10000 +CRYSTAL=16000000 +BAUD=2400 +COMPILED=Z:\home\nivedita\Documents\OpenPLC\ladder-files\motor-on-off.hex + +IO LIST + XOFF at 2 + XON at 1 + Ym1 at 19 + Ym2 at 20 +END + +PROGRAM +RUNG + CONTACTS XON 1 + PARALLEL + COIL Ym1 0 1 0 + COIL Ym2 0 0 1 + END +END +RUNG + CONTACTS XOFF 1 + PARALLEL + COIL Ym1 0 0 1 + COIL Ym2 0 0 1 + END +END diff --git a/OpenPLC_version_1/ladder-files/switch-led.hex b/OpenPLC_version_1/ladder-files/switch-led.hex new file mode 100755 index 0000000..fb20a60 --- /dev/null +++ b/OpenPLC_version_1/ladder-files/switch-led.hex @@ -0,0 +1,21 @@ +:1000000022C0189518951895189518951895189553 +:100010001895189518951895189518951895189578 +:100020001895189518951895189518951895189568 +:100030001895189518951895189518951895189558 +:10004000189518951895B0E0AEE504E00C93B0E073 +:10005000ADE50FE50C93B4E0A0E600E020E034E06D +:10006000A150B0400C93215030402223C9F73323D4 +:10007000B9F7B0E0AAE300E20C93B0E0ABE300E034 +:100080000C93B0E0A7E300E00C93B0E0A8E301E03C +:100090000C93B0E0A4E300E00C93B0E0A5E300E033 +:1000A0000C93B0E0A1E300E00C93B0E0A2E300E029 +:1000B0000C93B0E0AFE400E00C93B0E0AEE40AE0F3 +:1000C0000C93B0E0ABE40EE40C93B0E0AAE40EE1D4 +:1000D0000C93B0E0A9E500E10C93B0E0A8E50C9129 +:1000E00004FFFBCFB0E0A8E50C9100610C93A8954C +:1000F000B0E0A1E60C9102600C93B0E0A1E60C9197 +:10010000B0E0A1E61C9101FF1B7F01FD14601C9370 +:10011000B0E0A6E30C9100FF05C0B0E0A1E60C91B1 +:100120000B7F0C93B0E0A1E60C91B0E0ABE31C9127 +:1001300002FF1F7D02FD10621C93EDE6F0E00994C2 +:00000001FF 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 diff --git a/OpenPLC_version_1/ladder-files/switch-motor.hex b/OpenPLC_version_1/ladder-files/switch-motor.hex new file mode 100755 index 0000000..f869a70 --- /dev/null +++ b/OpenPLC_version_1/ladder-files/switch-motor.hex @@ -0,0 +1,30 @@ +:1000000022C0189518951895189518951895189553 +:100010001895189518951895189518951895189578 +:100020001895189518951895189518951895189568 +:100030001895189518951895189518951895189558 +:10004000189518951895B0E0AEE504E00C93B0E073 +:10005000ADE50FE50C93B4E0A0E600E020E034E06D +:10006000A150B0400C93215030402223C9F73323D4 +:10007000B9F7B0E0AAE300E00C93B0E0ABE300E036 +:100080000C93B0E0A7E300E00C93B0E0A8E301E03C +:100090000C93B0E0A4E300E00C93B0E0A5E300E033 +:1000A0000C93B0E0A1E300E60C93B0E0A2E300E023 +:1000B0000C93B0E0AFE400E00C93B0E0AEE40AE0F3 +:1000C0000C93B0E0ABE40EE40C93B0E0AAE40EE1D4 +:1000D0000C93B0E0A9E500E10C93B0E0A8E50C9129 +:1000E00004FFFBCFB0E0A8E50C9100610C93A8954C +:1000F000B0E0A1E60C9102600C93B0E0A1E60C9197 +:10010000B0E0A1E61C9101FF1B7F01FD14601C9370 +:10011000B0E0A6E30C9100FF05C0B0E0A1E60C91B1 +:100120000B7F0C93B0E0A1E60C91077F0C93B0E03D +:10013000A1E60C91B0E0A1E61C9102FF1F7E02FD3A +:1001400010611C93B0E0A1E60C9104FF05C0B0E083 +:10015000A2E30C9100620C93B0E0A1E60C9104FFC5 +:1001600005C0B0E0A1E60C9108600C93B0E0A1E6F8 +:100170000C91B0E0A1E61C9102FF1F7E02FD106110 +:100180001C93B0E0A1E60C9104FF05C0B0E0A2E32F +:100190000C910F7B0C93B0E0A1E60C9104FF05C01D +:1001A000B0E0A1E60C9108600C93B0E0A1E60C91E0 +:1001B000B0E0A1E61C9103FF1B7F03FD14601C93BC +:0601C000EDE6F0E00994F9 +:00000001FF diff --git a/OpenPLC_version_1/ladder-files/switch-motor.ld b/OpenPLC_version_1/ladder-files/switch-motor.ld new file mode 100755 index 0000000..6a4c894 --- /dev/null +++ b/OpenPLC_version_1/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 -- cgit