Motor Control PLC with a PIC


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sougata
    Dear CosMecc,

    ...It is not the motor control part I am really concerned about,...

    I guess you have already solved this part with ASM not with PBP.

    Or may be, you have some piece of PBP code to control 3-phase AC Motor and if I am more then lucky these days, you can post that code for us to have some reference?

    Fingers crossed again

    --------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Unhappy Confused on the parameters

    Hi,

    Steve what I intend to do is a PC side software with a Flowcode style of visual programming. (I am not sure how much I can achieve though !!) I will have different routines in PIC and a table generated by the PC side software that will have the different constants (pseudo constants changeable on the PC soft). The table will also have pointers that ties up different subroutines on the PIC to make a logical program flow. The PIC would be a 18F4431 perhaps. Where I am confused is the program blocks on the PC soft, parameters in otherwords. They can be a tacho input followed by a divisor, a programmable timebase, current sensing blocks, protection and so on..... I don't know which blocks should essentially make a smart motor controller. As for sayzer, the motor control part is mostly handled in mixed asm+pbp. Relying on entirely asm interrupts. I may use a dedicated chip for the motor control and another PIC to download PC data and run the app. So if anybody can suggest me what should be the capability of the PC soft then I can start at least. Here is a link where you can download a demo version of the PLC soft for Crouzet millenium-III PLCs http://www.crouzet-usa.com/downloads...um/Demo132.exe
    Last edited by sougata; - 26th October 2006 at 18:07.
    Regards

    Sougata

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Nice soft, it's kind of Labview and/or Softwire.

    It's certainely doable, but it will s u c k a huge amount of time to create the user interface and the code blocks.

    you have to consider tons of different ways... so a universal PIC program with tons of subroutines to ba used one after the other or some at the same time etc etc etc. It won't be easy.

    Use the PC to dump code via bootloader... is handy.

    Sure doable. How much time you have for that?

    i'll sleep on that, maybe i see that harder than it could be...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default You are right Mister E

    Hi,

    I need to quote for the project and I am not sure how I would fare up against a commercial PLC. I think a commercial PLC would be cheaper !!! Actually my client wants the students taking the classes to have a clear understanding of Motor Drives and the control logic behind that. Since the application is limited to only motor control functions, I need to define the SFB (Special Function Blocks) before I start the actual coding. Since there would be only two types of motor connected, AC Induction and DC motor so the motor's electrical and mechanical parameters would be quite fixed. May be I should study commercial Motor Drives and write a flexible application to customize it via the PC software. My concern is that the system should be capable to some extent, not just a lame one. Cause it will be used as a tool to to teach college students on drives during summer camp or science fair. It need not be complicated but should have a technically right approach (To get my payments through!!!)
    Regards

    Sougata

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    If you already know the pricing of the competition, but you don't know how much time you need to spend on... it's hard to quote something reasonable.

    But on another hand, it could be a nice core for something else on another area. Kind of stuff you sole the IDE first, then plug-ins (or SDK).

    1. How much person will buy it
    2. How much you can extend this
    3. Can this be a single developpement tool
    4. Can this replace a compiler
    5. Can this allow you to create development board OR dedicated pre-programmed chip
    6. Do you have to include some 'Disclaimer' or assume some potential behaviour, material damage

    may lead you to the final decision.

    Can also be something like Easy HID. It do the program core and user have can play with what you do. You know possibility are endless.

    It's a interesting project if you have time and can afford some tech support.

    Good luck!
    Last edited by mister_e; - 27th October 2006 at 14:54.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default You are right again

    Hi,

    Well more than a business interest I was more inclined to the academic interest of the project. As you say "Learning Opportunities". But this is way beyond to be a discrete project sold only once. Still I would like to know the motor control parameters that a PLC should support.
    Regards

    Sougata

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. Pic PLC Ladder Programming
    By arniepj in forum General
    Replies: 0
    Last Post: - 5th October 2008, 12:48
  3. PLC Interfacing with PIC
    By skian85 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 19th June 2008, 23:05
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. PIC vs PLC (programmable logic controller)
    By pondindustrial in forum Off Topic
    Replies: 4
    Last Post: - 17th December 2004, 21:11

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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