Spindle dwell time

More
6 years 5 months ago - 6 years 5 months ago #168216 by TKWard10000
Replied by TKWard10000 on topic Spindle dwell time
Damn. Thought I had said yes to that. It will arrive wednesday ( 1000ppr with index )

My HAL file as is pastebin.com/7Z6Z10ei

Motor driver manual is here acim.nidec.com/drives/kbelectronics/-/me...mg_manual.ashx?la=en

Page 22 is relevant section ..... using DPDT relay to swap polarity of 0-10V isolated signal .... and a separate SPST relay for spindle on-off

Pins for encoder will change, otherwise it works with exception of delays and logic etc
Last edit: 6 years 5 months ago by TKWard10000.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168218 by TKWard10000
Replied by TKWard10000 on topic Spindle dwell time
Just realized, I do have an optical sensor mounted currently ( single pulse per rev ) ..... coming over from Mach3

But i didnt think linuxcnc could work with just a single pulse device ?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168225 by cmorley
Replied by cmorley on topic Spindle dwell time
it can, it's just not recommended.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168271 by TKWard10000
Replied by TKWard10000 on topic Spindle dwell time
I will have to look single pulse spindle encoder use. Reason being that I will have to make a mount for the 1000ppr rotary encoder,

Do you know of any examples on how to use a single 'index' pulse encoder ?

At least I can basic hal stuff working, and then modify once I get the additional hardware.

Keith

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168272 by cmorley
Replied by cmorley on topic Spindle dwell time
IIRC you connect the sensor to A and index and put the encoder component into counter mode

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #168273 by TKWard10000
Replied by TKWard10000 on topic Spindle dwell time
sorry, I think I miscommunicated.

I have an optical encoder mounted already which gives 1 pulse per rev. ( presume I connect that to the index input ? )

Ideally, I wan to get this ( single pulse optical encoder ) working prior to the proper quadrature encoder arriving and being mounted..... Lots of additional timing pulleys and metal bashing to do to get the quadrature encoder to work, and I would prefer the logic and hal to be somewhat correct first.

I have done a search for encoder spindle pulse ... cant see anything about single index pulse encoders though.

Ideas ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds
Powered by Kunena Forum