Advanced Search

Search Results (Searched for: )

  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
04 Jul 2024 10:22

sherline ballscrew lathe moving 0.99mm for each 1mm...linux or machine issue?

Category: General LinuxCNC Questions

1 second search covers installing the sherline steppers and other stuff.

I think that by going by the info given and the fact that the error is 0.05mm they aren't 400 step per rev steppers, the error would be some what larger. ;)

www.vcshobbies.com/wp-content/uploads/2017/12/67126inst.pdf
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
04 Jul 2024 10:16
Replied by Cant do this anymore bye all on topic I/O expander for RPI5 to run linuxcnc

I/O expander for RPI5 to run linuxcnc

Category: Computers and Hardware

Meister's linuxcnc-rio project will do everything you want. Complete working hal & ini Configs are included when building a config. Tango type FPGA boards are supported and quite inexpensive. There are also modules that support different adc chips, spi expanders and a whole host of other chips.
Thread starts here:
forum.linuxcnc.org/18-computer/49142-lin...-ecp5?start=0#271608

There is no really sub $20 solution.
Unless you give a description of your machine, number of axis, number of spindles, number of I/O, whether you have stop and limit switches, whether they are shared or not, what other I/O you need, it's impossible to give you the ini & hal files, even with all that info you will more than likely have to edit yourself.
  • Altenthaler1988
  • Altenthaler1988
04 Jul 2024 10:14 - 04 Jul 2024 10:39
Replied by Altenthaler1988 on topic qtplasmac "torch not showing"

qtplasmac "torch not showing"

Category: Plasmac

[video]www.youtube.com/shorts/GgnRE_FzmkM




Habe den PC heute noch mal neu aufgesetzt und wieder das gleiche ergebnis hoffe ihr könnt mir helfen. Habe mir nicht anders zu helfen gewust so das ich auf youtube hochgeladen habe und die links eingefügt habe.

Kann den gcode einfügen und die maschine arbeitet auch wenn ich den float switch immer per Brücke betätige nur eben mir fehlt die visualisierung
www.youtube.com/shorts/xabucZcrCow

 
  • viesturs.lacis
  • viesturs.lacis
04 Jul 2024 10:13
BLDC component with 8i20 - how to get to work? was created by viesturs.lacis

BLDC component with 8i20 - how to get to work?

Category: Driver Boards

Hello!

I am doing a Biesse retrofit and I am replacing original servodrives because they are showing errors and I decided to go with Mesa 8i20.
I have attached one 8i20 and am trying to get it to move the motor (belt is removed, motor is not connected to machine) without any PID modules or anything.

Here is the part of HAL file that relates to BLDC component and 8i20 pins:
loadrt bldc cfg=qi

addf bldc.0        servo-thread

setp bldc.0.scale     4000
setp bldc.0.poles    4
setp bldc.0.initvalue     0.7
setp bldc.0.init     0

# setp bldc.0.rev        1

setp bldc.0.encoder-offset     1517


setp hm2_5i24.0.8i20.0.4.current-minlim        -10
setp hm2_5i24.0.8i20.0.4.current-maxlim        10

net motor.02.rawcounts    hm2_[HOSTMOT2](BOARD).0.encoder.02.rawcounts
net motor.02.rawcounts    bldc.0.rawcounts

net motor.02.index-ena    hm2_[HOSTMOT2](BOARD).0.encoder.02.index-enable
net motor.02.index-ena    bldc.0.index-enable

net motor.02.angle     bldc.0.rotor-angle
net motor.02.angle     hm2_5i24.0.8i20.0.4.angle

net motor.02.current     bldc.0.out
net motor.02.current     hm2_5i24.0.8i20.0.4.current

net test-vel        bldc.0.value


Encoder-offset was calculated following way:
1) connected motor U to 24V, V and W to 0V
2) started LinuxCNC, halshow encoder counts and rawcounts
3) removed 24V from motor
4) setp encoder.index-enable 1
5) turn motor by hand until counts reset to 0
6) difference between counts and rawcounts is 1517

For encoder-offset value I have tried 1517, -1517, 2483 and -2483 (because 4000 - 1517 = 2483 as per suggestion by PCW somewhere in these forums).
I have tried with bldc.0.rev set to 0 and 1
I have tried bldc.0.scale both 4000 and -4000.

Signal test-vel is getting its value from pyvcp slider in range from 0 to 20 with increments of 0.1
The result I am getting:
with setp bldc.0.init 1 it starts rotor homing. With uneven motion it will finish it (initdone pin is set "true") although it is really hard to turn motor by hand with current set at 0.7
Then with slider giving input to bldc.0.value motor will snap to another position with jerking at value of around 8-10 and snap back around at 5-6.
With bldc.0.scale -4000 motor would constantly jerk with bldc.0.value at 7.4 or higher and stop jerking with bldc.0.value lower than 5.3

It was suggested that motor should turn equally fast in both directions with low current as an indication that encoder-offset parameter is correct. I just do not understand what do I need in HAL file to command the motor spin at constant speed.

I have no idea what exactly am I missing or what should I try differently, so any hints will be appreciated.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
04 Jul 2024 10:05

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

Hi @tommylight, thankyou for your insight.
Now i want to expand my inputs and outputs in raspberry pi 5, can you suggest me how to expand my i/o and if there is any solution can you also tell me how to configure HAl


Refer to this post forum.linuxcnc.org/18-computer/53136-can...g-step-pulses#304365
  • meister
  • meister
04 Jul 2024 09:59

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

Sorry but i do not use RPI's at all,and that will not change untill their price drops back to under 50$.

Sorry, why not ? i like the RPI's, especially via SPI
  • yathish
  • yathish
04 Jul 2024 09:57
I/O expander for RPI5 to run linuxcnc was created by yathish

I/O expander for RPI5 to run linuxcnc

Category: Computers and Hardware

Now i want to expand my inputs and outputs in raspberry pi 5, can you suggest me how to expand my i/o and if there is any solution can you also tell me how to configure HAl. I do not want to use MESA board as it is expensive, can someone suggest something cheaper?
  • meister
  • meister
04 Jul 2024 09:48

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

No don't use a hub.

Linuxcnc-rio is awesome, with a single WT32-ETH0 and a direct cable connection and inexpensive FPGA you can do 4 axis easily and way more.

i think he will use ethernet for wiring like with ethercat.


 
  • tommylight
  • tommylight's Avatar
04 Jul 2024 09:42

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

Sorry but i do not use RPI's at all,and that will not change untill their price drops back to under 50$.
  • yathish
  • yathish
04 Jul 2024 09:39

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

Hi @tommylight, thankyou for your insight.
Now i want to expand my inputs and outputs in raspberry pi 5, can you suggest me how to expand my i/o and if there is any solution can you also tell me how to configure HAl
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
04 Jul 2024 09:38

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

No don't use a hub.

Linuxcnc-rio is awesome, with a single WT32-ETH0 and a direct cable connection and inexpensive FPGA you can do 4 axis easily and way more.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
04 Jul 2024 09:34
Replied by Cant do this anymore bye all on topic Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5

Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5

Category: Installing LinuxCNC

Awesome used all of elovalo bits to setup an Rpi5 with Pineberry NVME hat, works great.
  • yathish
  • yathish
04 Jul 2024 09:33

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

Can you tell me how to configure HAl and ESP32 if I have to build it for just 1 axis?
  • tommylight
  • tommylight's Avatar
04 Jul 2024 09:28

Can I use Raspberry Pi 5 for Linuxcnc + ESP32 + W5500 for generating step pulses

Category: Computers and Hardware

Using ethernet hub or switch will add a lot to network latency, so it might not work at all, even if everything else works.
Never tried with a hub, but i do have a switch that works with Mesa boards for days without issues.
Still, i never use a switch on production machines, the risk is to big.
-
Network hub = old, any packet sent to any pc wired to it will be sent to all connected PC's.
Network switch = new, any packet sent will be sent only to the PC with the IP address contained in that packet.
  • Donb9261
  • Donb9261's Avatar
04 Jul 2024 09:20
Replied by Donb9261 on topic Position vs Velocity mode

Position vs Velocity mode

Category: EtherCAT

At 1ms tick time round trip for the ECAT bus, you can theoretically achieve .001mm granularity of position. At that rate one could also have 60000mm/m velocity or 2362 ipm. Very few machines in the CNC world can even handle such speeds and the acc/dec inertial demands this velocity creates. Any attempt to advance the bus cycle time aka tick time is a waste of time and energy especially for a hobby/light industrial machine.

I would recommend doing some study of basic physics before walking down a road to nowhere. No matter how faster your motor, bus, etc... you are limited by the physical construction of your machine. Period. End of discussion. Or you have a $1 million machine for the likes of DMG or Chiron. Or simply a million bucks you like throwing away fixing the scrap heap that speed would create of your machine.

Millions of motion control systems utilizing ECAT run using the standard tick cycle of 1ms. I will default to a proven theory put to practice any day. A theory I have proven over years of practice myself.

Have a nice day.
Displaying 25291 - 25305 out of 25686 results.
Time to create page: 0.431 seconds
Powered by Kunena Forum