Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-09-09 Thread Sag ich Dir nich
finally i found out how to change it to absolute: loadrt conv_float_s32 count=2 loadrt limit1 names=spindle-limit loadrt limit1 names=feed-limit newsig spindleoverride1 float newsig spindleoverride2 s32 newsig feedoverride1 float newsig feedoverride2 s32 addf

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-07 Thread Sag ich Dir nich
this Thermistor table worked for me (using linear Rotary Potentiometers): # Thermistor table for Linear2 # Temp Resistance aplha 0.0 9500 7.4 150.0 0.0 1.4 the 9500 is the working resistor value for me, if your feed override doesnt go to 0% try reducing it to for example 9000 mine is called

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-06 Thread Sag ich Dir nich
feel free to use my code :) Am Donnerstag, 6. Juli 2017 01:43:31 UTC+2 schrieb Daren Schwenke: > > Never tried it, but that should work. If not, create one more value > mid-way. > As the thermistor code is just python, you could hack your own as well > without the table pretty simply. > > I

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-05 Thread Daren Schwenke
Never tried it, but that should work. If not, create one more value mid-way. As the thermistor code is just python, you could hack your own as well without the table pretty simply. I often thought of doing exactly what you did here, and I'll be stealing your config bits probably. :)

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-02 Thread Sag ich Dir nich
okay i need a little advise here, i want to change the Thermometer Table to linear, can i just delete all values between the first and the last and machinekit calculates all inbetween itself? Am Sonntag, 2. Juli 2017 01:37:39 UTC+2 schrieb Sag ich Dir nich: > > Updated code: > >

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Sag ich Dir nich
Updated code: ### #Spindle and Feed Override# ### loadrt conv_float_s32 count=2 loadrt limit1 names=spindle-limit loadrt limit1 names=feed-limit newsig spindleoverride1 float newsig spindleoverride2 s32 newsig feedoverride1 float

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Bas de Bruijn
> On 1 Jul 2017, at 22:43, Sag ich Dir nich wrote: > > excuse me, i had to make "_" out of "-" and add ".funct" to addf (which i did > not know because in the manual it says "conv-float-s32.N"). Now it is like: > addf conv_float_s32.0.funct servo-thread > > now it

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Sag ich Dir nich
excuse me, i had to make "_" out of "-" and add ".funct" to addf (which i did not know because in the manual it says "*conv-float-s32.**N*"). Now it is like: addf conv_float_s32.0.funct servo-thread now it loads without error but still no output. The thing is, the Halmeter pins

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Bas de Bruijn
> On 1 Jul 2017, at 21:52, Sag ich Dir nich wrote: > > thank you, > > because i dont know what all these values mean, i will just copy what it > gives me. This is what it shows: Well, read the last mail. That was about finding the correct name for adding your

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Sag ich Dir nich
thank you, because i dont know what all these values mean, i will just copy what it gives me. This is what it shows: machinekit@beaglebone:~$ halcmd show function Exported Functions: Comp Inst CodeAddr Arg FP Users TypeName 1113 b51d5aa9 b66a6eb0 YES

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Bas de Bruijn
> On 1 Jul 2017, at 21:25, Sag ich Dir nich wrote: > > yes i did, but it gives me an error, either with "servo-thread" or "addf > conv-float-s32 servo-thread" it says: Below statement explains: hal_add_funct_to_thread:230 HAL error: function 'conv-float-s32' not

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Sag ich Dir nich
yes i did, but it gives me an error, either with "addf conv-float-s32.1 servo-thread" or "addf conv-float-s32 servo-thread" it says: machinekit@beaglebone:~$ linuxcnc MACHINEKIT - 0.1 Machine configuration directory is '/home/machinekit/machinekit/configs/ARM.BeagleBone.CRAMPS' Machine

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Bas de Bruijn
> On 1 Jul 2017, at 17:19, Sag ich Dir nich wrote: > > i can see, that the value or raw input from the thermistor is going into > conv-float-s32.1.in but conv-float-s32.1.out is always zero, why is this? Did you add the function to the servo thread? > > Am

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-07-01 Thread Sag ich Dir nich
i can see, that the value or raw input from the thermistor is going into conv-float-s32.1.in but conv-float-s32.1.out is always zero, why is this? Am Mittwoch, 28. Juni 2017 17:28:44 UTC+2 schrieb Sag ich Dir nich: > > hello, i tried feeding the thermistor value to >

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2017-06-28 Thread Sag ich Dir nich
hello, i tried feeding the thermistor value to halui.spindle-override.counts but i got an error "can not add float to s32" so i added a rt component called conv_float_s32 and technically it worked and started without error. I can see changes (very non-linear!) in adc value therm.ch04.raw from

Re: [Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2016-10-10 Thread Sag ich Dir nich
Thank you, I'll have a look -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails

[Machinekit] Analog Feed and Spindle speed override using Potentiometers (100k)

2016-10-09 Thread Sag ich Dir nich
Hi, so i want to implement manual overrides for spindle and feed from 0-150%. First i searched in the web for an example and i found some posts about looking a the file "ReadTemp.py", so i looked at it and found a rather long list of Temp/Resistance and Alpha values (first of all what is the