Can i Jog part program using MPG ?

More
19 Feb 2021 10:31 #199393 by andypugh

You need to uncomment line 24.


It's not quite that simple.

It turns out that there are _many_ scale components and (largely) have names.

My previous advice was based on the assumption that the XHC hal only loaded one, un-named scale.

TWOPASS might be the neatest answer.
linuxcnc.org/docs/2.8/html/config/ini-config.html#_hal_section

What is the adaptive feed going to be controlled by? In your HAL snippets it comes from "jog-counts" but I don't see anything driving that signal.
Do you really need lowpass and ddt?

Is this a code snippet that you borrowed from somewhere and are trying to use without really understanding what it does? It seems excessively complex.
The following user(s) said Thank You: marq_torque

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

More
19 Feb 2021 11:13 #199401 by marq_torque
Not sure about Lowpass and DDT .... noob !

I'm getting this error after uncommenting 24th line..

Attachments:

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

More
19 Feb 2021 11:22 #199402 by andypugh
This is all in the docs but:

You can only loadrt each component once. This needs to be done in a HAL file that is interpreted before any other HAL file that tries to use the component, or inside the same HAL file and before the component is addf-ed or net-ed.

The exception to this is using TWOPASS, but in that case each instance of the component has to be be given a name with the names= directive in the loadrt.

But first answer the question about where jog-counts comes from. Otherwise this is all a waste of time.

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

More
06 Jun 2021 12:46 - 06 Jun 2021 12:47 #211293 by Jetiman
Is there any news on the subject.

At work, we also have to turn in manual mode.
I think that's really good.

Would be good if it works with the WHB04B
Last edit: 06 Jun 2021 12:47 by Jetiman.

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

More
08 Jun 2021 22:17 #211554 by andypugh

Is there any news on the subject.


Can you be more specific about what you want to do, and what you have already tried?

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

More
11 Jun 2021 16:03 #211813 by Jetiman
I want it like this:


So far I haven't tried much. I don't know how to build this.

I have a WHB04B, which works normally.

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

More
14 Jun 2021 22:13 #212063 by andypugh
Do you have the MPG set up to change the value on the motion.adaptive-feed HAL pin?

Have you studied the HAL documentation enough to know what I am describing?

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

Time to create page: 0.089 seconds
Powered by Kunena Forum