
adccommunitymod (AutomationDirect) asked a question.
Created Date: March 01,2011
Created By: Dean
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Having asked a few questions on this forum regarding a project I am involved in, it became quite clear that it was time to start really learning how to work with this stuff. To that end, I signed up for the CLICK 101 course over at ICA, and have been working through the videos. Now I am starting from scratch trying to write up a short piece of ladder code to do what this project requires. A quick history of the problem at hand if I may. We have a bottle filling machine that has an old Siemens S5 with two timer card peripherals. These cards control how long the filling valves are open to control and adjust fill volumes for each bottle. This machine can fill up to 10 bottles, but each timer card controls 8, so card 1 controls 1-8, and card 2 controls 9 and 10. Additionally there is a second cycle, Steam In Place) where all ten filling valves must be open for certain time. Low and behold card 2 crapped out. After an several attempts at repair, and an exhaustive search we found that replacing one of these legacy cards was going to be very expensive. So someone gets the bright idea to bypass the second card, and basically re-create its function with a second PLC. The problem is no one here has any PLC programming experience. Now this little project falls into my lap. You know the deal. So what I have is two inputs, one pulsed(to control valve open time during production), and one steady state ( to open the valves for however long the SIP cycle is happening). An associate told me about CLICK PLCs and the C-More HMIs so we went out and got a C0-00DD1-D, and a EA1-S6ML, and away I went. I have attached the short sequence I came up with, that does in fact work, at least on the bench. Any critiques or ideas on how to do this better or even just differently are appreciated.
Created Date: March 01,2011
Created by: scott.lawrence
timers 3 & 4 could be on the same rung since T1 starts both
****ARGGG! this site won't let me upload a 7zip file!!
Created Date: March 01,2011
Created by: Dean
Thanks. That tidies it up nicely.
Created Date: March 01,2011
Created by: Dean
Having asked a few questions on this forum regarding a project I am involved in, it became quite clear that it was time to start really learning how to work with this stuff. To that end, I signed up for the CLICK 101 course over at ICA, and have been working through the videos. Now I am starting from scratch trying to write up a short piece of ladder code to do what this project requires. A quick history of the problem at hand if I may. We have a bottle filling machine that has an old Siemens S5 with two timer card peripherals. These cards control how long the filling valves are open to control and adjust fill volumes for each bottle. This machine can fill up to 10 bottles, but each timer card controls 8, so card 1 controls 1-8, and card 2 controls 9 and 10. Additionally there is a second cycle, Steam In Place) where all ten filling valves must be open for certain time. Low and behold card 2 crapped out. After an several attempts at repair, and an exhaustive search we found that replacing one of these legacy cards was going to be very expensive. So someone gets the bright idea to bypass the second card, and basically re-create its function with a second PLC. The problem is no one here has any PLC programming experience. Now this little project falls into my lap. You know the deal. So what I have is two inputs, one pulsed(to control valve open time during production), and one steady state ( to open the valves for however long the SIP cycle is happening). An associate told me about CLICK PLCs and the C-More HMIs so we went out and got a C0-00DD1-D, and a EA1-S6ML, and away I went. I have attached the short sequence I came up with, that does in fact work, at least on the bench. Any critiques or ideas on how to do this better or even just differently are appreciated.