Hello
I am using an Oak to run my lathe. I have the spindle running with a VFD and have the high range rpm reading with in +- 1. I am having trouble figuring how to change to the low range using m41
Thanks for any help.
m41-43 gear range Oak
Moderator: cnckeith
-
- Posts: 22
- Joined: Thu Feb 15, 2018 12:19 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
m41-43 gear range Oak
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: m41-43 gear range Oak
Do you need to have the PLC shift gears (e.g. by operating hydraulic slides, or clutches, or a motorized shifter)?
Or do you shift gears by hand, and you just need to be able to inform the PLC what gear you last put it in?
Or do you shift gears by hand, and you just need to be able to inform the PLC what gear you last put it in?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 22
- Joined: Thu Feb 15, 2018 12:19 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: m41-43 gear range Oak
I manualy shift gears. I just need to tell the PLC what range I am in. Whether thats through aux keys or m41-43 or I could wire in switches.
Thanks
Thanks
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: m41-43 gear range Oak
I typically indicate the manually-selected gear range with Aux keys.
For example, you can replace the standard range selection code, near the end of JogPanelStage, with this:
... and also insert this line among the things that are done unconditionally in InitialStage:
Of course, if you use Aux7 to indicate one of the gear ranges, then you will need to either delete the standard work light control, or move it to a different Aux key.
For example, you can replace the standard range selection code, near the end of JogPanelStage, with this:
Code: Select all
; Select range with Aux keys
IF Aux1Key THEN SpindleRange_W = 4
IF Aux4Key THEN SpindleRange_W = 3
IF Aux7Key THEN SpindleRange_W = 2
IF Aux10Key THEN SpindleRange_W = 1
IF True THEN SV_NV_W1 = SpindleRange_W
; Use the gear range number to set the range flags and speed ratio.
IF SpindleRange_W == 1 THEN SET SV_SPINDLE_LOW_RANGE,
RST SV_SPINDLE_MID_RANGE,
(Aux10LED),
SpinRangeAdjust_FW = SV_MACHINE_PARAMETER_65
IF SpindleRange_W == 2 THEN SET SV_SPINDLE_LOW_RANGE,
SET SV_SPINDLE_MID_RANGE,
(Aux7LED),
SpinRangeAdjust_FW = SV_MACHINE_PARAMETER_66
IF SpindleRange_W == 3 THEN RST SV_SPINDLE_LOW_RANGE,
SET SV_SPINDLE_MID_RANGE,
(Aux4LED),
SpinRangeAdjust_FW = SV_MACHINE_PARAMETER_67
IF SpindleRange_W == 4 THEN RST SV_SPINDLE_LOW_RANGE,
RST SV_SPINDLE_MID_RANGE,
(Aux1LED),
SpinRangeAdjust_FW = 1.0
Code: Select all
SpindleRange_W = SV_NV_W1,
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 22
- Joined: Thu Feb 15, 2018 12:19 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: m41-43 gear range Oak
Thank you very much
(Note: Liking will "up vote" a post in the search results helping others find good information faster)