Progamming help

coopdegrace

Member
Join Date
Mar 2009
Location
perth
Posts
34
Hi all I am still very new to PLC programming and would like some help. I have to program a bottle rejector using siemens S7 and I have been getting a bit stuck with the logic. I was hoping someone here could help me with the program. The task is as follows: A fallen bottle is detected by a sensor and after a shot period of time a signal is sent to the cylinder to extend and push the bottle off the line. It seems like an easy enough problem but I cant figure out how to do it correctly. At the moment I can sense the fallen bottle but by the time the bottle gets to the reject cylinder the sensor is no longer positve and I no longer have a signel to initiate the cylinder. Also how do I deal with two fallen bottles one after the other? Any help with this would be appritated as I have already spent a couple of hours trying to get this right and have had no luck. Thanks.
 
You could use a "Shift register" (Word shift in siemens)and put a 1 into a word every time the sensor sees a fallen bottle.
Shift the data every time the machine completes a cycle (Or everytime a bottle passes).

At the reject station "Read" the particular bit - depending how many bottles there are between the sensor and the cylinder - then fire the rejector cylinder if the bit value is "1".

You could possibly use two timers - a delay off "SF" to remember the bottle is fallen, in series with delay on timer "SD" to tell the cylinder to extend now.
 

Similar Topics

Hello All, I’m working on a project that requires filling/discharging from 30 batch tanks that are the exact same. Simplifying things some here...
Replies
7
Views
1,856
Hi Everyone I have an old TSX17 which has a valuable program in it. I want to put in a more modern PLC and re-program it. However I have no...
Replies
2
Views
2,640
I Need Softwares For Programming In Simens Plc's S7-200 And S7-300. Software For Omron ; Messung; Mitsubishi And Allen Bredley. Could Anyone...
Replies
8
Views
2,719
  • Poll
i just want a old plc near about 1990 siemens s5 simatic. the machine is closed last 4 years. & the cell of back up is not there. the programe in...
Replies
5
Views
6,520
The attached file from some of my plc code. I deleted all files but two just so I couldnt get in trouble from my company for sharing my code. The...
Replies
4
Views
7,485
Back
Top Bottom