CNC 10 Mill v2.68 M400 (Non-Windows)

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

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

Re: commanded spindle speed, Oak CNC12

Post by cncsnw »

That is actually a bit puzzling.

First, this is not a CNC10 Mill system with v2.68 (Non-Windows). It is a CNC12 Mill system with v4.20 (Windows).

Second, he does not have a spindle encoder configured (P78 = 0), so the speed displayed in the status window should be the commanded speed reported by the PLC program, via SV_PLC_SPINDLE_SPEED.

Generally, that would be the commanded speed (CNC 'S' code) provided the override is at 100%, the S code was not less than minimum, and the S code was not more than maximum. He has a minimum speed of 0, a maximum of 2800. In high gear, any speed from 0 to 2800 should be reported back running as commanded. He does have a low gear configured, so if INP13 is closed, then the maximum possible speed would be 350. But even in low gear, then, any speed from 0 to 350 should be reported running as commanded.

ruirosa: Press Alt-i for the PLC Diagnostic screen. Press F12 to page right until you reach the page that has "FW" variables at the bottom (the numbers, displayed below the four rows of dots). Watch the value next to FW06 on that display while you try "M3 S100", "M3 S200", "M3 S300" and so on.

What values do you see for FW06? Are they the commanded speed (S code)? Or are they the 80% speed that you see in the status window?
ruirosa
Posts: 35
Joined: Sat Feb 13, 2021 2:43 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by ruirosa »

Hello
I inserted the comand M3s200.
And took some screen pictures.
The FW6 value shown is the correct. 200 (pic3).
The spindle max. speed is set to 3000 rpm (pic2) i do not understand how the system is assuming max spindle speed 2800.
Maybe the all rpm diference is due that fact.
Where is possible to change the max. spindle speed to to 3000 rpm?
Regards
Rui
Attachments
Pic2.jpg
Pic3.jpg
tblough
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: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by tblough »

The report you uploaded had the max spindle speed set to 2800:

Code: Select all

Configuration file
CNC12 Virtual v. 4.200 setup file for MPU11 serial number 0008DC111213-08032009
DRO display units:                      Millimeters
Machine units:                          Millimeters
Max spindle (high range):               2800.0
Min spindle (high range):                0.0
Machine home at pwrup:                  Ref Mark-HS
PLC type:                               Standard
Jog Panel type                          Virtual 
Jog panel required:                     No 
Remote Drive & Directory:               
Fourth axis level offset                0
Fifth axis level offset                 0
The report also states you do not have a spindle encoder attached.

Code: Select all

P35  =     0.00000  - Spindle Axis 1-8, 0 = disabled
That is why it is important to create a new report whenever you make changes. We do not know what changes you have made and can only go on the information based in the report.
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.
ruirosa
Posts: 35
Joined: Sat Feb 13, 2021 2:43 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by ruirosa »

Hello
Herewith I am sending a new report made some moments ago.
Regards
Rui
Attachments
report_0008DC111213-0803200997_2023-02-23_13-20-44.zip
(585.53 KiB) Downloaded 3 times
tblough
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: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by tblough »

You have an encoder connected to input 5 with a counts per rev of 8000. Unfortunately, the encoder data sheet you linked to earlier does not list 8000 cpr as a valid choice. I suspect your encoder is actually 8192 cpr.
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.
ruirosa
Posts: 35
Joined: Sat Feb 13, 2021 2:43 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by ruirosa »

Since the encoder we listed had a delivery time of 6 monts, we decide to use an omron diferential with 2000 lines
that make 8000 cpr.
I also measured the spindle rpm with a laser rotation mesure psitol and in fact there is a 20% rpm diference betwen the mdi comand a nd the real rpm.
Regards
Rui
tblough
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: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by tblough »

I don't know of any Omron big bore encoders, so I assume your encoder is now belted to the spindle. If it is belted at 1:1 to the spindle, then you need to adjust your VFD so it spins at the correct speed using the spindle calibration procedure previously posted.
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.
ruirosa
Posts: 35
Joined: Sat Feb 13, 2021 2:43 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by ruirosa »

Yes the encoder is belted to the spindle axis 1:1.
I already made the calibration procedur, measuring the analog output voltages at the spindle outputs.
I will repeat the calibration process and then give a feedback.
Regards
Rui
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: CNC 10 Mill v2.68 M400 (Non-Windows)

Post by cncsnw »

If the actual speed you measure with a tachometer is the same as the speed in the status window (which is now based on the encoder, in your newer report) then the encoder is set up correctly.

A command of 200 RPM out of a presumed maximum of 3000 would be 1/15 of maximum speed. If this results in 163 RPM, then spindle drive's maximum speed is 15 x 163 = 2445 RPM.

You should change the "Max spindle (high range)" speed on the Control Configuration screen to 2445.

If you want to make it go faster, you need to reprogram your spindle drive for a higher maximum speed first, then adjust the number on the Control Configuration screen to match.
Post Reply