Advanced Search

Search Results (Searched for: )

  • greg23_78
  • greg23_78
14 Nov 2024 08:38 - 14 Nov 2024 08:41

Solution fo "hm2 error finishing read" with no good PC

Category: Computers and Hardware

i get like before
cnc@cnc:~$ ls -1 /sys/class/net/ | grep -v lo | xargs -I{} bash -c 'echo -n {} :" " ; basename `readlink -f /sys/class/net/{}/device/driver`'
enp2s0 : r8168
cnc@cnc:~$

My PC is a Dell Optiflex 3040
  • Aciera
  • Aciera's Avatar
14 Nov 2024 08:22

How to Achieve Smooth Motion for Rotational Axes? G64?

Category: G&M Codes

That is likely because LinuxCNC falls back to one-line lookahead for moves involving any other axis than XYZ. This means that velocity is no longer blended over multiple path segments. The motion planner sets the speed as to be able to stop the movement at the end of the next segment which means that the shorter the segment the slower the speed.
This is an internal limitation of the current motion planner, as a workaround for multi axis gcode generated by CAM it is usually recommended to output longer segments.
  • behai
  • behai
14 Nov 2024 08:21

Please help with Nema 23 closed loop CL57T-V41 driver Microstep Switches

Category: Off Topic and Test Posts

Hi,

I am trying to understand the Nema 23 closed loop CL57T driver. I have zero knowledge of CNC and stepper motors. I am learning with the objective of building my own CNC.

The manual for the driver: www.omc-stepperonline.com/download/CL57T_V4.0.pdf

The factory setting for the Microstep Switches are:

SW1 = ON, SW2 = OFF, SW3 = ON, SW4 = ON

This "Microstep 8" factory setting requires 1600 pulses per revolution. In my Python program, if I send in 1600 pulses the motor makes one revolution: I just observed that by eyes only.

When I set the switches to "Microstep 1": SW1 = ON, SW2 = ON, SW3 = ON, SW4 = ON

Then I send in 200 pulses and the motor makes one revolution: but it runs very fast compared to "Microstep 8".

I understand the relationship between switches and pulses. PLEASE HELP WITH THE QUESTIONS:

- When we use this motor and this driver with LinuxCNC, how do we set the Microstep Switches?

- Must all drivers' Microstep Switches be set the same?


Please pardon me if the questions are ignorant, all I have currently is LinuxCNC installed for Raspberry Pi 4B. I don't have any other relevant hardware, so I can't try anything yet. I am just trying to understand the basics.

I've attempted some settings, I have a video showing the speed at different pulses:



Thank you and best regards,

...behai.
  • shaying526
  • shaying526
14 Nov 2024 07:09

How to Achieve Smooth Motion for Rotational Axes? G64?

Category: G&M Codes

Thank you for your reply. I carefully watched the video you sent.
The issue discussed in the video is one that I may encounter later, and it was very helpful.
However, I think I may be describing a different issue. I forgot to mention a detail when I was asking my question just now. It's actually this issue that I'm more eager to solve.

When using different step values, the degree of deceleration of the rotary axis varies. The smaller the step value, the lower the speed. However, this issue does not occur with the linear axis when using G64.

For the linear axis, regardless of whether the incremental step is 1, 0.1, or 0.01, the velocity can reach 3000 when using G64.

With the rotary axis, when the step value is 1, the vel is 2800.
When the step value is 0.1, the vel is 866.
When the step value is 0.01, the vel is 262.

For example:
G64 P0.01
G01 F3000
;Linear axis step 1
G01 X0 Y0 Z0
G01 X1 Y1 Z1
...
G01 X70 Y70 Z70; vel: 3000

;Linear axis step 0.1
G01 X0.1 Y0.1 Z0.1
G01 X0.1 Y0.1 Z0.1
...
G01 X69.9 Y69.9 Z69.9
G01 X70 Y70 Z70; vel: 3000

;Linear axis step 0.01
G01 X0.01 Y0.01 Z0.01
G01 X0.01 Y0.01 Z0.01
...
G01 X69.99 Y69.99 Z69.99
G01 X70 Y70 Z70; vel: 3000


;rotational axis step 1
G01 C0
G01 C1
...
G01 C69
G01 C70; vel: 2800

;rotational axis step 0.1
G01 C0
G01 C0.1
...
G01 C69.9
G01 C70; vel: 866

;rotational axis step 0.01
G01 C0
G01 C0.01
...
G01 C69.99
G01 C70; vel: 262

G01 C0.01

Thank you again for your reply!
  • Creative25
  • Creative25
14 Nov 2024 06:53
Replied by Creative25 on topic Defaults in QTplasmac

Defaults in QTplasmac

Category: Plasmac

You should have SheetCam set up to either use the materials that are in QtPlasmaC or to create the materials as required.
If you have something like below in the G-code file:
(o=0, nu=2, na=5mm Mild Steel 40A, ph=3.1, pd=0.1, ch=0.75, fr=3000)
then SheetCam is creating the materials.
http://linuxcnc.org/docs/devel/html/plasma/qtplasmac.html#plasma:magic-comments

The default material in QtPlasmaC is set on the SETTINGS tab.



 

After a search I just found this post.
I use free sheetcam for very small files.

I get the above mentioned code in any file it creates. 
 Normally on line 23

It prevents Qtplasmac from using the material I chose in Qtplasmac. 

I always delete that file. 
Are there some settings to prevent Sheetcam from creating this line. 

I want to handle material settings from Qtplasmac exclusively.


 
  • meister
  • meister
14 Nov 2024 06:27 - 14 Nov 2024 06:28

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

Category: Computers and Hardware

you can try setting the DEADBAND a little higher again to see if the trembling goes away.

It is at least due to the PID controller, but unfortunately I don't have a good solution at the moment


and please forgive me, I'm not a professional either and don't have an answer to every problem :)
  • newbynobi
  • newbynobi's Avatar
14 Nov 2024 06:15
Replied by newbynobi on topic Error when trying to open Gmoccapy confiuration.

Error when trying to open Gmoccapy confiuration.

Category: Gmoccapy

Sorry for jumping in so late. print "change_prolog: Toolchanger soft fault %d" % int(self.params[5601])

That is The main error. Several files are from python using print "" instead of print("") as function.
You will need to update all old python files to fit the python 3 needs.

I suggest to uncomment the embedded taps in your INI file and try starting your config.
If it starts, try with one embedded tab and check again, repair the bugs and go on.

Norbert
  • 7strideR
  • 7strideR's Avatar
14 Nov 2024 05:08 - 18 Nov 2024 07:06

Linux CNC powered Ethercat Mill Retrofit

Category: EtherCAT

Hey guys,

I am new to LinuxCNC and I am planning to retrofit an old Bridgeport series 1 interact. Can anyone give me feedback on what to look out for or maybe better alternative to purchase, I have experience in electronics, DIY UCCNC plasma and setting up Linux servers for webhosting but no experience in Ethercat components or LinuxCNC itself.

Here's a list of some of the components I want to purchase.

Leadshine - EL7-EC1000N servos with ELM2H-1000LA80E motors
Mini Pc - To run LinuxCNC (Are there 3D party Ethercat boards like the mesa ones I have seen that would be better?)
Touch screen - USB C / HDMI input for touch controls
Beckhoff - Coupler, I/O module (For limit switches and addons)

What other components should I look at and would this be a good place start?

Thanks
  • cakeslob
  • cakeslob
  • juliankoenig87
  • juliankoenig87
14 Nov 2024 04:40
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Ahh. Thank you. For me it looks like the 5308 will be a suitable candidate. The only downside is 800mA and not 1000mA.

First I will desolder them and go on with the checks.
  • mBender
  • mBender
14 Nov 2024 03:22 - 14 Nov 2024 03:23

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

Category: Computers and Hardware

.....
Thinking about it more with your comment, I think maybe the machine is moving the correct amount, but the position reported back to LinuxCNC isn't correct or isn't stable, for some reason. How can I look into this further? If it were just floating point rounding error, once the iceshield had arrived at the correct position, shouldn't the reported position then be stable at the rounded value, instead of flicker? My X axis is very coarse, so I am comfortable with it not having high precision, but the flickering reported value (shown in the DRO) is very odd given that it's a stepper.

Do I need to re-flash with each change of scale, or is modifying it in the .ini sufficient?

For reference, 
config: github.com/digiexchris/6x11-sg-grinder-l...reconfig/config.json
generated ini: github.com/digiexchris/6x11-sg-grinder-l...eld/LinuxCNC/rio.ini

but I have changed the scale to 11.64 (yes, very coarse) for the X axis but that's what was required to get 10mm of movement from G1 X10 with a surface grinder table driven off of the normal handwheel (it's quite a large movement per handwheel turn)


I think I'll change the microstepping up to 32k so I can get the scale number higher and see what effect that has on the stability of the reported position.

if i set the deadband to :
DEADBAND           = 0.0001

my DRO shows the exact position like 10.000 or 0.000
 
 

Have you tried to set
POSITION_FEEDBACK = COMMANDED
in the LinuxCNC Display section?
  • mBender
  • mBender
14 Nov 2024 03:02

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

Category: Computers and Hardware

Well, first of all sorry. I tried to edit the last message on my phone and it screwed up and made 1/2 of the message to a link.

Anyway. I made some progress. I was curios why the Y axis motors making this weird sound when they are not moving and shaking a bit. I connected the oscilloscope to the Tang and depending on when I the movement I get the following signals on step and dir. The signals can look different which makes the motors sound different and sometimes i even stop at a point where no signal is produced. It feels like the tang is doing some sort of position holding or so.

Again, this is when the axis are not in a commanded move. It happens on X,Y,Y,and Z. X and Z just have different motors and I can't hear or feel it.

What could cause that?

DIR
 
Step
 
  • tommylight
  • tommylight's Avatar
14 Nov 2024 02:38

How to Achieve Smooth Motion for Rotational Axes? G64?

Category: G&M Codes

8 years old video, but should be still relevant:
  • cmorley
  • cmorley
14 Nov 2024 02:37
Replied by cmorley on topic Receiving GStat messages in GladeVCPs

Receiving GStat messages in GladeVCPs

Category: GladeVCP

Gcode properties are generated in Gremlin and then sent out using Gstat messages to whomever is connected in that GSTAT python instance context.

line change messages come from linuxcnc status, which is available in every GSTAT python instance.

So if your vcp has no gremlin then it gets no gcode properties message.


'hal_glib.GStat()' is an unusual way to create a callback. usually GStat is instantiated once with a self.variable_name = GStat().
I have a hunch that is why you get a 'file-changed' message on reload, but would have to test to confirm.

Chris
  • shaying526
  • shaying526
14 Nov 2024 01:35 - 14 Nov 2024 01:39

How to Achieve Smooth Motion for Rotational Axes? G64?

Category: G&M Codes

I have a machine with XYZ and C axes. When I use G64 for motion along axes like XYZ only, similar to the following code:

G01 F3000
G64
G01 X0 Y0 Z0
G01 X0.1 Y0.1 Z0.1
G01 X0.2 Y0.2 Z0.2
...
G01 X69.9 Y69.9 Z69.9
G01 X70 Y70 Z70


The machine moves at a speed of 3000, which is what I want

However, when I add a rotational axis like C, similar to the following code:



...
G01 X0 Y0 Z0 C0
G01 X0.1 Y0.1 Z0.1 C0.1
...
G01 X69.9 Y69.9 Z69.9 C69.9
G01 X70 Y70 Z70 C70


The machine moves very slowly. It seems that G64 only affects the XYZ axes? I conducted another test where only the C axis moved, similar to the following code:

...
G01 C0
G01 C0.1
...
G01 C69.9
G01 C70

Again, the movement was very slow.

How can I solve this problem? I want to achieve smooth motion when the linear axes XYZ and the rotational axis C move simultaneously.
Displaying 17521 - 17535 out of 24458 results.
Time to create page: 0.557 seconds
Powered by Kunena Forum