I do not see any set up parameters for low speed range.
2 things needed:
1) Set max speed for low range
2) Invert direction of rotation while in low range
Thanks Pete
**RESOLVED** Low speed range
Moderator: cnckeith
-
- Posts: 103
- Joined: Mon Mar 29, 2010 10:17 pm
Re: Low speed range
That would be a great addition to mach. I am handling it with a brain. It's not done yet but I can post what I have.
-
- Posts: 103
- Joined: Mon Mar 29, 2010 10:17 pm
Re: Low speed range
How does that work with a continuously variable drive? Do you just have 2 pullys? One high range and one low?
-
- Posts: 15
- Joined: Mon Oct 04, 2010 4:18 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: No
Re: Low speed range
I,m sorry but this question was meant for CNC11
Pete
Pete
Re: Low speed range
You set the speed in low range (vs. high range) with Machine Parameter #65.
For example, if the spindle speed for a given motor speed in low gear is 1/8 the speed it would be in high gear, then you would set Parameter 65 to 0.125.
The PLC program is responsible for applying this value, and also for reversing spindle direction in low gear if needed.
Looking at the last DC3IOB basic program I have seen, the logic for reversing the spindle direction appears to have fallen through a crack somewhere.
Assuming you have a PLC program with things like:
I would do a lot of cleanup on that mess. But if I were trying to keep it simple, I would define a memory bit to receive the initial SpindleDirection calculation, then XOR that with the range input before sending it to the direction relay.
I.e:
This assumes that your low-range switch closes when you shift the lever into low gear.
Note that "^" is the abbreviated XOR operator.
For example, if the spindle speed for a given motor speed in low gear is 1/8 the speed it would be in high gear, then you would set Parameter 65 to 0.125.
The PLC program is responsible for applying this value, and also for reversing spindle direction in low gear if needed.
Looking at the last DC3IOB basic program I have seen, the logic for reversing the spindle direction appears to have fallen through a crack somewhere.
Assuming you have a PLC program with things like:
Code: Select all
SpinLowRange IS INP9
;...
SpindleDirectionOut IS OUT13
;...
;--------------------------------------------------------------
; Set spindle direction
;--------------------------------------------------------------
;------------------Set Clockwise direction---------------------
IF ((KbSpinCW_M || SpinCWKey) && !SpinAutoModeLED) || (M3 && SpinAutoModeLED)
|| (M3 && DoCycleStart) THEN (SpinCWPD)
IF SpinCWPD THEN rst SpindleDirectionOut
IF !SpindleDirectionOut THEN (SpindleCWLED), (SelectSpindleCW)
;---------------Set Counterclockwise direction-----------------
IF ((KbSpinCCW_M || SpinCCWKey) && !SpinAutoModeLED) || (M4 && SpinAutoModeLED)
|| (M4 && DoCycleStart) THEN (SpinCCWPD)
IF SpinCCWPD THEN set SpindleDirectionOut
IF SpindleDirectionOut THEN (SpindleCCWLED), (SelectSpindleCCW)
I.e:
Code: Select all
;...
SpindleDirection_M IS MEM20
;...
;--------------------------------------------------------------
; Set spindle direction
;--------------------------------------------------------------
;------------------Set Clockwise direction---------------------
IF ((KbSpinCW_M || SpinCWKey) && !SpinAutoModeLED) || (M3 && SpinAutoModeLED)
|| (M3 && DoCycleStart) THEN (SpinCWPD)
IF SpinCWPD THEN rst SpindleDirection_M
IF !SpindleDirection_M THEN (SpindleCWLED), (SelectSpindleCW)
;---------------Set Counterclockwise direction-----------------
IF ((KbSpinCCW_M || SpinCCWKey) && !SpinAutoModeLED) || (M4 && SpinAutoModeLED)
|| (M4 && DoCycleStart) THEN (SpinCCWPD)
IF SpinCCWPD THEN set SpindleDirection_M
IF SpindleDirection_M THEN (SpindleCCWLED), (SelectSpindleCCW)
IF SpindleDirection_M ^ SpinLowRange THEN (SpindleDirectionOut)
Note that "^" is the abbreviated XOR operator.
-
- Posts: 15
- Joined: Mon Oct 04, 2010 4:18 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: No
Re: Low speed range
Thanks
I did see the parameter 65. Thanks for the rest of it
Pete
I did see the parameter 65. Thanks for the rest of it
Pete