looping of a plc program

memories08

Member
Join Date
Jul 2008
Location
-
Posts
2
Hi..



I would like to seek your help in one PLC program. I am currently doing a pick and place PLC program using FPWIN GR program. Everything works but its only in 1 cycle. I would like the cycle to be continued. Any way I could make it work? Can use looping? How looping works?



Thank you



 
You have to set a bit at the end of your sequence, basically a "Cycle Complete" Bit.

Using that bit, you have to reset all of your steps, and restart the first step. The PLC will start again from Step 1, and move on to the Complete, and restart again, making a repeating sequence.

PLC programming is not like other programs, it automatically continuously scans. You don't reach the end of the program and stop, and you don't need to use Jumps or Loops.
 
I'm not sure what this GR program calls their "bits". It's a marker is some PLCs. Basically you need to write some logic to turn on a marker at the end of your cycle. Once the last step is finished, this Marker becomes true. Then you use that marker being true to start your sequence again (And turn off the marker).
 

Similar Topics

Hi, I am new to ladder logic. I have completed a code in the Xinje PLC XC3-32RT-E for one of the machines I am developing. Currently the program...
Replies
30
Views
978
Hello, I am programming a ladder routine that finds a part on a conveyor that has a given part number. I am having no problem finding the part and...
Replies
1
Views
1,906
I've got several ListBoxes that I want to perform the same function on. From my searches, you can accomplish this in VBA by using a FOR loop, but...
Replies
4
Views
2,883
Hello everyone, I am new to ladder logic and am currently working on a small project where I might need some help. So I am modifying the sequence...
Replies
9
Views
2,413
Hello, This is my very first post here - I'm working on a small brewery project with multiple solenoid valves. The instructions follow a set of...
Replies
2
Views
1,747
Back
Top Bottom