Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PLC Programming

  • 10-11-2014 1:38am
    #1
    Registered Users, Registered Users 2 Posts: 41


    Hi I'm a Mechanical Engineering student looking for help with a project. I need to program a Festo PC30 module for a training rig.

    The operation is:

    PB pressed,
    arm goes down,
    claw closes,
    arm goes up,
    jib moves left,
    arm goes down,
    claw opens,
    arm goes up,
    jib moves right.

    Any help would be most appreciated.


Comments

  • Closed Accounts Posts: 2,358 ✭✭✭Into The Blue


    Iainkw4x wrote: »
    Hi I'm a Mechanical Engineering student looking for help with a project. I need to program a Festo PC30 module for a training rig.

    The operation is:

    PB pressed,
    arm goes down,
    claw closes,
    arm goes up,
    jib moves left,
    arm goes down,
    claw opens,
    arm goes up,
    jib moves right.

    Any help would be most appreciated.
    Where are you stuck?


  • Registered Users, Registered Users 2 Posts: 41 Iainkw4x


    I think the operation goes B+C+B-A+B+C-B-A-

    but my lecturer told me you cant have the same output in the program twice so I was wondering how do I write a program then?


  • Registered Users, Registered Users 2 Posts: 5,401 ✭✭✭DublinDilbert


    Iainkw4x wrote: »
    I think the operation goes B+C+B-A+B+C-B-A-

    but my lecturer told me you cant have the same output in the program twice so I was wondering how do I write a program then?

    Your instructor is correct, you don't want to turn on an output at multiple points in the program.

    Do you have limit switch inputs to detect the various cylinder positions? or do you have to use timers?

    I assume your using ladder? What PLC type?

    There's a couple of ways to program this, in my opinion you should use state based programming. You use internal relays to track what state the system is in. Your sequence itself has 8 states, possibly 9 if you've to wait for a start button to be pressed.

    If you look up state based programming in Kevin Collins book:- http://runplc.com/wp-content/uploads/Books/plcprogramming.pdf

    This will tell you how to write a state based program in ladder.


Advertisement