So basically im programming for my studys on the ICT3 via ladsim. I have everything sort of working but the method in which i have used for rejection just isn't reliable enough and i don't know how i can further improve it.
I've tried to make the conveyor for OP4 act as a kind of encoder but i think my scan timer for the bit shift isn't good enough but only having 16 bit address im limited.
This is my current layout for the rungs.
Rung 7 - --||IP8--|/|IP3-----( )R1(bit0)
Rung 8 - --||O4(conveyor)--|/|T2------( )T2
Rung 9 - --||T2----------( )R1/0
Rung 10- --|/|R1(bit 8)--||IP5-----( )O3
So what we have in this sequence is IP3 (Ring assembled) High signal and IP8(Belt peg detected) low signal. IP4 is component detect. OP3 is reject cylinder and IP5 is reject sensor. OP4 is the second conveyor.
As above this works but every so often the timings will be off causing it to reject when it shouldn't (potentially bit gone past/or bit hasn't been met)
I've tried to make the conveyor for OP4 act as a kind of encoder but i think my scan timer for the bit shift isn't good enough but only having 16 bit address im limited.
This is my current layout for the rungs.
Rung 7 - --||IP8--|/|IP3-----( )R1(bit0)
Rung 8 - --||O4(conveyor)--|/|T2------( )T2
Rung 9 - --||T2----------( )R1/0
Rung 10- --|/|R1(bit 8)--||IP5-----( )O3
So what we have in this sequence is IP3 (Ring assembled) High signal and IP8(Belt peg detected) low signal. IP4 is component detect. OP3 is reject cylinder and IP5 is reject sensor. OP4 is the second conveyor.
As above this works but every so often the timings will be off causing it to reject when it shouldn't (potentially bit gone past/or bit hasn't been met)