Absolute encoders and Centroid Step per revolution setting

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Proidea
Posts: 22
Joined: Sat Jul 10, 2021 10:43 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

Absolute encoders and Centroid Step per revolution setting

Post by Proidea »

Hello everyone.
I have an Acorn CentroID Controller and four Panasonic AC Servo, 17 bit absolute encoders on the motors set as incremental. It's a Router with 10 mm lead on X and Y Ballscrews and 5mm on Z.
After having (I think) understood how to set the electronic gear ratio in the Panasonic drivers, the doubt that remains is the following:
How should I set the number of pulses per revolution in Acorn? - the same set in the drives or multiply it by four?

Thanks!!

Henry
suntravel
Posts: 2293
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: Absolute encoders and Centroid Step per revolution setting

Post by suntravel »

The setting of the servo encoder is for the servo driver only. You must set up the servo in pulse mode and Acorn to the same steps/rev

Uwe
Proidea
Posts: 22
Joined: Sat Jul 10, 2021 10:43 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: Absolute encoders and Centroid Step per revolution setting

Post by Proidea »

Thanks for the quick reply: the drivers are set in Pulse mode, everything works and now I would like to set the output from Acorn Centroid and consequently the driver inputs. What do you mean "The setting of the servo encoder is for the servo driver only"? I set the absolute encoders as incremental by modifying the parameters of the Panasonic drivers. Is that what you meant?
Thanks,
Henry
suntravel
Posts: 2293
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: Absolute encoders and Centroid Step per revolution setting

Post by suntravel »

The encoder of the servo takes only care of that the commanded position is reached. It will not communicate with Aron for the position, except you can setup ZRi homing using one of Acorn inputs.

Uwe
eng199
Posts: 390
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Howard, PA

Re: Absolute encoders and Centroid Step per revolution setting

Post by eng199 »

Proidea wrote: Wed Apr 06, 2022 3:07 am How should I set the number of pulses per revolution in Acorn? - the same set in the drives or multiply it by four?
Most drives use pulses per revolution (PPR) in their setup menus, as you state. Centroid uses counts per revolution. Multiply the PPR by 4 to get the counts per revolution for ACORN.
Proidea
Posts: 22
Joined: Sat Jul 10, 2021 10:43 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: Absolute encoders and Centroid Step per revolution setting

Post by Proidea »

Thank you Uwe and eng199 for your suggestions. Unfortunately I still don't understand, also because it seems to me that Uwe says to use the same number, eng199 says to multiply by 4. Or am I wrong?
cncsnw
Posts: 3913
Joined: Wed Mar 24, 2010 5:48 pm

Re: Absolute encoders and Centroid Step per revolution setting

Post by cncsnw »

Set pulses/rev to "the same number".

Test it.

If it only moves 1/4 of a turn when it should move one turn, then "multiply by 4".
Proidea
Posts: 22
Joined: Sat Jul 10, 2021 10:43 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: Absolute encoders and Centroid Step per revolution setting

Post by Proidea »

Thanks cncsnw,
That's what I'm going to do.

I just wanted to understand how it works.
In other words: how the output of an absolute encoder behaves when it is set as Incremental in the AC Servo driver. Is its output seen as Quadrature output? Does a 17 bit Absolute encoder have the same resolution of a 17 bit incremental encoder?
cnckeith
Posts: 7554
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: Absolute encoders and Centroid Step per revolution setting

Post by cnckeith »

typical steps per revolution settings in the Acorn Wizard for AC servos on Router application is 4096 steps per rev. , then you set the electronic gear ratio in the servo drive so that the servo drives understands that Acorn is going to send it 4096 pulses/steps for one rotation of the axis motor.

then in cnc12 with motors on the bench, set overall turns ratio to 1 (if using inches, 25 if using mm),set home, mark the shaft, go to MDI and type G0x1 and observe..did the motor shaft rotate one revolution? if so, you are good to go. if not, you probably have the electronic gear ratio set wrong.

for further reading on this subject visit this thread.
https://centroidcncforum.com/viewtopic.php?f=63&t=1801
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
suntravel
Posts: 2293
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: Absolute encoders and Centroid Step per revolution setting

Post by suntravel »

If you use a Servo for the spindle an it drives the spindle 1:1, than you can try to use the encoder output from the servo driver for the spindle encoder input an the Acorn. But you can not use the encoder outputs for the axis if you use servos to drive the axis with acorn.

Some servo drivers with 17 or 23 bit absolute encoders on the servos can output the quadrature differential signal Acorn needs for the spindle. If you Panasonic can do this should be written in the driver manual.

Uwe
Post Reply