CLICKERGUY
Member
There is a problem w/ the logic to control a Feeder Bowl to stop when the Lin. Trck is fully populated. There are (light) sensors at each end of the Lin. Trck. The machine has two modes of operation, and the population of the Trck is active in both modes. When the machine is powered up, NOTHING happens until an "ACTIVATE" button is pressed. The machine cycles through a HOMEing Seq, part of which is to determine the population of the Lin. Trck. IF either sensor is NOT made, then the Feeder Bowl will be powered & stay powered until BOTH sensors are TRUE. However, the sensor at the end of the Lin. Trck constantly "sees" a part, so once it is TRUE, it remains TRUE for the complete population process. However, that is NOT the case w/ the sensor at the Bowl end of the Lin. Trck. As a part passes through the beam, the sensor is TRUE, and then turns FALSE. So, to eliminate false reports, I've attempted to build in a "delay" reading of that sensor, using a toggle coding. Sometimes it works correctly, sometimes not. Therefore, I know that the coding is NOT stable.
I have tried to change the contact status of the X005 contact which controls the "toggle" logic. At first I used normal open & normal closed contacts, but that didn't seem to work. Then I switched them to Rising edge / Falling edge contacts, and that too didn't work reliably. And, finally, I switched them to Immediate contacts, with the same improper results.
All the Inputs, Outputs, & Marker contacts are properly defined, so anyone studying this Ladder segment should be able to follow, BUT in case there is doubt, I can certainly fill in the blanks.
Please note: The code segment is just that. It is NOT the entire operational Ladder for the machine. In order to reduce clutter, and make it more succinct, I culled out the pertinent sections only.
I have tried to change the contact status of the X005 contact which controls the "toggle" logic. At first I used normal open & normal closed contacts, but that didn't seem to work. Then I switched them to Rising edge / Falling edge contacts, and that too didn't work reliably. And, finally, I switched them to Immediate contacts, with the same improper results.
All the Inputs, Outputs, & Marker contacts are properly defined, so anyone studying this Ladder segment should be able to follow, BUT in case there is doubt, I can certainly fill in the blanks.
Please note: The code segment is just that. It is NOT the entire operational Ladder for the machine. In order to reduce clutter, and make it more succinct, I culled out the pertinent sections only.