Micrologix 1100 digital input program

I have created a program using logix 500 professional. Im using 3 digital inputs to actually count the good bottles and bad bottles. Can someone look at my program and verify if the input addresses i have defined are okay or not? Because im a beginner and have to be sure if im doing it alright
IMG_20220407_102739
I have atrached the program that i have created are these addresses okay ? Like im using hardwired input 0.0 for trigger sensor , input 0.1 for cap miss and input 0.2 for cap high input sensors and have 1 alarm and 1 light. Can someone please look at the program and tell me if the input output address for plc micrologix 1100 series A are okay?

I had a look. The bottle detection sensor seems to have correct address, but I am not sure about Cap missing and Cap high sensor inputs. You may have to correct it to I:0/1 and I:0/2 Also you need to verify that all three sensors are reacting correct way (input on or off) to match the real world. Finally you may need to include ‘One shot’ in the counter lines, else you will not get correct count. (Counter could count to high number when rung condition is true). Joys of programming is when you work on-line and fix the bugs.

1 Like