Help please - Linear Scale only homing
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
13 Mar 2022 09:05 #237089
by whatwasIthinking
Help please - Linear Scale only homing was created by whatwasIthinking
First Post. Am totally blown away by LinuxCNC and the people who make it what it is - so thanks in advance.
I am using a 7I76e (final config includes 7I89 & 7I88) and have 3 axis working nicely with linear scales providing positional feedback and stepper control (only configured y axis linear scale in attached HAL/ini). The y axis linear scale works brilliantly, I am just having a hard time configuring homing to use the linear scale only (no switches). I can see RAWCOUNT and it would seem a small step to set HOME to the linear scale's RAWCOUNT home position (in my case -80,000). But I am still getting my head around HAL/ini/homing config and hoping to get some advice to get past my current floundering.
Any help appreciated. Cheers Pete
I am using a 7I76e (final config includes 7I89 & 7I88) and have 3 axis working nicely with linear scales providing positional feedback and stepper control (only configured y axis linear scale in attached HAL/ini). The y axis linear scale works brilliantly, I am just having a hard time configuring homing to use the linear scale only (no switches). I can see RAWCOUNT and it would seem a small step to set HOME to the linear scale's RAWCOUNT home position (in my case -80,000). But I am still getting my head around HAL/ini/homing config and hoping to get some advice to get past my current floundering.
Any help appreciated. Cheers Pete
Please Log in or Create an account to join the conversation.
13 Mar 2022 09:30 #237094
by chris@cnc
Replied by chris@cnc on topic Help please - Linear Scale only homing
Hi Pete,
for index-only homing is set "search_vel" to zero.
linuxcnc.org/docs/2.8/html/config/ini-ho....html#_configuration
Example sniped from my config
for index-only homing is set "search_vel" to zero.
linuxcnc.org/docs/2.8/html/config/ini-ho....html#_configuration
Example sniped from my config
HOME_SEARCH_VEL = 0.000000
HOME_LATCH_VEL = -5.000000
HOME_FINAL_VEL = 1.000000
HOME_USE_INDEX = YES
Please Log in or Create an account to join the conversation.
15 Mar 2022 14:43 #237334
by andypugh
Replied by andypugh on topic Help please - Linear Scale only homing
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?
Please Log in or Create an account to join the conversation.
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
16 Mar 2022 04:11 #237431
by whatwasIthinking
Replied by whatwasIthinking on topic Help please - Linear Scale only homing
Thanks Chris - sry had some bid work on so just getting back to this now. Will try and report back.
Please Log in or Create an account to join the conversation.
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
16 Mar 2022 04:22 #237433
by whatwasIthinking
Replied by whatwasIthinking on topic Help please - Linear Scale only homing
Hi Andy. I dont know enough to know. Rawcounts appears to be zero in the middle of the scale if that helps. I have a 1m DC10 for x and 1.5m for y. Ditron.com. Both TTL 5um. Should I be trying to view in Halscope to understand the index pulse?
loving the feedback loop. I can push lightly on the Y gantry and the stepper reacts and pushes back to keep the position stable. All the while 'appearing' to hold 0.005mm accuracy. Am designing a mark2 machine and this really suggests to me that active compensation means I dont need literal tons of cast iron to get high precision...
loving the feedback loop. I can push lightly on the Y gantry and the stepper reacts and pushes back to keep the position stable. All the while 'appearing' to hold 0.005mm accuracy. Am designing a mark2 machine and this really suggests to me that active compensation means I dont need literal tons of cast iron to get high precision...
Please Log in or Create an account to join the conversation.
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
16 Mar 2022 04:39 #237434
by whatwasIthinking
Replied by whatwasIthinking on topic Help please - Linear Scale only homing
Hi Chris, tried:
HOME_SEARCH_VEL = 0.000000 (as well as your other settings)
Machine behaves as before ie will home to whatever was y=0 when LinuxCNC is first initiated. Will double check / reread the homing manual and keep tinkering.
Cheers
HOME_SEARCH_VEL = 0.000000 (as well as your other settings)
Machine behaves as before ie will home to whatever was y=0 when LinuxCNC is first initiated. Will double check / reread the homing manual and keep tinkering.
Cheers
Please Log in or Create an account to join the conversation.
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
17 Mar 2022 06:32 #237518
by whatwasIthinking
"Encoder Zero Position: 1 every 50mm"
HOME_SEARCH_VEL=0 didn't change anything.
Any other suggestions?
Thanks
Replied by whatwasIthinking on topic Help please - Linear Scale only homing
Rawcounts=0 in the middle of the scale. According to the manual: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?
"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.
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
17 Mar 2022 06:46 #237519
by whatwasIthinking
Replied by whatwasIthinking on topic Help please - Linear Scale only homing
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
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.
17 Mar 2022 16:47 #237538
by andypugh
Replied by andypugh on topic Help please - Linear Scale only homing
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?
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.
- whatwasIthinking
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 7
22 Mar 2022 06:22 #237995
by whatwasIthinking
Replied by whatwasIthinking on topic Help please - Linear Scale only homing
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"
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.
Time to create page: 0.080 seconds