How does axisui work?
24 Mar 2021 07:18 - 24 Mar 2021 08:45 #203488
by Jialan
Replied by Jialan on topic How does jogging work?
I write net jog-x-pos <= HATBUS.Axis0-enable(my signals) => halui.axis.x.plus
but linuxcnc error code 'halui.axis.x.plus' does not exist
but linuxcnc error code 'halui.axis.x.plus' does not exist
Last edit: 24 Mar 2021 08:45 by Jialan.
Please Log in or Create an account to join the conversation.
24 Mar 2021 08:47 - 24 Mar 2021 08:48 #203498
by Jialan
Replied by Jialan on topic How does jogging work?
thank Aciera
I think I understand
thank
I think I understand
thank
Last edit: 24 Mar 2021 08:48 by Jialan.
Please Log in or Create an account to join the conversation.
24 Mar 2021 16:58 #203521
by Aciera
Ah yes you are missing the entry 'HALUI = halui' in the [HAL]-section of your ini. So add it like this:
After that the halui pins should be available.
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:
[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.
26 Mar 2021 02:19 #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
but linuxcnc is don't exist ,Why
Please Log in or Create an account to join the conversation.
26 Mar 2021 07:38 #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' :3. Save 'MonoPump_postgui.hal'
4. Add this line to the [HAL] section in your INI-file:
This line makes sure that MonoPump_postgui.hal is executed after the GUI (ie AXIS in your case) has been loaded.
1. Create a file in your 'config' folder. For example 'MonoPump_postgui.hal'
2. Copy your line inside 'MonoPump_postgui.hal' :
net yoursignalnamehere axisui.jog.increment halui.joint.0.increment
4. Add this line to the [HAL] section in your INI-file:
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.
26 Mar 2021 08:31 #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.
06 Apr 2021 09:32 - 06 Apr 2021 09:32 #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: 06 Apr 2021 09:32 by Jialan.
Please Log in or Create an account to join the conversation.
06 Apr 2021 10:53 #205070
by Aciera
Not sure what you mean there. Does the jog movement not end when you release the button?
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.
07 Apr 2021 03:15 #205226
by Jialan
Replied by Jialan on topic How does axisui work?
when i release the button ,jog working to halui code(halui.joint.0.increment 5 and halui.joint.0.increment-plus TRUE) .
How know was end ,use linuxcnctop.py 'state' = (1 or 2 )?
How know was end ,use linuxcnctop.py 'state' = (1 or 2 )?
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds