Advanced Search

Search Results (Searched for: )

  • 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's Avatar
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's Avatar
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
  • WKS-3D
  • WKS-3D's Avatar
20 Jul 2024 12:44 - 20 Jul 2024 12:57

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Ich fasse mal zusammen wie es momentan ausschaut:

T4 M6 im MDI = LCNC hängt bis ich auf Stop drücke

wenn ich im Anschluss direkt:

o<toolchange> call im MDI ausführe, dann wird alles richtig ausgeführt, der Stepper fährt auf den richtigen Winkel von 135 Grad.

Genau so verhält es sich auch mit den anderen Wkz-Nummer, der Stepper fährt immer auf den richtigen Winkel.

Wenn ich T2 M6 aufrufe und LCNC hängt, ich dann mit Stop abbreche, danach (DEBUG, #<_selected_tool>;) im MDI aufrufe, wird die richtige Wkz-Nummer angezeigt. Das ist auch bei jedem Werkzeug so.

Warum also läuft das ganze nicht in einem durch, warum hängt LCNC nach der T Eingabe?
 
  • WKS-3D
  • WKS-3D's Avatar
20 Jul 2024 12:23

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Das funktioniert leider auch nicht.
Queue Buster habe ich nicht probiert und ich musste auch erst mal googeln was das ist 

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

Die tool.tbl habe ich mir auch schon angesehen ob da was Falsches drin steht, aber das scheint richtig:

T1  P1  D3  I95.000000  J155.000000  Q2  ;Schruppen
T2  P2  D3  I85.000000  J25.000000  Q2  ;Schlichten
T3  P3  D3  I275.000000  J335.000000  Q2  ;Gewinde
T4  P4  D3  I265.000000  J205.000000  Q2  ;Sample Tool
T5  P5  D3  I95.000000  J155.000000  Q2  ;Sample Tool
T6  P6  D3  I85.000000  J25.000000  Q2  ;Sample Tool
T7  P7  D3  I275.000000  J335.000000  Q2  ;Sample Tool
T8  P8  D3  I265.000000  J205.000000  Q2  ;Sample Tool
 
  • Aciera
  • Aciera's Avatar
20 Jul 2024 12:07

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Ich hatte meine Vorschlag oben nochmals geändert, hast du das mit dem Queuebuster schon probiert:
o<toolchange> sub
#4001=45
M61 Q#4999
o500 if[#<_current_tool> EQ #<_selected_tool>]
    (DEBUG,Tool bereits in Spindel)
o500 else
    G0 W[#<_selected_tool> * #4001-#4001]
    M66 E0 L0
    M6 G43
    #4999=#5400
o500 endif
o<toolchange> endsub
m2
  • WKS-3D
  • WKS-3D's Avatar
20 Jul 2024 12:01

Brauche bitte Hilfe bei der Steuerung des Werkzeugrevolvers

Category: Deutsch

Ich habe noch einige Änderungen vorgenommen, vor allem weil der Fehler mit dem Anschlag und linearer Bewegung gestört hat, nun ja, die W-Achse ist ja eigentlich eine lineare Achse, diese habe ich zur C-Achse geändert und dieser Fehler ist schonmal behoben.

Des weiteren habe ich herausgefunden das bereits schon bei der Eingabe von Txx im MDI LCNC hängt, also der Pfeil oben in der Leiste bleibt gedrückt. Wenn ich dann auf Stop drücke und dann das Unterprogramm Toolchange aufrufe, dann schaltet die Pneumatik und auch der Stepper für den Revolver dreht sich, allerdings kommt dann die Fehlermeldung das kein Txx angewählt wurde.
Ausprobiert habe ich auch, #4999=#5400 (WZ dauerhaft merken) direkt hinter M61 Q#4999 zu setzen, was aber auch nicht das Problem gelöst hat.
Nun weiß ich nicht, was ich sonst noch ausprobieren kann, dass ist das Einzige, was mir noch fehlt, um das ganze an die Maschine zu bauen.
  • rodw
  • rodw's Avatar
20 Jul 2024 11:22

"error finishing read" with Mesa 7i92T on fresh install

Category: Driver Boards

Using grub-customizer is covered under the heading optional steps. I added some additional detail about EEE and ASPM
Please let me know if it needs changing
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing
Displaying 24196 - 24210 out of 25534 results.
Time to create page: 0.545 seconds
Powered by Kunena Forum