spindle encoder help

More
08 Mar 2020 01:54 #159446 by Dinuka_Shehan
I bought omron 100ppr quadrature encoder to connect my bob.
connect pin 10 and 11 as phase A and index.
stepconfig select those pin as mentioned but not spindle speed not working,

what is missing?

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

More
08 Mar 2020 03:14 #159449 by BeagleBrainz
Replied by BeagleBrainz on topic spindle encoder help
Mate don't start new threads for basically the same issue, otherwise it get confusing. Keep it all to one thread.
Also information about how you connected it up......ie: Power & Gnd and your hal & ini files.
Maybe even a link to the product datasheet. The more info the better the help. It's tiring to have to pull information from people.

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

More
08 Mar 2020 03:21 - 08 Mar 2020 03:33 #159450 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
# set the HAL encoder to 100 pulses per revolution.
setp encoder.3.position-scale 100

This code is the error shows whrn click the linuxcnc
Last edit: 08 Mar 2020 03:33 by Dinuka_Shehan.

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

More
08 Mar 2020 03:27 #159451 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
encoder
Attachments:

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

More
08 Mar 2020 03:32 #159452 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
wiring
Attachments:

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

More
08 Mar 2020 03:54 - 08 Mar 2020 03:56 #159455 by PCW
Replied by PCW on topic spindle encoder help
A couple of things:

1. if you are using both A and B lines from the encoder (quadrature) you will have 400 counts
per turn so the scale should be 400 not 100
EDIT I see you are using only A and index so 100 is correct for counter mode
2. why do you have encoder 3 instead of 0?
3. People can be of more help if you post your hal/ini files and any error messages
you recieve
Last edit: 08 Mar 2020 03:56 by PCW.

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

More
08 Mar 2020 08:08 #159457 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help

A couple of things:

1. if you are using both A and B lines from the encoder (quadrature) you will have 400 counts
per turn so the scale should be 400 not 100
EDIT I see you are using only A and index so 100 is correct for counter mode
2. why do you have encoder 3



instead of 0?
3. People can be of more help if
you post your hal/ini files and
any error messages


you recieve

1.i follow the linux cnc spindle configuration documentation.

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

More
08 Mar 2020 08:13 #159458 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
i am using linux cnc wheezey 2.7.
Can not change the time and so cannot be connected to internet.
I try to copy config file to usb but it also cannot done.
So i will copy text and send you as a text file.

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

More
08 Mar 2020 08:17 #159459 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help

A couple of things:

1. if you are using both A and B lines from the encoder (quadrature) you will have 400 counts
per turn so the scale should be 400 not 100
EDIT I see you are using only A and index so 100 is correct for counter mode


I try this.
Can you please explain how to connect pin 14 as spindle on and pin 17 as spindle cw to hal and bob to motor.
I am currently using three phase motor with contactor.not have vfd.

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

More
08 Mar 2020 10:39 #159463 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
hal
Attachments:

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

Time to create page: 0.178 seconds
Powered by Kunena Forum