Working on the plc for a hydraulic chuck. I currently have it set to activate on an input called "Footpedal". I have it set to turn the closechuck output off on the detection of the Footpedal input. Should I remove the chucktimer completely to have the chuckclose output stay on at the end of the code? Thanks!
;Close Chuck
IF !FootPedal || SkinCloseChuck_M THEN (CloseChuckPD)
IF ((CloseChuckPD && !CloseChuck && !SV_PROGRAM_RUNNING) || (M11L && SV_PROGRAM_RUNNING))
&& !SpindleEnableOut_M THEN SET CloseChuck, RST OpenChuck, SET ChuckTimer
IF (CloseChuckPD && CloseChuck && !SV_PROGRAM_RUNNING) || (!M11L && SV_PROGRAM_RUNNING)
THEN SET CloseChuck
IF CloseChuck && !ChuckOpenCloseComplete_M && (ChuckIsClosed || (ChuckIsClosedIs_M && ChuckTimer))
THEN SET ChuckOpenCloseComplete_M, RST M11L
This is all part of the current beta. You might download it and check it out.
added foot pedal to Chuck Open and Chuck Close (Intended for hydraulic Chucks.
There is now also a colletopenclose
Both of which are toggled with a foot pedal input or using VCP.
Thanks I got it working now. I've heard mixed information about leaving solenoids active for too long and overheating them. I did notice the solenoid pack was getting a bit warm when I had it set to leave activated. I have it set now to shut off from the timer. I was under the impression the chuck needed to remain under hydraulic pressure when cutting.
A common design for a two-position two-coil solenoid valve is to have detents in each position.
Even though the power to the coil may be turned off, the valve shuttle remains in its last position, and pressure continues to be applied in that direction (as long as the hydraulic pump continues to run).
A less-common design is a three-position, two-coil valve with springs that return the shuttle to a center, all-ports-blocked position when power is removed from the coil. A valve like that would cease providing pressure when power is removed. That would be useful for a hydraulic slide with a jogging action (one that you can stop at any intermediate position); but it would be a poor choice for a hydraulic chuck actuator.
cncsnw wrote: ↑Mon Nov 23, 2020 9:28 pm
Compare diagrams 'B' and 'C' on the second page of this document: https://cdn.automationdirect.com/static ... idavs5.pdf
Those are pneumatic solenoid valves, but the same principles apply to hydraulic ones.
If your parts haven't flown out of the chuck since you enabled the shut-off timer, then your valve is almost certainly as shown in diagram 'B'.
The hydraulic unit is using this coil for the chuck, turret and tailstock.
Since the diagrams on those valves have neither spring symbols nor detent symbols, I am not entirely certain what their behavior is supposed to be.
My best guess is that they maintain position when powered off (no spring), and that the center condition showing all ports blocked is just to illustrate what happens during transition from one side to the other.
If someone here knows a little more about fluid power and its symbology, please speak up.