Using the Acorn encoder input for a different purpose...

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
Chris D
Posts: 21
Joined: Mon Mar 15, 2021 7:31 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: ACORN 4447

Using the Acorn encoder input for a different purpose...

Post by Chris D »

Greetings all,

I notice that there is an encoder input with the intended function to be used with the spindle and for spindle feedback. I have no need what so ever on my machine for this purpose, however, I would like to use that encoder input and related registers for another purpose.

Is it possible to connect an encoder to that input, configure it with the wizard and NOT use it for spindle feedback?

Thanks

Chris
eng199
Posts: 166
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Howard, PA

Re: Using the Acorn encoder input for a different purpose...

Post by eng199 »

It's easy to make it not do something. The question is, what do you want it to do instead?
Whatever that is, you may be able to read a system variable in the PLC (like 27301-27308) to perform your new function.
I'm sure you will have to dig deeper than the wizard to do something non-standard.
Chris D
Posts: 21
Joined: Mon Mar 15, 2021 7:31 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: ACORN 4447

Re: Using the Acorn encoder input for a different purpose...

Post by Chris D »

eng199 wrote: Mon Apr 05, 2021 7:48 am It's easy to make it not do something. The question is, what do you want it to do instead?
Whatever that is, you may be able to read a system variable in the PLC (like 27301-27308) to perform your new function.
I'm sure you will have to dig deeper than the wizard to do something non-standard.
I will be moving a rotary axis that has an encoder on it. I will be using the encoder feedback to determine if the axis is actually rotating or not and if moving, how far it moved. This rotary axis is NOT cutting anything, so don't try to rationalize this like a traditional CNC axis.

If the encoder value is in a readable parameter, that should work fine for what I need.

Chris
eng199
Posts: 166
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Howard, PA

Re: Using the Acorn encoder input for a different purpose...

Post by eng199 »

You should be able to make that work. Set parameter 78 to 0 to not display a measured spindle speed from the encoder. Other spindle parameters will need to remain set, like parameter 35 = 5 for spindle axis and parameter 312 = 5 for encoder assignment. Position variables for axis 5 will contain your encoder position.
Chris D
Posts: 21
Joined: Mon Mar 15, 2021 7:31 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: ACORN 4447

Re: Using the Acorn encoder input for a different purpose...

Post by Chris D »

Thanks much! I will give that a go and see what happens.

Thanks again!

Chris
Post Reply