Spindle not switching on with 4th Axis

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

suntravel
Community Expert
Posts: 3537
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: Spindle not switching on with 4th Axis

Post by suntravel »

Use the Centroid mill PP from swissi, that runs perfectly right after posting.

Uwe


Ashsrdtuning
Posts: 12
Joined: Sat Nov 19, 2022 3:51 pm
Acorn CNC Controller: Yes
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: Spindle not switching on with 4th Axis

Post by Ashsrdtuning »

I just found this like 2 mins ago 👍 ive got no idea how to instal it on fuson 360 🙈 any advice on how to use the post from swissi in fuson ?


cnckeith
Site Admin
Posts: 8884
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Spindle not switching on with 4th Axis

Post by cnckeith »

why not use Intercon for this type of simple parts? as Intercon will create perfect Centroid G code.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


cnckeith
Site Admin
Posts: 8884
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Spindle not switching on with 4th Axis

Post by cnckeith »

i changed all the "(" in the program to ; and the program runs
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Ashsrdtuning
Posts: 12
Joined: Sat Nov 19, 2022 3:51 pm
Acorn CNC Controller: Yes
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: Spindle not switching on with 4th Axis

Post by Ashsrdtuning »

Keith why do u think it has issues with the ( and not ; im new to g-code.

So did u have the same fault as me when u try to run it ??

Just making sure its not a problem with my acorn bord
Lol

Ash


centroid467
Posts: 786
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Spindle not switching on with 4th Axis

Post by centroid467 »

Centroid G Code processor accepts ; and : as comments. Using ( ) for comments is not supported. I would expect that to cause some problems when trying to run with a Centroid control.


tblough
Community Expert
Posts: 3524
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Spindle not switching on with 4th Axis

Post by tblough »

Different machine tool vendors use different variations of G-code on their machines. Oftentimes this is to accommodate specific functionality and other times it is for simple things like what character denotes a comment within the g-code.

Fanuc and Haas uses parentheses. Centroid, Siemens, Heidenhain and others use semicolons.

Chapters 11, 12, and 13 in the user's manual cover the valid g-code for Centroid controls.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.


cncsnw
Community Expert
Posts: 4540
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle not switching on with 4th Axis

Post by cncsnw »

centroid467 wrote:Centroid G Code processor accepts ; and : as comments. Using ( ) for comments is not supported. I would expect that to cause some problems when trying to run with a Centroid control.
As usual, the reality is a bit more nuanced.

In most situations, with current software and typical CNC programs, comments in ( ) should work just fine.

On a line by themselves, comments in parentheses have been supported since sometime back in the CNC7 years (late 1990's).
As a line-end comment following other G codes, comments in parentheses have been supported since sometime in the CNC10 era (early 2000's).
As a line-end comment following a variable assignment, comments in parentheses are not supported, because parentheses are considered to be part of a numeric expression.

Code: Select all

(no problem here)
G1 X1 (no problem here either)
#101 = 1.234 (this is a problem)
#101 = 1.234 ; but this is okay


cncsnw
Community Expert
Posts: 4540
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle not switching on with 4th Axis

Post by cncsnw »

For what it's worth, I was able to graph the program Ashsrdtuning posted here, without error, with no modifications.

But then, he was not reporting parse error problems. He was reporting PLC I/O problems or spindle drive problems, wherein his spindle would only start once. That is going to require a deeper dive into his PLC program and macros (but maybe first a simple check of the Alt-i display to see whether the spindle-run-forward output is in fact turning green on the subsequent spindle start request).

One thing that is slightly odd about the posted program, is that there are no M5 spindle-off commands prior to the subsequent tool changes. It relies on the M6 tool-change operation to turn the spindle off (which generally works just fine). But perhaps his PLC or macro logic depends on an M5 to perform some type of reset, without which subsequent M3 requests are ignored.

Try editing the program to include M5 on a line before every M6, and see if it works better that way.


Ashsrdtuning
Posts: 12
Joined: Sat Nov 19, 2022 3:51 pm
Acorn CNC Controller: Yes
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: Spindle not switching on with 4th Axis

Post by Ashsrdtuning »

All fixed after changing over to swissi post P so very happy thank u bud works perfect now

was a very glitchy problem as the PLC/i0 went down if i run the old Fuson 360 Centroid PP with the 4th Axis

many thanks all

Ash


Post Reply