Advanced Search

Search Results (Searched for: )

  • meister
  • meister
06 Nov 2024 07:06

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

Category: Computers and Hardware

 Another question: I am running the tang 9k with ethernet. What happens if the ethernet connections drops during a move. Will the motors just stop?

 

yes, if the connection is broken, all systems goes into eStop, enable pins goes low and no steps will generated anymore

 
  • Aciera
  • Aciera's Avatar
06 Nov 2024 06:41
Replied by Aciera on topic /usr/share/linuxcnc/hallib/lathe.hal error

/usr/share/linuxcnc/hallib/lathe.hal error

Category: General LinuxCNC Questions

twopass: Error in file /usr/share/linuxcnc/hallib/lathe.hal:
addf failed


Looks like you are loading 'lathe.hal' and there is a conflict with a component that was already added in another hal file.

Copy/pasting entire hal and ini files between configs is rarely a good idea. I would suggest you only copy/paste lines you really need.
  • Kay23
  • Kay23's Avatar
06 Nov 2024 06:34 - 23 Dec 2024 13:20
5-DRV8825 Questions was created by Kay23

5-DRV8825 Questions

Category: Configuration Tools

For my application I need to drive a stepper motor at 60RPM with 2.5Nm of torque. I have chosen a stepper motor with a maximum allowable torque of 3Nm and a current rating of 0.6A per phase. The stepper motor is aNEMA 16 stepper motor with a 14:1 planetary gearbox so the step angle is 0.131 degrees.

My question is how do I calculate at what RPM the 5-DRV8825 stepper motor driver can drive the stepper motor?

I have read the TI datasheet for the 5-DRV8825 and it says the maximum step frequency is 250kHz, which I am assuming is for the highest microstepping resolution of 1/32 and a maximum driver output current of 2.5A.

Is there a reference table or simple formula that I can use to determine the maximum step frequency at lower microstepping resolutions and lower driver output currents?

Is the relationship between microstepping and torque linear? From what I understand, microstepping reduces torque?[/url]
  • PCW
  • PCW's Avatar
06 Nov 2024 06:02
Replied by PCW on topic hm2/hm2_7i92.0: Error finishing read!

hm2/hm2_7i92.0: Error finishing read!

Category: Driver Boards

what is the result of running

 sudo chrt 99 ping -i .001 -q 192.168.1.121 -c 50000

(the times are important)

 
  • angelnu
  • angelnu
06 Nov 2024 05:57
hm2/hm2_7i92.0: Error finishing read! was created by angelnu

hm2/hm2_7i92.0: Error finishing read!

Category: Driver Boards

Usually it is Joint 2, sometimes joint 1 or joint 0. I have to shut down the 7i72 card and restart linuxcnc.
The error is running a program, but sometimes I have gotten the error Error finishing read on 7i92 with no movement of the motors. What could this be due to?
I have a Mesa 7i72 board with a 7i76 connected to an orange PI5, The network cable is Cat6, the motors are Chinese servomotors connected as a direction step, I have executed several times the command:

sudo chrt 99 ping -i .001 -q 192.168.1.1 -c 50000

To see if packets are lost and the result is always 0% packets lost.

I have lowered the maximum speed of the engines in the ini file, I don't know what can happen. Any idea?

Angel
  • jadid
  • jadid
06 Nov 2024 05:37
Replied by jadid on topic Homing lichuan

Homing lichuan

Category: EtherCAT

Aciera,
I see this only happen with lichuan-stepper (CL3-E57H). The same setup can do drive-homing for lichuan-servo (LC20E).
  • Levi
  • Levi
06 Nov 2024 04:56

/usr/share/linuxcnc/hallib/lathe.hal error

Category: General LinuxCNC Questions

I created 1 config with pfconfig. no issues with this one. then i used pfconfig to create a second one and copy the same ini and hal files into the second config and im getting a /usr/share/linuxcnc/hallib/lathe.hal error addf failed / servo-thread not found. they should both be identical so im not sure why one would work but not the second one? im trying to create 2 different configs for the same machine. one with axis and one with probe basic.

anyone have any thoughts?

wopass:invoked with <> options
twopass:found /usr/share/linuxcnc/hallib/lathe.hal
twopass:found ./custom.hal
twopass: Error in file /usr/share/linuxcnc/hallib/lathe.hal:
    addf failed
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
HAL: ERROR: thread 'servo-thread' not found
2323
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

 
  • Micro2000
  • Micro2000
06 Nov 2024 04:38
Replied by Micro2000 on topic LinuxCNC Error

LinuxCNC Error

Category: General LinuxCNC Questions

Maybe it will work but I am going to try the file from the downloads page at the LinuxCNC Packages "LinuxCNC package for RTAI Kernal 5.4.258" the file is labeled as "linuxcnc_2.9.3_amd64.deb"
  • mBender
  • mBender
06 Nov 2024 03:21

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

Category: Computers and Hardware

Heureka!! The new level shifter came in today and it works! I used the 3.3V to 12V and supplied 5V to the high voltage line. Even that works. On the Oscilloscope the Input side looks like a perfect square wave, the output side has a raising edge which is not super vertical. It looks like to doesn't make an issue. Will test the 3.3V to 5V lever shifter and see if that makes a difference.

What is the expected behavior of the direction signal. I was expecting that it's either permanently high or permanently low depending on the direction. It looks like that it's either permanent low and high only when a step impulse is created. Meaning it is kind of a square signal too. Is that correct?

Another question: I am running the tang 9k with ethernet. What happens if the ethernet connections drops during a move. Will the motors just stop?

 
  • Micro2000
  • Micro2000
06 Nov 2024 02:59
Replied by Micro2000 on topic Cannot stat/ no such file or directory

Cannot stat/ no such file or directory

Category: General LinuxCNC Questions

I never tried that mainly because I did not know "linuxcnc" had the RTAI kernal and the "linuxcnc-uspace" was the PREEMPT rt.
  • Micro2000
  • Micro2000
06 Nov 2024 02:05
Replied by Micro2000 on topic LinuxCNC Error

LinuxCNC Error

Category: General LinuxCNC Questions

when I run "sudo apt install linuxcnc" it returns

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linuxcnc is not available, but is referred to by another package.
This may mean that the package is missing, has ben obsoleted, or is
only available from another source

E: Package 'linuxcnc' has no installation candidate

 
  • tcbmetalworks
  • tcbmetalworks
06 Nov 2024 01:09
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Thanks yea I posted on a few Facebook groups asking people about it and they thought I was nuts but to me it makes perfect sense. A large gantry is the exact same as a plasma table. Cartesian coridinates XYZ what gets complicated is when you start to introduce a 6 axis robot with kinematics. What do you think of controlling it using the same controller as the plasma table? Is linux cnc capable of that many axis? It's gonna be interesting making a post processor to run this whole deal. I figure even just driving the crane around with the teach pendant would be handy but what would be even cooler is to have a auto part puller set up. It's a ways away I still haven't even set the table up I need to basicly reorganize the whole shop move the saw lines and lots of other heavy equipment but have been staying up late every night with a tape measure a can of spray paint chain smoking planning different set ups to optimize material flow threw the building. Seems yah can't win 100% every set up has its strengths and weaknesses. I got off the phone with hypertherm earlier they said that the ht2000 has a raw arc voltage output on the io board. Would the thc 5 work well for raw arc voltage?
  • phillc54
  • phillc54's Avatar
06 Nov 2024 00:31 - 13 Nov 2024 01:00
Replied by phillc54 on topic Controlling a compressor with Linuxcnc.

Controlling a compressor with Linuxcnc.

Category: Plasmac

EDIT: files changed to suit a pressure sensor on a analog input.

The following should work but has only been tested in a sim. Use a pressure sensor connected to an analog input and change the postgui file hal pin to suit the analog input. Change HIGH_PRESSURE_VALUE and LOW_PRESSURE_VALUE in user_periodic.py to the values you wish to use. All three files need to be in your plasma machine config directory. Due to response times you will need to move the torch to a suitable start point using the cut recovery panel after the job has paused.

custom_postgui.hal
Warning: Spoiler!


qtplasmac_custom.py
Warning: Spoiler!


user_periodic.py
Warning: Spoiler!
  • tommylight
  • tommylight's Avatar
05 Nov 2024 23:59
Replied by tommylight on topic To forum member Aciera

To forum member Aciera

Category: Off Topic and Test Posts

Aciera wearing the new color proudly! :)
Sorry, i was busy earlier so i just made a smiley.
  • tommylight
  • tommylight's Avatar
05 Nov 2024 23:52
Replied by tommylight on topic Compensating For Angled Cut

Compensating For Angled Cut

Category: Plasma & Laser

Oh we have to do this marking thing


And this is what can be done, Kjellberg is the Plasma master
Displaying 21571 - 21585 out of 22555 results.
Time to create page: 1.147 seconds
Powered by Kunena Forum