Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
24 Apr 2025 16:14
Replied by Hakan on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

It's pretty rudimentary. There are these basic PDOs
      <syncManager idx="2" dir="out">
        <pdo idx="1600">
          <pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>
          <pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>
          <pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="target-position" halType="s32"/>
        </pdo>
      </syncManager>
      <syncManager idx="3" dir="in">
        <pdo idx="1a00">
          <pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="cia-statusword" halType="u32"/>
          <pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="opmode-display" halType="s32"/>
          <pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="actual-position" halType="s32"/>
        </pdo>
so basically one send a wanted position to the drive and read the current position back. That's all.
Following error is calculated in linuxcnc.
The cia402 module basically just passes position after scaling to the drive. And reads back actual position.
It also does the state machine walking, but that's in the beginning, then that idles.
 
  • langdons
  • langdons
24 Apr 2025 15:59 - 24 Apr 2025 16:00
Replied by langdons on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

Spindle RPM is so high, backlash will be totally negligible.

Your motor and/or geartrain might not be designed for, or capable of, instant-reversing.

The motor could break, the gears could shatter.

(Steel can shatter; I've seen old worn-down scrap rails, stored beside the edge of the track, shatter like potterewy in placed where stresses, presumably due to thermal exansion, snapped them)
  • jjdege
  • jjdege's Avatar
24 Apr 2025 15:18

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I do the ST Linkv2 procedure and it does everything right,
 

hi
by correct procedure you mean the one described by @Scotta to convert a STlink V2 into a CMSIS-DAP probe.
Pyocd will not see it as STlink, but as CMSIS-DAP
pyocd list

 
  • vre
  • vre
24 Apr 2025 15:08

XHC-HB04 wireless MPG pendant HAL module

Category: HAL

Some easier way to do this ?
This code github.com/LinuxCNC/linuxcnc/blob/master.../hallib/xhc-hb04.tcl
creates hal pins pendant_util.X can do something with these pins?
  • meister
  • meister
24 Apr 2025 13:18
Replied by meister on topic Umstieg auf LinuxCNC mit RaspberryPi4

Umstieg auf LinuxCNC mit RaspberryPi4

Category: Deutsch

Moin,
willkommen im forum.

für den Raspberry gibt es auch einen Parport adapter, so könnte man ein altes alte Mach3 BOB vielleicht weiter nutzen:

byte2bot.com/products/parallel-port-raspberry-pi-hat

aber es kommt auch immer darauf an was man vor hat, es gibt da einiges an hardware die man nutzen kann: Mesa, Remora, Rio, GPIO.

Gruß Olli
  • rodw
  • rodw's Avatar
24 Apr 2025 13:15
Replied by rodw on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

hmm, I am not seeing 6065 in my drives manual.

0x603F reports any errors including following errors which are described as Closed-loop mode tracking error over limit

In practice, a drive error is thrown and this pin can be referred to to determine the error . I have seen a few following errors here.
 
  • kitkat
  • kitkat
24 Apr 2025 11:21

How do I catch the loadusr process termination signal in LinuxCNC 2.9.2?

Category: HAL

English is not my native language, so sorry for possible mistakes.

I write a c++ program that I run by adding loadusr myprogram to custom.hal(I'm using AXIS gui). This program do some stuff and closes with exiting from AXIS. I catch unix signals like SIGTERM and SIGQUIT to gracefully terminate this program(closing file descriptors, sockets and so on). Everything worked fine on LinuxCNC 2.8.4 but stopped working when I switch to LinuxCNC 2.9.2.
I can catch and handle signals when I directly run my program from terminal, but I can't catch signals when I run it via loadusr. I try with SIGTERM, SIGINT and SIGQUIT signals, nothing gets caught. Looks like in LinuxCNC 2.9.2 AXIS does't sending any of this signals to close it's loadsur subprocesses. Does it use any other signals to close its subprocesses? Or do I need to use another way to catch the termination of the program?
  • COFHAL
  • COFHAL
24 Apr 2025 10:47
Replied by COFHAL on topic XHC-HB04 wireless MPG pendant HAL module

XHC-HB04 wireless MPG pendant HAL module

Category: HAL

You have to use an OR comparator, to connect two inputs to a single output.
  • Grotius
  • Grotius's Avatar
24 Apr 2025 09:27
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@Rod,

In the mean time, have done some reading about the cia-402.
  • The
    0x6065
    : following error window is not used or set by linuxcnc.
  • Velocity mode in combination with a tuned linuxcnc pid could be a try out.


@Tia,
if you want to access my machine remotely i can give you access
We could verify iff all is installed ok. Like the libclothoid is in place etc.
But i think you already used the ./installer. It can be the installer failed at some step.
For the rest i don't know much about the cia-402.
  • Aciera
  • Aciera's Avatar
24 Apr 2025 09:27
Replied by Aciera on topic Has Anyone used DeskProto

Has Anyone used DeskProto

Category: CAD CAM

No double posting. Thank you.
  • vre
  • vre
24 Apr 2025 09:23

XHC-HB04 wireless MPG pendant HAL module

Category: HAL

I have already configured in hal cycle start pause stop external buttons
and spindle start stop external buttons and when i start linuxcnc it reports that
these signals already used and can't used by XHC-HB04.
How can i use both the external buttons and XHC-HB04 together without conflict ?
  • Marc
  • Marc
24 Apr 2025 08:42
Replied by Marc on topic Has Anyone used DeskProto

Has Anyone used DeskProto

Category: CAD CAM

Hallo und guten Tag, bin neu hier und habe eine Frage zu deskproto.
Auf welchem System benutzt du es ? habe es über Wine auf Zorin installiert, Startbildschirm von Deskproto öffnet sich auch, habe es lizensiert - jedoch kommt dann recht schnell die Meldung "deskproto antwortet nicht" mit den Optionen "Beenden erzwingen" oder "warten". Unter warten geht es leider gar nicht weiter sodaß mir nur bleibt das Program zu beenden- irgendeine Idee warum das so ist ? besten Dank und Gruß Marc
  • Grotius
  • Grotius's Avatar
24 Apr 2025 07:45
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@Pcw,

Thanks for your effort. Not everything is installed by the makefile.
I think you need to look at the ./installer file, wich install's locally :

libclothoid3d
libscurve

segment.h is part off libclothoid3d and is installed in /usr/local/include

Then finally there is done a ldconfig.
I hope it works for you then.

 
  • Aciera
  • Aciera's Avatar
24 Apr 2025 07:00

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Also i saw, that in the Identity Mode the Axis soft limits work fine, but in TCP-Mode the maschine runs into the joint hard limits.

For non trivial kinematics proper limit checking prior to execution time is currently not possible because the planner is totally ignorant of custom kinematics. Your best option would be to check for limit violations in cam or running your gcode in a simulation configuration.
Limit checking does work during execution (ie when the joint position actually exceeds the limit) but that will cause an immediate (emergency) stop.
Sometimes it may even be necessary to loosen axes limits to be able to reach the full work space.
  • Mr. Mass
  • Mr. Mass's Avatar
24 Apr 2025 06:01
qtdragon mod was created by Mr. Mass

qtdragon mod

Category: Qtvcp

Trying to modify qtdragon a bit and add hal pins for slides. Found an example on the forum for analog, but I need to do for encoders. Tried to redo the code, at first glance everything seems ok, values change, sliders react. But the problem appears if we change the value by encoder, say by 50%, then press the button 100%, and if after that we reduce the value by encoder again, it immediately jumps to 40% (I specified a step of 10%). As far as I understand the problem is that absolute values are used, but it is necessary to use relative values. But I am completely stuck on how to implement it in the code.
Displaying 1681 - 1695 out of 26447 results.
Time to create page: 0.311 seconds
Powered by Kunena Forum