im up for suggestions from you, what would you like to see? there are about 3 different ways that have been suggested on how to approach it here.cncsnw wrote: ↑Thu Feb 09, 2023 3:27 amWhat do you envision this looking like in G code? E.g. what would the G codes look like, to start the main spindle forward at 1000RPM, then start the second spindle reverse at 400RPM?features like dual independent spindle RPM and ON/OFF are supported in CNC12
I know how I did it with CNC10 fifteen years ago, but I am curious to see what you have in mind for Centroid's officially supported interface.
2 Spindles AcornSix
Moderator: cnckeith
-
- Posts: 7334
- 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: 2 Spindles AcornSix
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
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
-
- Posts: 18
- Joined: Sat Jan 09, 2021 2:55 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 4119
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: 2 Spindles AcornSix
Yes there have been suggestions of how to achieve what I'm after and I've even said one myself. There are many ways to do it. I just had the question if Acorn 6 could do it by itself. I will have Acorn or Acorn 6 run this machine. No questions asked! Im just trying to decide if Acorn 6 is ready or if I need to stick with Acorn and go with the other options suggested or one of my own.
cnckeith said: features like dual independent spindle RPM and ON/OFF are supported in CNC12
So if it is... can you feed it code as questioned above. Like M03/M04 for main and if like a Haas it would be M143/M144 on the sub at whatever (S) you wanted?
cnckeith said: features like dual independent spindle RPM and ON/OFF are supported in CNC12
So if it is... can you feed it code as questioned above. Like M03/M04 for main and if like a Haas it would be M143/M144 on the sub at whatever (S) you wanted?
-
- Posts: 7334
- 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: 2 Spindles AcornSix
Proposed Approach:
• “S2”
◦ Spindle Speed command for second Spindle
• M3.2
◦ CW Rotation for second Spindle
• M4.2
◦ CCW Rotation for second Spindle
• M5.2
◦ Second Spindle Off
• SV_PC_CONFIG_MAX_SPINDLE_SPEED_2
◦ Max Spindle 2 Speed
• SV_PC_CONFIG_MIN_SPINDLE_SPEED_2
◦ Min Spindle 2 Speed
• SV_PC_COMMANDED_SPINDLE_SPEED_2
◦ PLC Variable for second spindle speed
comments?
• “S2”
◦ Spindle Speed command for second Spindle
• M3.2
◦ CW Rotation for second Spindle
• M4.2
◦ CCW Rotation for second Spindle
• M5.2
◦ Second Spindle Off
• SV_PC_CONFIG_MAX_SPINDLE_SPEED_2
◦ Max Spindle 2 Speed
• SV_PC_CONFIG_MIN_SPINDLE_SPEED_2
◦ Min Spindle 2 Speed
• SV_PC_COMMANDED_SPINDLE_SPEED_2
◦ PLC Variable for second spindle speed
comments?
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
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
-
- Posts: 1983
- 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: 2 Spindles AcornSix
Looks like a plan
Uwe
Uwe
-
- Posts: 3102
- 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: 2 Spindles AcornSix
How will S2 work since S2 already means a spindle speed of 2rpm? Wouldn't these all be easier to parse if they used the P parameter for spindle number with no P defaulting to spindle 1 to be backward compatible?
i.e.
M3 P2
S2000 P2
M4 P2
i.e.
M3 P2
S2000 P2
M4 P2
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.
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.
-
- Posts: 1983
- 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: 2 Spindles AcornSix
M3.2 S3000 turns second spindle "S2" with 3000rpm....
Uwe
Uwe
-
- Posts: 3102
- 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: 2 Spindles AcornSix
Uwe, what does:
M3.2
S2000
Do?
Since the S word doesn't have to be on the same line as the spindle start according to RS274 how is that handled? Would that be interpreted as turn spindle 2 on clockwise and set spindle 2 speed to 000 rpm? Or, turn spindle 2 on clockwise and set spindle 1 to 2000 rpm?
M3.2
S2000
Do?
Since the S word doesn't have to be on the same line as the spindle start according to RS274 how is that handled? Would that be interpreted as turn spindle 2 on clockwise and set spindle 2 speed to 000 rpm? Or, turn spindle 2 on clockwise and set spindle 1 to 2000 rpm?
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.
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.
-
- Posts: 1983
- 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: 2 Spindles AcornSix
M3
S1000 ;S1 1000rpm
S1400 ;S1 1400rpm
M3.2
S3000 ; S2 3000rpm S1 still 1400rpm
M3 S1000 ;S1 from1400 to 1000rpm S2 still 3000rpm
M5 ; S1 stops
M3.2 S4000 ;S2 from 3000 to4000rpm
M5.2 ;S2 stops
Same logic like Traub CNC with live tooling, M3 /M3.2 ect. is modal, S corresponds to the last M code
Uwe
S1000 ;S1 1000rpm
S1400 ;S1 1400rpm
M3.2
S3000 ; S2 3000rpm S1 still 1400rpm
M3 S1000 ;S1 from1400 to 1000rpm S2 still 3000rpm
M5 ; S1 stops
M3.2 S4000 ;S2 from 3000 to4000rpm
M5.2 ;S2 stops
Same logic like Traub CNC with live tooling, M3 /M3.2 ect. is modal, S corresponds to the last M code
Uwe
Re: 2 Spindles AcornSix
In terms of syntax, that seems reasonable.
Importantly, it is extensible, because as soon as Centroid makes dual independent spindles broadly available, someone is going to ask why they cannot have three, or six.
What would be the file name for a custom M function macro for M3.2?
Presumably, CNC system variable #4119 still retrieves the modal S code for spindle #1. What should the CNC system variable be to retrieve the modal S value for spindle #2?
Importantly, it is extensible, because as soon as Centroid makes dual independent spindles broadly available, someone is going to ask why they cannot have three, or six.
What would be the file name for a custom M function macro for M3.2?
Presumably, CNC system variable #4119 still retrieves the modal S code for spindle #1. What should the CNC system variable be to retrieve the modal S value for spindle #2?
-
- Posts: 3102
- 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: 2 Spindles AcornSix
Yup. Having the spindle commands be modal works fine, without breaking existing g-code files.
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.
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.