How does axisui work?

More
5 years 7 months ago #203521 by Aciera
Replied by Aciera on topic How does jogging work?

but linuxcnc error code 'halui.axis.x.plus' does not exist



Ah yes you are missing the entry 'HALUI = halui' in the [HAL]-section of your ini. So add it like this:
Code:
[HAL] # Add the halui user interface HALUI = halui # The run script first uses halcmd to execute any HALFILE # files, and then to execute any individual HALCMD commands. # list of hal config files to run through halcmd # files are executed in the order in which they appear HALFILE = MonoPump.hal # list of halcmd commands to execute # commands are executed in the order in which they appear #HALCMD = save neta

After that the halui pins should be available.
The following user(s) said Thank You: Jialan

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

More
5 years 7 months ago #203661 by Jialan
Replied by Jialan on topic How does axisui work?
By the way ,I use axisui.jog.increment net to halui.joint.0.increment

but linuxcnc is don't exist ,Why

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

More
5 years 7 months ago #203674 by Aciera
Replied by Aciera on topic How does axisui work?
The axisui. pins don't exist until after the axis-gui has been loaded so all your hal code that requires pins from GUIs, like axisui pins, need to be in a postgui.hal file.

1. Create a file in your 'config' folder. For example 'MonoPump_postgui.hal'
2. Copy your line inside 'MonoPump_postgui.hal' :
Code:
net yoursignalnamehere axisui.jog.increment halui.joint.0.increment
3. Save 'MonoPump_postgui.hal'
4. Add this line to the [HAL] section in your INI-file:
Code:
POSTGUI_HALFILE = MonoPump_postgui.hal

This line makes sure that MonoPump_postgui.hal is executed after the GUI (ie AXIS in your case) has been loaded.
The following user(s) said Thank You: Jialan

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

More
5 years 7 months ago #203678 by Jialan
Replied by Jialan on topic How does axisui work?
I will try it ,thank Aciera

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

More
5 years 6 months ago - 5 years 6 months ago #205055 by Jialan
Replied by Jialan on topic How does axisui work?
my jog is working,but how does my jog is end
Last edit: 5 years 6 months ago by Jialan.

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

More
5 years 6 months ago #205070 by Aciera
Replied by Aciera on topic How does axisui work?

but how does my jog is end


Not sure what you mean there. Does the jog movement not end when you release the button?

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

Time to create page: 0.269 seconds
Powered by Kunena Forum