spindle encoder help

More
6 years 7 months ago #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 to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 7 months ago #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 to join the conversation.

More
6 years 7 months ago #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

Please Log in to join the conversation.

More
6 years 7 months ago #159451 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
encoder

Please Log in to join the conversation.

More
6 years 7 months ago #159452 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
wiring

Please Log in to join the conversation.

More
6 years 7 months ago #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

Please Log in to join the conversation.

More
6 years 7 months ago #159457 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help

PCW wrote: 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 to join the conversation.

More
6 years 7 months ago #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 to join the conversation.

More
6 years 7 months ago #159459 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help

PCW wrote: 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 to join the conversation.

More
6 years 7 months ago #159463 by Dinuka_Shehan
Replied by Dinuka_Shehan on topic spindle encoder help
hal

Please Log in to join the conversation.

Time to create page: 0.199 seconds
Powered by Kunena Forum