At work I was asked to change a bot of code, which I did but I thought one of the more experienced programmers might have come across an easier way.
Here goes, we have 2 conveyors, one of which controls the other one. So when the main one comes on, the minor one comes on at the same time. And when the main conveyor stops the minor one stops simultaneously. However i was asked if it was possible to stop the minor one slightly before the main one. I got round the problem by introducing a ton as an and statement with the dn bit normally closed on the same rung as the output to the minor one. I then messed around with the pre timing until I got the timing perfect. It worked but I thought somebody out there might know an easier way
Here goes, we have 2 conveyors, one of which controls the other one. So when the main one comes on, the minor one comes on at the same time. And when the main conveyor stops the minor one stops simultaneously. However i was asked if it was possible to stop the minor one slightly before the main one. I got round the problem by introducing a ton as an and statement with the dn bit normally closed on the same rung as the output to the minor one. I then messed around with the pre timing until I got the timing perfect. It worked but I thought somebody out there might know an easier way