Advanced Search

Search Results (Searched for: )

  • sin-do-re
  • sin-do-re
21 Jun 2024 10:40 - 21 Jun 2024 10:42
Replied by sin-do-re on topic Scaling power based on % of imposed velocity

Scaling power based on % of imposed velocity

Category: General LinuxCNC Questions

thank you. ive seen your reply to my other post.

im considering this approach. could you please "criticize" it? haha
# Load the necessary HAL components
loadrt scale count=2
loadrt lincurve count=1
addf scale.0 servo-thread
addf scale.1 servo-thread
addf lincurve.0 servo-thread

# Capture the spindle speed output from the G-code command
net spindle-speed motion.spindle-speed-out => scale.1.in

# Connect the current velocity to lincurve
net current-vel motion.current-vel => lincurve.0.in

# Configure lincurve points for velocity to power scaling
setp lincurve.0.velocity-percent 0, 0.2, 0.4, 0.6, 0.8, 1.0  # Adjust these values for velocity percentages
setp lincurve.0.power-scale-percent 0.2, 0.3, 0.4, 0.6, 0.8, 1.0  # Adjust these values for scaling factors (20% at 0 velocity)

# Scale the spindle speed by the lincurve output
net power-scale lincurve.0.out => scale.0.in
net adjusted-power scale.0.out => scale.1.gain

# Scale the adjusted power to the 0-5V analog output range
setp scale.1.gain 5.0  # Adjust this value for the 0-5V range
net final-power scale.1.out => hm2_7i96s.0.7i96s.0.analogout0
  • pippin88
  • pippin88
21 Jun 2024 10:38

Help Needed: Cracking the Code on LinuxCNC Servo Homing Setup!

Category: EtherCAT

So really the gantry function is not needed / helpful when we have a full controller (such as LinuxCNC)

And what we need is to be able to configure 'home offset' whether homing is done fully in LinuxCNC or in a servo drive
  • Donb9261
  • Donb9261's Avatar
21 Jun 2024 10:17

Help Needed: Cracking the Code on LinuxCNC Servo Homing Setup!

Category: EtherCAT

All of them. The reason is that tandem axis control is the domain of the master. The master must issue commands for each motor. The same would be present if using a MESA card with S/D.

Tandem axis control using ECAT in LCNC isn't functional if I understand correctly. I am still digging.

Delta explained what I already knew to be true, that an ECAT servo must derive all commands via the master who is fed commands via the controller. They said, that with the setup they have the position loop is closed for both drives and the encoder output for D1 is fed into D2. The D1 drive uses the standard RS422 encoder output and D2 uses the external encoder interface IN as the position FB for D2. From there, D2 will be placed in follow me mode where it follows the pulse train from D1. While novel, much of the position calculations must be done by the master to ensure the following error of each drive remains as low as possible. Hence the reason it only works with their controllers.

I am just the messenger here. But what they said makes sense based on how their drives are designed. What they have provided as a solution is not ideal even by their standards. Tandem axis control should be the domain of the controller/master not the drive.

The engineer was going to reach out to his counterpart in Taiwan but DeltaTW is off next week so it would be W1 of July before a response is possible. He will forward any white papers if any are available.
  • pippin88
  • pippin88
21 Jun 2024 09:37

Help Needed: Cracking the Code on LinuxCNC Servo Homing Setup!

Category: EtherCAT

After speaking to Delta, the Gantry functionality only works with their motion controllers.
 


Which Delta series? A2? A3? B3?

The A3 manual is 1373 pages long but only has brief mentions of the gantry function (I have 4x Delta A3 servos for a planned build with a gantry and was expecting to be able to use the gantry function)
  • GuiHue
  • GuiHue's Avatar
21 Jun 2024 07:57 - 21 Jun 2024 08:00
Replied by GuiHue on topic EtherCAT hardware requirements questions

EtherCAT hardware requirements questions

Category: EtherCAT

Some thoughts on the options above:
- EtherCAT and Mesa: Will work fine. Could be an option if you don't have EtherCAT interfaces for DI DO yet
- Arduino/ Bausano EasyCAT: Having realized a 64DI 64 DO + xxx Slave with this approach, I can confirm that it is viable, but it gets you deep into tinkering territory.
- Modbus: Seems to be one of the most sensible options. A USB to Serial Stick isn't too expensive and mb2hal will you get pretty much everywhere. Not suitable for RT control as far as I know, but this may not be necessary.
- A Driver that supports EtherCAT and works with CIA402 would be quite simple to get to work.

@rodw: I was not aware of an ELxxxx Card that does pulse generation. Do you mean e.g. EL2521? Looks like there is an lcec driver for this, but I am not sure how it works. Could be a bit of an adventure;).
  • zmrdko
  • zmrdko's Avatar
21 Jun 2024 07:34
Replied by zmrdko on topic EtherCAT hardware requirements questions

EtherCAT hardware requirements questions

Category: EtherCAT

Also maybe you can try to control vfd over arduino which you can hook up via EtherCAT.

www.bausano.net/en/hardware/easycat.html
  • zmrdko
  • zmrdko's Avatar
21 Jun 2024 07:31
Replied by zmrdko on topic EtherCAT hardware requirements questions

EtherCAT hardware requirements questions

Category: EtherCAT

or maybe modbus, if you dont want to spend for another vfd.
  • Dave2024
  • Dave2024's Avatar
21 Jun 2024 06:07
Replied by Dave2024 on topic StepperOnline T6 servo drive

StepperOnline T6 servo drive

Category: PnCConf Wizard

I've got the exact same setup and had the exact same problem. If memory serves it needed to be enabled, I think I just connected a pin to 24+, a wire for 24+ and a gnd wire.

If you can't figure it out I'll open the panel and post a pic.
No need but thanks!  I just figured it out on the led screen with the buttons I had to go into PA400 press the set button and change it from 3 to 38 then press the Set button one last time and unplug and replug the power restarting it and it then starts up in SVR-ON mode.  Then im now able to use the step/dir signal port to control the motor.  Awesome!


If you dont mind me asking what kind of setup for a machine are you running a one of these T6's with?  And which motor do you have?  Is it the 1kw motor?  Im planning on posibly running mine as a spindle for a mill of mine that has a sketchy motor and if ever goes bad I need the T6 with 1Kw motor as a backup
  • Dave2024
  • Dave2024's Avatar
21 Jun 2024 05:47
Replied by Dave2024 on topic StepperOnline T6 servo drive

StepperOnline T6 servo drive

Category: PnCConf Wizard

I've got the exact same setup and had the exact same problem. If memory serves it needed to be enabled, I think I just connected a pin to 24+, a wire for 24+ and a gnd wire.

If you can't figure it out I'll open the panel and post a pic.

No need but thanks!  I just figured it out on the led screen with the buttons I had to go into PA400 press the set button and change it from 3 to 38 then press the Set button one last time and unplug and replug the power restarting it and it then starts up in SVR-ON mode.  Then im now able to use the step/dir signal port to control the motor.  Awesome!
  • Dave2024
  • Dave2024's Avatar
21 Jun 2024 05:43
Replied by Dave2024 on topic StepperOnline T6 servo drive

StepperOnline T6 servo drive

Category: PnCConf Wizard

SRV-ON needs to be enabled.



Ok thanks awsome this helped and it worked!  Basicaly theres a parameter that needs to be set to turn the servo on then the axis will move when sending it testing signals from Pncconf.  Ill make a video about it and post the link here after a couple celebration drinks!  Otherwise its tough to explain how to enable the setting on these drives!
  • newbynobi
  • newbynobi's Avatar
21 Jun 2024 05:31

gmocappy home aller achsen , Verfahrgeschwindigkeit zu langsam, tasten geht nich

Category: Gmoccapy

Der Endschalter in Z muss laut deiner Config am Pin 12 des Parport angeschlossen sein:

net home-z          <= parport.0.pin-12-in

aber das Signal "home-z" wird in deiner Konfiguration nicht weiter verarbeitet.

kann es sein, dass du in dieser Zeile manuell eingegriffen hast?

net all-home => joint.2.home-sw-in

Norbert
  • newbynobi
  • newbynobi's Avatar
21 Jun 2024 05:22

gmocappy home aller achsen , Verfahrgeschwindigkeit zu langsam, tasten geht nich

Category: Gmoccapy

Schau mal hier:

DEFAULT_LINEAR_VELOCITY = 0.10
MAX_LINEAR_VELOCITY = 1.00

und deine Maschine ist in mm konfiguriert, auch wenn deine Achsen auf 15 stehen (900 mm / min), dann ist die maximal zulässige Geschwindigkeit in [TRAJ] ja auf 60 mm/min begrenzt.

Norbert
  • newbynobi
  • newbynobi's Avatar
21 Jun 2024 05:12

gmocappy home aller achsen , Verfahrgeschwindigkeit zu langsam, tasten geht nich

Category: Gmoccapy

Hallo,

wenn alle Geschwindigkeiten für die Endschaltersuche auf Null stehen, dann wundert mich, dass die Maschine überhaupt anfängt einen Endschaltersuche in Z zu suchen.

Wenn dieser nicht auslöst, obwohl er mechanisch funktioniert, Dan ist dieser nicht richtig in der Hal Datei angebungden.

Eine zu langsame Geschwindigkeit deutet darauf hin, dass hier die Default Werte gezogen werden, da Einträge in der INI Datei fehlen.

Hast du schon einmal die Einträge deiner INI  mit den Angaben der Bedienungsanleitung verglichen?

Zusätzlich sollte man bei Fehlern:
- linuxcnc von der Konsole aus starten (einfach linuxcnc) eingeben
- Die Ausgaben im Terminal beobachten, da erscheinen Hinweise und Fehler sowie Angaben zur Konfiguration, auch fehlende INI Einträge werden geledet.
- Zur Fehlersuche ist es sinnvoll die eigenen INI und Hal Dateien zur Verfügung zu stellen.

Mit den derzeitigen Angaben ist es leider kaum möglich einen Lösungsansatz zu geben.

Norbert
  • jimmyrig
  • jimmyrig
21 Jun 2024 04:29
Replied by jimmyrig on topic StepperOnline T6 servo drive

StepperOnline T6 servo drive

Category: PnCConf Wizard

I've got the exact same setup and had the exact same problem. If memory serves it needed to be enabled, I think I just connected a pin to 24+, a wire for 24+ and a gnd wire.

If you can't figure it out I'll open the panel and post a pic.
  • scotth
  • scotth
21 Jun 2024 03:40
Replied by scotth on topic StepperOnline T6 servo drive

StepperOnline T6 servo drive

Category: PnCConf Wizard

SRV-ON needs to be enabled.
Displaying 25246 - 25260 out of 26036 results.
Time to create page: 0.485 seconds
Powered by Kunena Forum