SOLVED G0 max feed override Axis at Startup

More
7 years 6 months ago #130503 by pl7i92
hi
the slider from AXIS

Attachment not found



can this be set in the HAL from Startup to 50%

HOW doi i do this

###############################
SOLVED
###############################
Code:
not that elegant but it workes 2.8.pre into a postgui HAL file # rapid feedoverride at startup # first enable the inputs setp halui.rapid-override.count-enable 1 setp halui.rapid-override.direct-value 1 # set 2 values to trigger by mashine on loadrt mux2 count=1 addf mux2.0 servo-thread setp mux2.0.in1 5.0 setp mux2.0.in0 1.0 net trigger_rapid_override mux2.0.sel <= motion.motion-enabled #convert the values to the needed float to s32 loadrt conv_float_s32 count=1 addf conv-float-s32.0 servo-thread net conv_tofloat mux2.0.out => conv-float-s32.0.in #set the value to the override from halui net rapid_count conv-float-s32.0.out halui.rapid-override.counts

Please Log in to join the conversation.

More
7 years 6 months ago #130539 by tommylight
Yes in the ini file under DISPLAY.

Please Log in to join the conversation.

More
7 years 6 months ago #130590 by pl7i92
there is no default_rapid


DEFAULT_LINEAR_VELOCITY = .25 - The default velocity for linear jogs, in , machine units per second.

takes on the 3rd bar

Please Log in to join the conversation.

More
7 years 6 months ago #130642 by pl7i92
No luck so far
the
setp halui.rapid-override.counts -5

sets it to 50%
but you cand do this at startup

Please Log in to join the conversation.

More
7 years 6 months ago #130670 by pl7i92
not that elegant but it workes
2.8.pre

into a postgui HAL file
# rapid feedoverride at startup
# first enable the inputs
setp halui.rapid-override.count-enable 1
setp halui.rapid-override.direct-value 1
# set 2 values to trigger by mashine on
loadrt mux2 count=1
addf mux2.0 servo-thread
setp mux2.0.in1 5.0
setp mux2.0.in0 1.0
net trigger_rapid_override mux2.0.sel <= motion.motion-enabled
#convert the values to the needed float to s32
loadrt conv_float_s32 count=1
addf conv-float-s32.0 servo-thread
net conv_tofloat mux2.0.out => conv-float-s32.0.in
#set the value to the override from halui
net rapid_count conv-float-s32.0.out halui.rapid-override.counts

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum