Cylce a sequence of events

NortecDesign

Member
Join Date
Jul 2011
Location
La Grange, Kentucky
Posts
4
I am new to programming. I am trying to figure out how to cycle my sequence of events for a number of times. I have 2 cylinders that I have been able to sequence as follows: Cyl A activate, Cyl B activate, Cyl A deactivate, Cyl B deactivate. All happen with timers to delay the next operation to ensure full travel of the cylinders. I've gotton that far. How do I make that happen again and again?
 
I am new to programming. I am trying to figure out how to cycle my sequence of events for a number of times. I have 2 cylinders that I have been able to sequence as follows: Cyl A activate, Cyl B activate, Cyl A deactivate, Cyl B deactivate. All happen with timers to delay the next operation to ensure full travel of the cylinders. I've gotton that far. How do I make that happen again and again?

The same way how do you initiate the first run.
Give a hint what system do you use
 
To expand slightly on what Switek said, you want additional logic that "captures" that the sequence has started and then that the sequence has completed. Use this completed info as a "restart" command.

Steve
 
Homework?

We don't do your homework for you, but we will help you if you show us what you've got so far. Someday you will be our coworker and we want you to be competent. If we do it for you then you don't learn anything.

When developing a program like this write it out step by step.
Step 1: Operator pushes start button.
Step2: Cylinder A activates - start timer
Step 3: Wait for timer to be done.
Step 4: ....
.
.
Step X: Go back to Step 2.

you get the idea. Once you write it assign some addresses to the timers and then write out what triggers one step to be done and the next one to start. For example, write "Step 3 is done when the timer is done." and "Step 4 starts when the timer is done." It seems verbose but this kind of rigor helps develop the kind of sequential thinking needed to solve this kind of problem. As you get better you'll find you won't need to write it out to quite so much detail.

Can you show us what you have so far? Either a sketch or the actual PLC program file.

Also, which PLC are you using?
 
Last edited:
Hey, I was able to get it working using the timer method that you suggested. Before, I was trying to sequence everything by using the states that the different outputs were in. Was pulling my hair out.

By the way, I am using an Eaton/Cutler HMI with an out module controller. HMI0608BE operator panel and HMIEC0608 control module. Using their HMI software and ladder logic software for programming.

Having fun now!
 

Similar Topics

Is there a bit on the SLC5/05 processor I can one shot to trigger cycling power on the processor? I know I shouldn't have to but my Ethernet...
Replies
9
Views
2,312
Hi, While the CPU is running I have some data I want to save. To be exact, working hours of the supervised machine. While the machine is in...
Replies
5
Views
3,508
To sequence through multiple MSG instructions with a Studio 5k program what are some preferred methods?
Replies
6
Views
514
Hi everyone, I am a newbie and I have trouble in the control sequence. I have a system with 4 pumps. The required: Ex: Push a button to start in...
Replies
21
Views
2,758
Hello, I am having some trouble trying to use Port 2 on the direct logic (250-1) for K-sequence. I am trying to use RS-232, I have a breakout...
Replies
0
Views
549
Back
Top Bottom