Update from ubuntu 2.4 to Debian 2.6 Some Question
I am using ubuntu with 2.4 linuxcnc all work fine but i think now it is time to update hardware and renew linuxcnc
now i have try out the new debian with the 2.6 linuxcnc on my new computer and there are no problems and all work fine
only a little thing is verry confusing me
is there a reason to get the slider for Normal Feedrate and Rapidfeed to one togehter i misslike that and ouccurs some hardwarecrash
when i have finish my rebuld of machine i will use only one knob to set the feed
i will do this later on paraport 2 with 2 inputs and an optical 100 cpr encoder (comes when it is clear that i will be able to to for an Noob)
i must sy i have no expirience in programming computers and need there a big helping hand to finish all
as first is there a reason to get one slider for all feed?
thank you for your help and greetings from styria
Karl
Please Log in or Create an account to join the conversation.
This was deliberate.
There was a lot of discussion about whether feed override should affect rapids and the consensus was that it should not.
Especially you should not be able to increase rapids to 120%, when that speed should already be at the optimum maximum for the machine
Just one discussion
sourceforge.net/p/emc/mailman/message/31438983/
search the mail lists for more info
The solution appears in 2 sliders so that normal G1 FXX feed override does not affect rapids, but allowing G0 rapids to be to be reduced if required without requiring a shut down and editing of the .ini file
regards
Please Log in or Create an account to join the conversation.
Thank you
There wars a lot of text wich i dont understand something
The solution appears in 2 sliders so that normal G1 FXX feed override does not affect rapids, but allowing G0 rapids to be to be reduced if required without requiring a shut down and editing of the .ini file
is there a solution to combine with an encoder to turn both sliders at the same time in the hal file like a handwhelconfig witch can control all axes with one encoder?
can and would you help me?
thnak you and greetings
Karl
Please Log in or Create an account to join the conversation.
is there a solution to combine with an encoder to turn both sliders at the same time in the hal file like a handwhelconfig witch can control all axes with one encoder?
Axis does not create a pin to expose the update mechanism, that is internal and just linked to the slider, set with the initial ini file values.
However halui now has pins you can use to do it, so yes it would be possible, if you switched the same way you would switch between axes if using a single encoder for jogging.
The docs do not seem to have been updated to match, but the pins are the same as the previous ones so you can work out what to do with them
www.linuxcnc.org/docs/devel/html/gui/halui.html
These are the pins in the master, so assume they have migrated to 2.6, as the separate sliders have.
regards
Please Log in or Create an account to join the conversation.
thank you always write me back. Unfortunately, I have no programming of the HAL anung and my native language is not English. I use to be able to follow the Google translator to some extent.
That's why I'm on professionals to manage projects as directed you to this.
I have read on multiple sites that you have to create new signals here but I have no where to start at all.
when my current software was not like that. adapt and einzellne pins for switches that have enough challange for me.
want you to help me integrate the encoder so I feed the rapid traverse and a controller can adjust please?
Vohanden is a 2nd parallel port on the far the speed measurement and the PWM for Inverter 0-10V depends. The speed measurement works. 0-10V I have not the inverter but I have not yet connected only in idle measured. Here I want to use an automatic speed leveler. If I M3 s2000 simply indicating that the speed is also approached.
Dess Furthermore, I have an encoder to be installed in the dashboard here. Would you like me with your professional knowledge among the poor access? This topic is certainly interesannt for many.
All alone I can not do this determined.
Thanks in advance and nice greetings
Karl
Please Log in or Create an account to join the conversation.
Create a new file named try.hal in your directory containing axis.ini
# try.hal: connect feed-override to rapid-override
loadrt conv_float_s32 names=cv
addf cv servo-thread
loadrt scale names=sc
addf sc servo-thread
setp halui.feed-override.direct-value 0
setp halui.rapid-override.direct-value 1
setp halui.rapid-override.scale .01
setp sc.gain 100
net sig1 halui.feed-override.value => sc.in
net sig2 sc.out => cv.in
net sig3 cv.out => halui.rapid-override.counts
To test, edit your axis.ini file to add line as shown:
...
[HAL]
HALFILE = core_sim.hal
HALFILE = sim_spindle_encoder.hal
HALFILE = axis_manualtoolchange.hal
HALFILE = simulated_home.hal
HALFILE = check_constraints.hal
# !!!!!!!!!!! add this line:
HALFILE = try.hal
...
Please Log in or Create an account to join the conversation.
This explains the use of encoders to set values and gives the hal file used
www.anderswallin.net/2006/11/jogging-emc2/
You connect the halui.feed-override.counts pin to the encoder counts pin basically and the count is then incremented by the encoder
A switch can be used to decide what gets the pulses, so you can switch between feed-override and rapid-override, the same way as you switch between axes with a jogging mpg (also demonstrated)
The main docs are available in German and google translate works pretty well for most things
regards
EDIT
I see Dewey has given you something specific to try, thanks Dewey
Please Log in or Create an account to join the conversation.
Thank you for your help!
I Try the reason from dgarrett
Thank you Garrett
in the Sim all works 90 % well thinking the delay while moving the slider will be a problem of computerspeed
but in the original machine configuration it dont want to work
i attach the error and the ini file, i don't know where i make the mistake sorry.
thank you for help and have a nice day
Please Log in or Create an account to join the conversation.
grep "loadrt.*scale" *.hal
machine.hal:loadrt scale count=1
try.hal:loadrt scale names=sc
$ grep "scale.0" *.hal
machine.hal:addf scale.0 servo-thread
So you can remove it (comment out with leading #] like this in machine.hal
# NOTUSED loadrt scale count=1
# NOTUSED addf scale.0 servo-thread
and try again.
You will benefit from a study of linuxcnc.org/docs/html/hal/basic_hal.html
Please Log in or Create an account to join the conversation.
i have done you have wirrten
and a new error comes to see
i have tried the basics, i am not a coder to, and my language is not english
i do not understnd what does there gos on
i thought i do me what is fine fpr my machine the other side was to see
i will take the old version bak and life there is all i know and it runs fine
thank you
but i dont understand why is doing somewone so big changes wich are not needet
have a nice day
Karl
Please Log in or Create an account to join the conversation.