Not bad Chelton, but if the cylinder coasts and stops at the fully retracted position, we might have an issue. This machine is a printing press (not that that matters) but the hydraulic pump is powered by one of the spinning cylinders/shafts and when the machine stops it will coast sometimes stopping on a limit switch.
Not bad Chelton, but if the cylinder coasts and stops at the fully retracted position, we might have an issue. This machine is a printing press (not that that matters) but the hydraulic pump is powered by one of the spinning cylinders/shafts and when the machine stops it will coast sometimes stopping on a limit switch.
i.e. the misunderstanding involves missing the significance of the highlighted clause i.e "if in unknown position" means "the ram position is in between the limit switches, i.e. both limit switches are 0?"Cylinder would always retract first if in unknown position.
Me either. Whether it stops on the switch or goes past.Hmm, I don't see the problem.
Yup guys, now that I slow down and take a good look, everyone is correct. I'm guessing the cylinder will retract first because the retract rung is first in the scan. Is that correct? Now just out of curiosity I will set up a test PLC and try them all but Chelton's will probably go into the real program. Thanks for everything !!!!!
Just to throw a little figurative monkey wrench into your program: if you are using a double-acting valve, then when you (nearly) instantaneously switch one output on and the other off, there is a brief period when there is magnetic field on both sides of the solenoid, so they are both pulling, ergo they are fighting for the spool. I usually put a small delay between the turn-off A and the turn-on B, and vice versa - it is kinder to the valve.
Ooh, noice.
So a TON on a branch in parallel with each coil, with each .Done bit driving a solenoid side?
I usually put a small delay between the turn-off A and the turn-on B, and vice versa - it is kinder to the valve.
Same. I'm sure some valves are different, but most you don't need delays for the valves sake. If anything you need dwells and delays for the mechanics. Same thing for FVR starters.3 way 2 position valve with no limits and timers for control.
Same. I'm sure some valves are different, but most you don't need delays for the valves sake. If anything you need dwells and delays for the mechanics. Same thing for FVR starters.