EVENT / TIMER and "DDE"
![:-( :-(](/media/kunena/emoticons/sad.png)
ok ... M3 S1500 gives not : hm2_5i20.0.pwmgen.02.enable = TRUE out:(
*shit* i must drive home - and come back
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
M3 S1500 gives not : hm2_5i20.0.pwmgen.02.enable = TRUE out
Do you have a line in the HAL saying something like:
net pwmenable motion.spindle-on => hm2_5i20.0.pwmgen.02.enable?
Please Log in or Create an account to join the conversation.
but tomorrow YES
thanks - for X help
Please Log in or Create an account to join the conversation.
my learning-problems to the hal-logik is verry strong
![:( :(](/media/kunena/emoticons/sad.png)
scale makes SCAL from Scale.0.gain to Scale.1.gain + OFFSET or so ...
Scale.0.offset * Scale.0.offset its now my MIN-VOLT !?
and so on ...
i found a parameter.option like this: .high_limit = N # n = for me 5 V
what i must do for this logik: importent for SAVE i will not fire inside my electronic better outside from the laser
![:-) :-)](/media/kunena/emoticons/smile.png)
A) MAX output VOLT = 5
![B) B)](/media/kunena/emoticons/cool.png)
> GCODE gives M3 and S1000 (S1000 = POWER-IN 1000) i have learning *g*
when i cut with 50% Power and make a MIN for 40% and a SAVE for 5 V or so ...
thanks mult.3 3
Please Log in or Create an account to join the conversation.
Something like that. But not exactly that.Scale.0.offset * Scale.0.offset its now my MIN-VOLT !?
You probably want to set one or both offsets to zero. You quite possibly want to set the power gain to 1. The scale functions are just there to let you add a bit of non-linearity.
You need to stop thinkin in terms of volts. HAL doesn't understand volts. It's all just numbers.i found a parameter.option like this: .high_limit = N # n = for me 5 V
You have never actually told us what hardware you are using. what is the PWM to voltage conversion hardware?
Please Log in or Create an account to join the conversation.
PCI: 5i20 > 7i29 AND > 7i33TA (for Analog OUTPUT)
5i20 > 7i37 com pins etc.
i hope this its ok so ...
Please Log in or Create an account to join the conversation.
There is no offset setting since this is the hardware PWM generator. (man HostMot2)
BTW for the 7I33, PWM mode should be 3 (PDM) and the PDM frequency set to 6MHz (this is in the 7I33 manual) Make sure that you set the 4 PWM channels connected to the 7I33 to mode 3 at 6MHz but the 7I29 must be run in PWM mode at 20KHz or lower.
Please Log in or Create an account to join the conversation.
sorry ..
PCI: 5i20 > 7i29 AND > 7i33TA (for Analog OUTPUT)
In that case, set your pwmgen scale to 3000. You can then put a limit function in the HAL file before the pwmgen to limit it to 1500W.
www.linuxcnc.org/docview/html/man/man9/limit1.9.html
This needs a loadrt, addf and net functions like any other HAL component.
Please Log in or Create an account to join the conversation.
![:-) :-)](/media/kunena/emoticons/smile.png)
verry much learning - now i anderstand the "HAL-Functions"
![:-) :-)](/media/kunena/emoticons/smile.png)
limit1.0.max / min etc. its cool ...
big thanks again
one after one *g* the maschine-servo-achse X makes vibrations at 20% speed
only with the new configuration
> BEFORE: NOW:
PWM 2 3
... yes the servo PID etc. its a big BOOK to answer *gggg*
i make some experiments ... but to now not perfekt feel >maschine to/and me<
the last ist not so importent i have set the accelation 20% down and the vibration goes to 0
now i drive home with other maschine
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.