I would assume from your logic that it is not properly moving the next bottle into position. Ok, now to address your problem - but you didnt let us know what the problem is. Our focus is on readability of the logic and making it easy for the next poor sapp that has to follow our logic. We are not computer scientists attempting to optimize our code for size (after Microsoft I am not sure anyone is any more). Also, I believe a well written program is not a concise, compact program. So just because it didnt have one when you put it in doesnt mean it wont have one in a year. The nature of PLC programs are that they can be changed. Anything actuated by a lamp will then be actuated by the test button. Many times lamps will have lamp test buttons. First I would stay away from using indicator lamp outputs to actuate other logic in your program. Let me give you some pointers for the real world. Let me say that I am not familiar enough with the routine you are working on to say a lot about it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |