Advanced Search

Search Results (Searched for: )

  • peterdownunder
  • peterdownunder
Today 01:42
Trying to get analog joystick to control jogging was created by peterdownunder

Trying to get analog joystick to control jogging

Category: Basic Configuration

Trying to get analog jogging working on gmoccapy, linuxcnc 2.9.3 with mesa card.
Have followed a few separate threads and have com up with the following .starting with just the x-axis. The analog out from the mesa is approx 0 to 5v

 loadrt mux2 names=mux2_x,mux2_y,mux2_z
addf mux2_x servo-thread
addf mux2_y servo-thread
addf mux2_z servo-thread

loadrt and2 names=and-jog
addf and-jog servo-thread

loadrt deadzone names=deadzone-x
addf deadzone-x servo-thread

loadrt scale names=scale.x
addf scale.x servo-thread

setp scale.x.offset -1.00
setp scale.x.gain .416
net x-scale <= hm2_7i76e.0.7i76.0.0.analogin0 => scale.x.in
net gate-x-scale <= scale.x.out => mux2_x.in1 
net x-is-homed <= halui.joint.0.is-homed

net machine-is-on <= halui.machine.is-on => and-jog.in0
net x-is-homed => and-jog.in1 
net jog-allowed <= and-jog.out => mux2_x.sel

setp deadzone-x.threshold 0.1
net mux-x mux2_x.out => deadzone-x.in

net jog-x-analog deadzone-x.out => halui.joint.0.analog halui.axis.x.analog
setp halui.mode.manual 1
setp halui.joint.0.select 1

Am getting halui.joint.0.analog going from +1 to -1 ok and seems to be gated correctly if I unhome X.
Was getting
error: command [EMC_JOG_STOP] cannot be executed until the machine is out of E-Stop and turned on
when I didn't have the gating correct so it appears to be getting through to some extent 

I also seem to have a problem wit deadzone as configured above. It is letting through values like .006 when threshold is .1. If I change it to .2 it seems to behave better
  • COFHAL
  • COFHAL
Today 20:50
Replied by COFHAL on topic Qtvcp GUI and hal pins

Qtvcp GUI and hal pins

Category: Qtvcp

The error when one calls a macro like o<x_touch> call keeps appearing
[QTvcp.COMMON.HAL_GLIB][DEBUG] REQUESTED:{'FUNCTION': 'request_macro_call', 'ARGS': 'ini-mdi-cmd-5'} (hal_glib.py:408)
[QTvcp.QTVCP.WIDGETS.ACTION_BUTTON][DEBUG] INI MDI COMMAND #: 5 (action_button.py:717)
[QTvcp.QTVCP.QT_ACTION][DEBUG] COMMAND= x_touch call (qt_action.py:234)
[QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:x_touch call (qt_action.py:249)
emc/task/emctask.cc 70: interp_error: File not open.

I've already verified that the path is correct, and macros of type o<XXXX> call run fine with Axis.
Could it be that, as the error [QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:x_touch call] indicates, it's trying to execute the x_touch call command and not o<x_touch> call?
  • andrax
  • andrax's Avatar
Today 19:38
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

You have not Stepper online A6 servos
  • azalin
  • azalin
Today 18:16

AASD servo Lathe spindle motor needs tuning

Category: General LinuxCNC Questions

Hi,

I use a servo motor as lathe spindle motor. Positioning mode, step\dir signals. As you see in the video I need to tune the drive for lower RPMs than 10. Yes, I'll never use such low RPM's in a lathe but it still needs tuning on the drive. 

Which parameters should I play with?

Also I am unable to find a proper user manual for the AASD drive as the pdf I have the parameters ends at PN219 but I know there are many more. If you have the latest pdf and willing to share I'll be greateful.

Servo drive AASD 50A
Motor 110ST_M06030 (1.8kw)

Thanks in advance,
Suat

  • Insomniac
  • Insomniac
Today 18:07
Replied by Insomniac on topic MDI Command Error

MDI Command Error

Category: General LinuxCNC Questions

Sorry for the mistake I have attached my files here.

I do have that line in the post gui file. I also have those other lines you mentioned. Thank you for your help! 



 

File Attachment:

File Name: SeaNC2_2026-05-04.ini
File Size:6 KB

File Attachment:

File Name: SeaNC2_2026-05-04.hal
File Size:13 KB
  • Dudelbert
  • Dudelbert
Today 18:05

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

You don’t have to apologize at all. I had a look at the index signal before, but not with the rest of the machine running. So I will test this with the axis drives and VFD running to make sure.
  • Konstantin
  • Konstantin
Today 17:51
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Thank you, but I have not executed any homing procedure. I thought that I should execute a homing procedure at least once. For example, let us assume that I utilize the index pulse homing method - 34. I execute homing once and then the servos have their reference from the absolute encoders.
  • andrax
  • andrax's Avatar
Today 17:15
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Congratulations
I don't think the rest should be a problem
  • fer662
  • fer662
Today 15:42

Sanitycheck my plan: ethercat + stepperonline A6

Category: EtherCAT

I didn't do anything too special compared with this guide  other than selecting "USB_CDC" for communication and then scanning on the available "Serial Port" options until the driver showed up. If yours doesn't, try a different cable.
  • Muecke
  • Muecke's Avatar
Today 15:24

Erste Schritte mit A6-EC Servo: 24 V für Bremse, Bremswiderstand und RJ45-Kabel?

Category: Deutsch

Hallo zusammen,um überhaupt erst einmal ein Gefühl für Servomotoren und die zugehörige Antriebstechnik zu bekommen, möchte ich mir testweise ein kleines Servo-Setup zulegen.Aktuell schaue ich mir dieses Set von Stepperonline an:A6 Serie, 750 W, 2,39 Nm, mit Bremse, 17-Bit-Absolutgeber, STO
www.omc-stepperonline.com/de/a6-serie-75...a6-ec750h2b1-m17-sto Dazu habe ich ein paar Verständnisfragen:
  1. Der Motor hat eine integrierte Haltebremse.
    Benötige ich dafür zusätzlich ein 24 V DC Netzteil, um die Bremse überhaupt ansteuern bzw. lösen zu können?
  2. Im Handbuch steht auf Seite 12, dass ein integrierter Bremswiderstand vorhanden ist.
    Heißt das, dass ich keinen externen Bremswiderstand brauche, oder ist je nach Anwendung trotzdem noch ein zusätzlicher erforderlich?
  3. Ich würde das Encoderkabel mit Batterie direkt mitbestellen.
  4. Beim RJ45-Anschluss / EtherCAT:
    Reicht dafür ein normales handelsübliches Netzwerkkabel, oder sollte man hier besser ein spezielles, industrietaugliches Kabel verwenden?
Hier noch das Handbuch:
www.omc-stepperonline.com/index.php?rout...rvo_drive_manual.pdf Mir geht es wirklich erst einmal darum, die Grundlagen praktisch zu verstehen, bevor ich später größere Achsen auslege.Vielen Dank schon einmal für Eure Einschätzungen.Gruß
Mücke
  • RotarySMP
  • RotarySMP's Avatar
Today 14:37

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

Sorry, I forgot that. Can you get a scope onto the spindle encoder index pulse?
 
  • Konstantin
  • Konstantin
Today 11:26
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Yes, I can jog the axis and tried simple MDI commands that work fine.
  • andrax
  • andrax's Avatar
Today 10:48
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Looks good.

Can you move the axis while jogging?
  • Konstantin
  • Konstantin
Today 09:10 - Today 09:11
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

When using the attached configurations from my previous post, the last current position is displayed.
  • andrax
  • andrax's Avatar
Today 08:44
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

What position is displayed when you turn the servo off and on again? 0 or the last current position?
Displaying 1 - 15 out of 16567 results.
Time to create page: 0.375 seconds
Powered by Kunena Forum