- Posts: 19306
- Thank you received: 0
Can i Jog part program using MPG ?
5 years 8 months ago #199393
by andypugh
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.
Replied by andypugh on topic Can i Jog part program using MPG ?
Aciera wrote: 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.
Please Log in to join the conversation.
- marq_torque
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 171
- Thank you received: 0
5 years 8 months ago #199401
by marq_torque
Replied by marq_torque on topic Can i Jog part program using MPG ?
Not sure about Lowpass and DDT .... noob !
I'm getting this error after uncommenting 24th line..
I'm getting this error after uncommenting 24th line..
Attachment not found
Please Log in to join the conversation.
5 years 8 months ago #199402
by andypugh
Replied by andypugh on topic Can i Jog part program using MPG ?
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.
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 to join the conversation.
5 years 4 months ago #211293
by Jetiman
Replied by Jetiman on topic Can i Jog part program using MPG ?
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
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
Please Log in to join the conversation.
5 years 4 months ago #211554
by andypugh
Can you be more specific about what you want to do, and what you have already tried?
Replied by andypugh on topic Can i Jog part program using MPG ?
Jetiman wrote: 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 to join the conversation.
5 years 4 months ago #211813
by Jetiman
Replied by Jetiman on topic Can i Jog part program using MPG ?
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.
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 to join the conversation.
5 years 4 months ago #212063
by andypugh
Replied by andypugh on topic Can i Jog part program using MPG ?
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?
Have you studied the HAL documentation enough to know what I am describing?
Please Log in to join the conversation.
Time to create page: 0.052 seconds
