Advanced Search

Search Results (Searched for: )

  • anfänger
  • anfänger's Avatar
20 Jul 2024 17:40 - 20 Jul 2024 17:48
Replied by anfänger on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

many thanks,

I just reused the numbers from the analog control, didn't think about a max frequency.

I Adjusted it. but still oscillation about 0.1mm
It comes definitively from Linuxcnc. I disabled the drives and the dro ist still moving. So no feedback from the drives

I'll adjust the steps to 1000/mm later which should be reasonable and change the speeds to 100 / 75 mm/s which helps with the 1000mm x travel
But I ned to get rid of the oscillation
  • Mecanix
  • Mecanix
20 Jul 2024 17:31
Replied by Mecanix on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

Has anyone tested them?
 

Yes, I just did. Ran the machine warm-up routine, probed a few corners, and ran a complex NC file filled with cycles (1.5hr total). 

E v e r y t h i n g   w o r k s + bug fixed!!!!!

Thank you (THANK YOU) so so so much for that guys. Best control on earth (imho). 

  • PCW
  • PCW's Avatar
20 Jul 2024 17:15
Replied by PCW on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

Normally the stepgen maxvel is set to 25% greater than the
machine joint maximum velocity. You get the "too big" error
because the stepgen cannot reach the value you set because
of the current step timing. That is, with 5000 ns step time
and 5000 ns step space you are limited to a 100 KHz step rate.

At a step scale of 1600 steps/mm the maximum velocity
is bounded to 62.5 mm/second by the step timing. This
means that the actual maximum joint velocity should be
about 50 mm/s (leaving the stepgen about 25% headroom)
  • JR1050
  • JR1050's Avatar
20 Jul 2024 17:13

Grub fails to install Debian buster Lcnc 2.8.4

Category: Installing LinuxCNC

I'm getting this error on install buster .iso. Installed via usb

grub -efi-amd64 package fail d to install
It runs live.
Does there need to be a small partition for gun on the hard disk?
 
  • anfänger
  • anfänger's Avatar
20 Jul 2024 16:58
Replied by anfänger on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

These are the numbers I have. I get an error the my Stepgen.00.maxvel ist to big. could that be the case?
I just used the theoretical maximum velocity I could get by the servos.

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000

P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = 1600.0
ENCODER_SCALE = 1600.0
  • PCW
  • PCW's Avatar
20 Jul 2024 15:54 - 20 Jul 2024 15:56
Replied by PCW on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

PID is used because the step generator is in velocity mode
If the P term is too high you can have oscillations.

Normally for stepgen feedback, the P term is set for 1/servo-period,
so 1000 for a 1 ms (1000000 ns) servo thread period.
The FF1 term is set for 1.000.
  • anfänger
  • anfänger's Avatar
20 Jul 2024 15:29
Replied by anfänger on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

since I never used steppers. I ran pncconf and transferred the results to my machine and set it to quadrature mode
this might be stupid question but why is the a PID loop?
And why is the axis moving back an forth after I jogged it?
There is no feedback coming from the encoders / servo drives to linuxcnc. this should be commented out.
and the servo drives don't move when I jog them with a manual encoder.
I am a bit confused here. Did I made a mistake in PncConf?

Thanks Patrick
# ######################################################
# Axis-of-motion Specific Configs (not the GUI)
# ######################################################
#  AXIS X JOINT 0
#*******************

setp   pid.x.Pgain     [JOINT_0]P
setp   pid.x.Igain     [JOINT_0]I
setp   pid.x.Dgain     [JOINT_0]D
setp   pid.x.bias      [JOINT_0]BIAS
setp   pid.x.FF0       [JOINT_0]FF0
setp   pid.x.FF1       [JOINT_0]FF1
setp   pid.x.FF2       [JOINT_0]FF2
setp   pid.x.deadband  [JOINT_0]DEADBAND
setp   pid.x.maxoutput [JOINT_0]MAX_OUTPUT
setp   pid.x.error-previous-target true
# This setting is to limit bogus stepgen
# velocity corrections caused by position
# feedback sample time jitter.
setp   pid.x.maxerror 0.012700

net x-index-enable  <=> pid.x.index-enable
net x-enable        =>  pid.x.enable
net x-pos-cmd       =>  pid.x.command
net x-pos-fb        =>  pid.x.feedback
net x-output        <=  pid.x.output

# Step Gen signals/setup

setp   hm2_7i97.0.stepgen.00.dirsetup        [JOINT_0]DIRSETUP
setp   hm2_7i97.0.stepgen.00.dirhold         [JOINT_0]DIRHOLD
setp   hm2_7i97.0.stepgen.00.steplen         [JOINT_0]STEPLEN
setp   hm2_7i97.0.stepgen.00.stepspace       [JOINT_0]STEPSPACE
setp   hm2_7i97.0.stepgen.00.position-scale  [JOINT_0]STEP_SCALE
setp   hm2_7i97.0.stepgen.00.step_type        2
setp   hm2_7i97.0.stepgen.00.control-type     1
setp   hm2_7i97.0.stepgen.00.maxaccel         [JOINT_0]STEPGEN_MAXACCEL
setp   hm2_7i97.0.stepgen.00.maxvel           [JOINT_0]STEPGEN_MAXVEL

# ---closedloop stepper signals---

net x-pos-cmd    <= joint.0.motor-pos-cmd
net x-vel-cmd    <= joint.0.vel-cmd
net x-output     <= hm2_7i97.0.stepgen.00.velocity-cmd
net x-pos-fb     <= hm2_7i97.0.stepgen.00.position-fb
net x-pos-fb     => joint.0.motor-pos-fb
net x-enable     <= joint.0.amp-enable-out
net x-enable     => hm2_7i97.0.stepgen.00.enable

net        freigabe => hm2_7i97.0.pwmgen.00.enable


# encoder feedback
#setp hm2_7i97.0.encoder.00.counter-mode 0
#setp hm2_7i97.0.encoder.00.filter 1
#setp hm2_7i97.0.encoder.00.index-invert 0
#setp hm2_7i97.0.encoder.00.index-mask 0
#setp hm2_7i97.0.encoder.00.index-mask-invert 0

#setp  hm2_7i97.0.encoder.00.scale  [JOINT_0]ENCODER_SCALE
#net motor.00.pos-fb hm2_7i97.0.encoder.00.position => pid.x.feedback
#net motor.00.pos-fb => joint.0.motor-pos-fb #push copy back to Axis GUI

# home and limit

net in_x_ref         =>     joint.0.home-sw-in
net in_x_limit_n     =>     joint.0.neg-lim-sw-in
net in_x_limit_p     =>     joint.0.pos-lim-sw-in
  • PCW
  • PCW's Avatar
20 Jul 2024 14:42
Replied by PCW on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

Yes, you would do this with scaling

Note that the external power supply must be isolated.

A small 12V wall adapter would work also
 
  • Philip Lydin
  • Philip Lydin
20 Jul 2024 14:17
Replied by Philip Lydin on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

so when the relay is activated it acts like a reverse pin and it switches the polarity to the vfd? the vfd is only +/-10V so can i put ends stops in the mesa card so it only puts out 10v maximum or will i do a calibration?
  • WKS-3D
  • WKS-3D
20 Jul 2024 13:28

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Füge mal diese Zeilen in deine hal ein und versuchs nochmals:

net tool-change-loop <= iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-prep-loop <= iocontrol.0.tool-prepare => iocontrol.0.tool-prepared


Du bist mein Held, vielen vielen Dank, endlich funktioniert es 

Echt Klasse 

Wünsche noch ein schönes Wochenende

Gruß
Olli
  • Aciera
  • Aciera's Avatar
20 Jul 2024 13:18

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Füge mal diese Zeilen in deine hal ein und versuchs nochmals:
net tool-change-loop   <= iocontrol.0.tool-change      => iocontrol.0.tool-changed
net tool-prep-loop        <= iocontrol.0.tool-prepare     => iocontrol.0.tool-prepared
  • WKS-3D
  • WKS-3D
20 Jul 2024 13:06

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Ja klar, hoffentlich findest du meinen Fehler

 

File Attachment:

File Name: CNC-Drehen.zip
File Size:12 KB


Danke 
  • tommylight
  • tommylight's Avatar
20 Jul 2024 13:02
Replied by tommylight on topic M3/M5 not working

M3/M5 not working

Category: AXIS

Invert the output
  • Aciera
  • Aciera's Avatar
20 Jul 2024 12:56

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

 

Wie bereits erwähnt, alleine der Txx Aufruf funktioniert schon nicht und LCNC hängt.



Habe meinen letzten Vorschlag in einer Gmoccapy sim config ausprobiert. Scheint hier einwandfrei zu funktionieren.

Kannst du bitte mal den ganzen Konfigurationsordner zippen und hier anhängen?
  • garthnoakes
  • garthnoakes
20 Jul 2024 12:52
M3/M5 not working was created by garthnoakes

M3/M5 not working

Category: AXIS

When I issue M3 and M5 commands, they work in reverse to the documentation.  I'm not concerned about that - what does concern me is that an M3 in a program turns the power off, but when the program terminates, it immediately turns back on. This is frankly pretty dangerous. If I then manually enter an M3, it turns off permanently
Displaying 22291 - 22305 out of 26363 results.
Time to create page: 0.606 seconds
Powered by Kunena Forum