the pneumatic drawing of your cylinders shows the cylinders' pistons in the extended position when the solenoid shows the pistons should be in the retracted position and your switches are made by the rod which is in the retracted position... I guess that's being kinda picky, and really has nothing to do with the subject at hand ... so why did I put it in here??? I don't know. I guess to act like I knew something :/)
starting with the first rung as being rung 0, in rung 4 the px 1 will allow either the grinder with dwell or the grinder with no dwell to energize sol 5
grinder with dwell when it is NOT true ....I only see one output to energize sol 5 which I assume operates your grinder
either the grinder with dwell being NOT true, or the grinder with no dwell can energize the output for solenoid 5, depending upon the state of the counter1.dn ...
the only way the grinder with no dwell can energize sol 5, is if the grinder WITH dwell is true... is that what you want? I dunno ... that's what I'm askin