Change standard-spindel-direction when in manual mode?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
Spartan117
Posts: 101
Joined: Mon Apr 11, 2022 3:37 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Change standard-spindel-direction when in manual mode?

Post by Spartan117 »

Hello,

i am using a lathe with turret behind the part. So most of the turning happens in CCW-direction (M4).
And i often need to let the spindle turn slowly manually, e.g. for scratching or slightly chamfering or else.

So i hit the Spin Auto/Man-button on the WMPG and then the Spin On/Off-button. But then the spindle will turn M3/CW at first, until i change that manually on the VCP.


Is there any way to change the "standard turning direction" for when doing it like above?
So i do not need to hit the Change-direction-button on the VCP?

Regards,

Marc
Spartan117
Posts: 101
Joined: Mon Apr 11, 2022 3:37 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Change standard-spindel-direction when in manual mode?

Post by Spartan117 »

Well, i think i'll rate that as a "not possible"^^
Gary Campbell
Posts: 2164
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Marquette, MI
Contact:

Re: Change standard-spindel-direction when in manual mode?

Post by Gary Campbell »

Press "Man/Auto" button
Press "CCW/M4" button
Press green "Spindle On" button

Or... the not really recommended way: Swap the wires going to the SpinFWD and SpinREV normally open terminals. Remember: All forward commands, manual or automatic (M3) will result in CCW rotation and all reverse commands (M4) will result in CW rotation
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Change standard-spindel-direction when in manual mode?

Post by cncsnw »

You could modify your PLC program to select CCW spindle whenever switching to manual mode.

You could modify your PLC program to use one or two of the Macro keys on the WMPG to select spindle direction in manual mode.
Spartan117
Posts: 101
Joined: Mon Apr 11, 2022 3:37 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Change standard-spindel-direction when in manual mode?

Post by Spartan117 »

cncsnw wrote: Sun Nov 20, 2022 12:49 pm You could modify your PLC program to select CCW spindle whenever switching to manual mode.
This is what I wanted to do, but I couldn't figure out where to change the plc this way?
Any hints to point me into the right direction? :oops:
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Change standard-spindel-direction when in manual mode?

Post by suntravel »

I would try to change:

;--Set spindle to manual mode
IF SpinAutoManPD && SpinAutoModeLED THEN RST SpinAutoModeLED

to:

;--Set spindle to manual mode
IF SpinAutoManPD && SpinAutoModeLED THEN RST SpinAutoModeLED
IF SpinAutoManPD && SpinAutoModeLED THEN SET SpindleDirection_M

But I have not tested it

Uwe
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Change standard-spindel-direction when in manual mode?

Post by cncsnw »

That should do it.

Since the test condition is the same, you can combine them into one statement:

Code: Select all

;--Set spindle to manual mode
IF SpinAutoManPD && SpinAutoModeLED THEN RST SpinAutoModeLED, SET SpindleDirection_M
Those lines will be somewhere in the neighborhood of line 3400 in the PLC source file, in the Spindle Control section of JogPanelStage.
Spartan117
Posts: 101
Joined: Mon Apr 11, 2022 3:37 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Change standard-spindel-direction when in manual mode?

Post by Spartan117 »

Uh, sorry, didn't get a notification about this, I will have to check my settings...

Thank you two! I will try that and keep you posted!!
Post Reply