+ Reply to Thread
Results 1 to 18 of 18

Thread: PICoPLC: Free DIY PLC with Propeller

  1. #1

    Default PICoPLC: Free DIY PLC with Propeller

    Hi Proppers,

    I have been working on adopting an old PLC software to support Propeller.

    The concept is straight-forward: You draw the LADDER logic diagram in a GUI, switch to simulation mode and simulate your ladder program. When the simulation is done and you ladder works as expected, simply hit F12 and download the prop code into your demoboard!

    As you can set all the IO assignments for your ladder diagram, you can develop your own PLC (or use Parallax relay card, etc.) !

    The source .spin file is generated, so you can visualize your ladder variables with TVtext, implement special functions (like I2C expanders, etc.)

    The software is totally free, and I am still searching for ways of improving this tool. (You can download the software from my homepage - please select English language )

    If you are an Assembler programmer, you could be interested in FlowProg as well.

    Ideas, comments are welcome.

    Kind regards,
    Attila
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	picoplc1.GIF‎
Views:	1570
Size:	24.6 KB
ID:	69150   Click image for larger version

Name:	picoplc2.GIF‎
Views:	842
Size:	14.1 KB
ID:	69151  
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  2. #2
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  3. #3

    Default

    Yes, sure, Link to FlowProg
    www.apstech.hu/index.php?option=com_rokdownloads&view=folder&Item id=3&id=15%3Aflowprog〈=en

    Sorry, but the flow prog documentation is... ummm ... planned

    Link to PICoPLC:
    www.apstech.hu/index.php?option=com_rokdownloads&view=folder&Item id=3&id=6%3Apicoplc〈=en
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	FlowProg1.PNG‎
Views:	785
Size:	80.0 KB
ID:	69152  
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  4. #4

    Default

    @Attila

    This is great! i have been wondering, and was about to post the question, has anyone thought about ladder logic programming for the prop. i have worked in industrial maintenance for over 20 years and anyone that has knows the influence that ladder logic has in industrial machinery utilizing plc's as most are standardized to AB's and thier unrealistically high priced software. (although they do offer a free, chopped down version now, after many years). I think that a ladder logic based programming language coupled with the processing power of the prop is a perfect match for industrial use. as most maintenance and industrial engineers have over the years been forced to use and learn ladder logic in machine development, diagnosing and troubleshooting, we simply are comfortable with the concept of ladder logic and use in machinery control. A program like this, i believe, will open up the flood gates of embedded control designers and machine builders to lovingly adopt the Propeller (and the propeller 2 with the addition of onboard adc's) as a more affordable and more feature rich control enviroment for machine control!

    Thank you very much for this and i commend you on you developmet of this software! Keep up the great work and if you like, i would definatly love to beta test this for you in a prop and digital i/o board setting.

    Does this software have any analog functions or pid functions yet?
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  5. #5

    Default

    Thank you for your words kf4ixm!

    I would be grateful for beta testing :) For the current release, the tests took weeks! 16 weeks actually :)

    The software software has analog functions, but not tested. I am sure, I will have time to implement if for Propeller by end of this year :) PID will be implemented in summer.
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  6. #6

    Default

    @Attila

    Good grief! This is great.

    While I prefer to program in Basic (no longer a valid name for such a rich language) VB6 & assembler I have spent years programming in Ladder so that people in an industrial environment can maintain and troubleshoot their process.

    Thanks for the effort creating this and I hope it takes off for you.
    Craig
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  7. #7

    Default

    Very nice!

    Can you tell us what function blocks are implemented?

    APStech-Attila said...
    Hi Proppers,

    I have been working on adopting an old PLC software to support Propeller.

    The concept is straight-forward: You draw the LADDER logic diagram in a GUI, switch to simulation mode and simulate your ladder program. When the simulation is done and you ladder works as expected, simply hit F12 and download the prop code into your demoboard!

    As you can set all the IO assignments for your ladder diagram, you can develop your own PLC (or use Parallax relay card, etc.) !

    The source .spin file is generated, so you can visualize your ladder variables with TVtext, implement special functions (like I2C expanders, etc.)

    The software is totally free, and I am still searching for ways of improving this tool. (You can download the software from my homepage - please select English language )

    If you are an Assembler programmer, you could be interested in FlowProg as well.

    Ideas, comments are welcome.

    Kind regards,
    Attila
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com 5.0" VGA LCD in stock!
    Morpheus dual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory/IO kit $89.95, both kits $189.95 SerPlug $9.95
    Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
    Las - Large model assembler Largos - upcoming nano operating system
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  8. #8

    Default

    Hey this is really insane, I was trying to do the same thing!
    please give some credits to Jonathan Westhues @ www.cq.cx for his software :)

    by the way, did you used his interpretable bytecode generator to create the spin code?
    I was not able to run his source code on visual studio, how did you managed to get it work, with the perl scripts?

    Fred
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  9. #9

    Default

    @FredBlais

    Hi, You are absolutely right, Jonathan Westhues did the base, and I am not very happy that the current version on the web does not contains his name. The story behind is a bit complex, however I have also tracked down, that the original sourcecode was Jonathan's work.

    Anyway if you check out the upcoming release (the hungarian manual for it is already published, check pg 21-22) the well deserved credits will go to Jonathan Westhues.


    Answering the other question: No, I did not use the bytecode generator for SPIN . The internal software structure has been radically changed. Basically the GUI editor, and the simulator part remain the same as for LDmicro.
    Last edited by ForumTools; 10-02-2010 at 11:52 PM. Reason: Forum Migration

  10. #10

    Default Re: PICoPLC: Free DIY PLC with Propeller

    Question for you Attila,

    Thanks very much for sharing your work with us! --> After downloading the flowprog.jar.zip file, can you tell us how to actually "run" the program? The folder has the JAR extension in it, but the folder is a "folder", not a "file", so JRE doesn't know how to run it. I'm at a loss as to how to actually start the program after it has been downloaded and extracted...

  11. #11

    Default Re: PICoPLC: Free DIY PLC with Propeller

    Rename the .jar.zip to .jar and it should work.

  12. #12

    Default Re: PICoPLC: Free DIY PLC with Propeller

    It worked! Thank you Circuitsoft! A simple renaming from .jar.zip to .jar fixed the problem!

  13. #13

    Default Re: PICoPLC: Free DIY PLC with Propeller

    Whow, it's amazing !

    I've worked on the same project !!!

    Modified LDmicro to fit the propeller chip !
    My version creates a SPIN file too !!
    I'm tyrying to add a configuration file to give LDmicro the possibility to use any SPIN object ,
    at this time I can make any logic , use uart, and analog via a specific SPIN object (analog.spin) using an PCF8591 converter.

    Atilla, you're my double !!!!

    And yes, tanks to Jonathan Westhues who made his software free and give all the sources !!!

    Best regards

    Olivier

  14. #14

    Default Re: PICoPLC: Free DIY PLC with Propeller

    Has anyone proven that this software works with props

  15. #15

    Default Re: PICoPLC: Free DIY PLC with Propeller

    Be careful of the word "proven". The responsibility for making sure this software works with Props and works reliably as expected is yours.

  16. #16

    Default Re: PICoPLC: Free DIY PLC with Propeller

    Looks to me like it's discontinued or withdrawn for relaunch as a more comercial product or something to that effect. The links are dead and the site no longer seems to have any sign of PICoPLC for any chip.

  17. #17

    Default Re: PICoPLC: Free DIY PLC with Propeller

    I would really like to test this as well. If it works I would gladly send out a few dollar, bits or euros. I dev on Allen Bradley PLCs currently. If anyone could provide me a copy to try rjdaggett@gmail.com

  18. #18

    Default Re: PICoPLC: Free DIY PLC with Propeller

    From a post in General Discussion here's the link to picoplc

    http://forums.parallax.com/showthrea...=1#post1151467

    The program is awesome!

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts