Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
08 May 2025 06:25
Replied by Hakan on topic Moving from Axis to QtDragon?

Moving from Axis to QtDragon?

Category: Qtvcp

Just one approach is to find a setup you like among the linuxcnc example and take a copy of that.
Copy your ini and hal file over those files.
Change the DISPLAY line in the ini file to
DISPLAY = qtvcp  qtdragon
and there is a good chance it starts up. A starting point.
 
  • Hakan
  • Hakan
08 May 2025 06:18 - 08 May 2025 06:19
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

I guess you installed ethercat-dkms, the modules seem to be generated a couple of days ago.
It works now?
If it doesn't I would say to reinstall ethercat master and the drivers
sudo apt remove ethercat-master ethercat-dkms
sudo apt install ethercat-master ethercat-dkms
# edit /etc/ethercat.conf again
and make sure that the rather lengthy part where the modules are being built for the kernel succeeds.
  • Hakan
  • Hakan
08 May 2025 06:05
Replied by Hakan on topic Mode and Scaling

Mode and Scaling

Category: EtherCAT

1. Normally csp I would say. For a spindle motor csv.
2. I prefer to send position in machine units to cia402 and do the scaling closer to the drive. But that's just me.
3. lcec comes from here github.com/linuxcnc-ethercat/linuxcnc-ethercat and there is a link in there to a reference guide. Unfortunately it doesn't cover sdo uploads. But it's done like this. Example comes from one of my ect60 stepper motor drivers.
<slave idx="0" name="X" type="generic" vid="00000a88" pid="0a880002" configPdos="true">
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
      <sdoConfig idx="2000" subIdx="0"><sdoDataRaw data ="a0 0f"/></sdoConfig>  <!-- Max motor current (3.0A=b80b 4.0=a00f 5.0=8813) Rated=4.0A -->
      <sdoConfig idx="2003" subIdx="0"><sdoDataRaw data ="64 00"/></sdoConfig>  <!-- Standby current percentage (100%) -->
      <sdoConfig idx="2011" subIdx="0"><sdoDataRaw data ="01 00"/></sdoConfig>  <!-- Closed loop -->
      <sdoConfig idx="2023" subIdx="1"><sdoDataRaw data ="a0 0f"/></sdoConfig>  <!-- Kp=4000 (def=2000) -->
      <syncManager idx="2" dir="out">
The sdoDataRaw has some quirks. First you must enter 4 bytes for a 32-bit variable, 2 bytes for 16 bit and 1 for 8 bit.
Note the byte order, 4000 which is hex 0x0fa0 is entered as "a0 0f". 100 (hex 0x64) is entered as "64 00",
  • Hakan
  • Hakan
08 May 2025 05:54 - 08 May 2025 05:54
Replied by Hakan on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

You don't set open loop in linuxcnc. You set it to cia402 csp (cyclic synchronous position) mode and it is up to the drive to figure out how to come to the position you tell it. In open loop the driver will just report back the target position, not the actual position as the actual position well that's obvious I guess.
If you need to set the sdo value during startup you can do that like this (example from my ect60 drive)
   <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
      <sdoConfig idx="2000" subIdx="0"><sdoDataRaw data ="a0 0f"/></sdoConfig>  <!-- Max motor current (3.0A=b80b 4.0=a00f 5.0=8813) Rated=4.0A -->
      <sdoConfig idx="2003" subIdx="0"><sdoDataRaw data ="64 00"/></sdoConfig>  <!-- Standby current percentage (100%) -->
 

Note the byte order, 4000 which is hex x0fa0 is entered as "a0 0f"
  • meister
  • meister
08 May 2025 05:11

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

no is not normal, should only take a few seconds, try a different cable
  • cakeslob
  • cakeslob
08 May 2025 03:02

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

im not sure, ive only ever use the regular terminal, but im not using the debian linuxcnc image
  • Sparky3
  • Sparky3
08 May 2025 02:53 - 08 May 2025 02:54

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Question, does it normally take 2 hours to flash tangbob board?
Using the example config file.

Thank you
  • Revinvoss
  • Revinvoss
08 May 2025 01:41
Replied by Revinvoss on topic LinuxCNC download for Debian 12

LinuxCNC download for Debian 12

Category: General LinuxCNC Questions

Thanks I will follow this info.
  • Spyderbreath
  • Spyderbreath's Avatar
08 May 2025 01:38
Moving from Axis to QtDragon? was created by Spyderbreath

Moving from Axis to QtDragon?

Category: Qtvcp

Hello all. Completely new and ignorant to this topic, and after more than a little searching I have not found any answers.

I currently have a Remora/NVEM configuration working under the Axis interface and would like to move that into QtDragon. However, that is not a simple cut and paste operation, and I can not find any guidance on how to even begin to attempt it. Just looking at the differences between the Axis and QtDragon directories has me confused. They are not the same.

Any help or guidance would be appreciated as I am at a loss to find a starting point. I can certainly provide my .hal and .ini files if needed.
 
  • linuxdevice
  • linuxdevice
08 May 2025 01:06

Tormach Mill Simulation (770MX): No Way to Take Out of E-Stop

Category: Basic Configuration

This is entirely for simulation. I'd like to see how things work on the simulation prior to putting g-code onto the actual Tormach. It makes experimentation safe.

So far I have used the provided files which come with the LinuxCNC install:
~/linuxcnc/configs/by_machine.tormach/pcnc-770.*

It sounds like "~/linuxcnc/configs/by_machine.tormach/pcnc-770.ini" is where to look. I'll dig around in that and see if I can see what you are mentioning. Thank you!

PS: That file is a copy from the reference copy already, but I will make a backup anyway.
  • tommylight
  • tommylight's Avatar
08 May 2025 00:56

Tormach Mill Simulation (770MX): No Way to Take Out of E-Stop

Category: Basic Configuration

It is unclear if you are setting up this to later be wired to the machine, or this will be simulation only.
Either way, the limit switches are triggered or missing if not connected to machine, so if you want to use it as a sim, remove or omit the lines containing limit switch inputs in hal and lines with home-something-or-another in the ini file.
Do make backups of the original config, though.
And you can have as many configs on the PC as you like, so feel free to make copies, edit and test, to your hearts content.
  • Spyderbreath
  • Spyderbreath's Avatar
08 May 2025 00:49
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Wonderful. Yea, I don't think I would of gotten that spindle config. Thanks.

And I think my next and maybe final question for now is when uploading the .txt file to the controller, does the upload script need to be run in a virtual environment or can it be run from a standard console?

I ask thinking about changing to the DMAstepgen from the basic.
  • linuxdevice
  • linuxdevice
08 May 2025 00:31

Tormach Mill Simulation (770MX): No Way to Take Out of E-Stop

Category: Basic Configuration

I just installed the default LinuxCNC Debian 12 to a dedicated desktop PC. There is a Tormach 770 PNC configuration available without anything special, and I've loaded that (though I am working with a 770MX, it is not connected to this computer). I am not a machinist, and I know very little about LinuxCNC, although the Tormach PathPilot is derived from LinuxCNC. From what I can tell the 770 PCNC configuration should work, and it sort of does. I can load a simple g-code file which I've used on the 770MX, and it shows the same graphical display as the actual 770MX (I also imported the tool table from the actual Tormach). The problem: There is no way to "run" the code.

I'm attaching a screenshot. You can see it is in E-Stop, and the buttons I think are for starting cycle (which is unclear if those are for that purpose) are grayed out. Menus do not have any way to take this out of E-Stop or reset. Maybe there is some added setup needed for this to be a simulation without hardware? Any suggestions on what to look at to make this run like a PCNC 770 from Tormach?
 
  • tommylight
  • tommylight's Avatar
08 May 2025 00:26
Replied by tommylight on topic Machine stopped in middle of program.

Machine stopped in middle of program.

Category: AXIS

-power brownout
-lighting strike even several miles away
-processor had a hiccup
-failing power supply
-failing memory or memory controller
-failing capacitors on PC
etc
If any of the last 4, the issue will occur more often with time.
If the second, not much you can do.
If the first thing, and if this is a parallel port setup, and this happens again, see what equipment did you turn on in the house/shop/neighborhood, as big power draw equipment can cause this, easily, and they do for sure cause power brownouts.
  • fc60
  • fc60
07 May 2025 23:58

Machine stopped in middle of program.

Category: AXIS

Greetings,

I was machining two parts that I have run before at least 30 times.

First part machined as expected.

The second part got 3/4 through the program and the spindle and axis motors stopped.

Also, the AXIS screen was frozen up. No response to keyboard nor mouse.

I turned off the power and rebooted.

Next I started LinuxCNC 2.5.5. All went well.

Reloaded the program, dialed the part back in, and reset Z zero of the cutting tool.

Pressed Cycle Start and the program ran fine.

So, what happened?

Is there an error log/file I can look through to determine the cause of the shut down?

More clues.....

LinuxCNC 2.5.5
Smithy 1240 Milling machine

Cheers,

Dave

 
Displaying 481 - 495 out of 26555 results.
Time to create page: 0.302 seconds
Powered by Kunena Forum