Help please - Linear Scale only homing

More
4 years 7 months ago #237518 by whatwasIthinking

Is this a scale with a single index pulse in the middle of travel, or does it have an index which is high at one side of the centre and low at the other?
 
Rawcounts=0 in the middle of the scale. According to the manual:
"Encoder Zero Position: 1 every 50mm"

HOME_SEARCH_VEL=0 didn't change anything.
Any other suggestions?
Thanks

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

More
4 years 7 months ago #237519 by whatwasIthinking
Could it be related to the encorder begin 08?
I have a 7189 (not plugged in yet) which provides 0-7 and 8 is the encoder off the 7i76e.
hm2_7i76e.0.encoder.08 is working great for positional feedback - its only homing I am having difficulty with.

relevant line from my hal file:
net y-index-enable joint.1.index-enable <=> hm2_7i76e.0.encoder.08.index-enable

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

More
4 years 7 months ago #237538 by andypugh
rawcounts will start from zero at whatever position the scale was in when LinuxCNC started, if the scales are quadrature. If they are absolute then the answers are different.

Some encoders have regular index pulses with variable gaps between them, so you know where you after seeing two of them.

Do you have a link to the documentation for the scales?

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

More
4 years 7 months ago #237995 by whatwasIthinking
It must be absolute then. I have tapped the position on the scale where Rawcounts = 0 and it returns to it irrespective of the position it was in when LinuxCNC started. It is in the middle of the scale. Negative rawcounts one end, positive the other.

hk076c1b.pic36.websiteonline.cn/upload/t...t-DCLINEARSCALES.pdf
www.dcoee.com/Download
I will try to attach pics of manual pages shortly. The relavent piece is "Encoder Zero Position: 1 ever 50mm"

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

More
4 years 7 months ago #237996 by whatwasIthinking
Pic attached - with luck.

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

More
4 years 7 months ago #238171 by andypugh
That doesn't _look_ like an absolute encoder.

Though it is possible that it sends a burst of pulses at switch-on to make it so.

You _might_ be able to just use the HOME_ABSOLUTE_ENCODER option in the INI file.
The following user(s) said Thank You: whatwasIthinking

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

Time to create page: 0.068 seconds
Powered by Kunena Forum