Advanced Search

Search Results (Searched for: )

  • 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.
  • mjones@welfab.ca
  • mjones@welfab.ca
14 Nov 2024 00:24

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

Ok to take it further. I am retrofitting an old superslant lathe. All axis motors hare being replaced (and drive) the drives will work either way analog or step/dir.. The spindle because of the motor size and cost to replacing I am keeping the way it is.. I have a gantry mill I built that uses (and I apologize for saying on this forum) mach3 in step/direction and tuning the driver to the motor is a nightmare unless you pay 4 times the price for the American drives with decent tuning software. So, and it hasn't been confirmed yet, if analog means that linuxcnc does the tuning, and not the driver that needs to be tuned, than this could solve a big head ache for me. But only if this is true For many years my head has been in step/direction, but I'm thinking I may be wrong in that.
Someone with more experience in both would know right off what is better over all and for what reasons.
Any thought to help me figure crap out would help.
  • PCW
  • PCW's Avatar
14 Nov 2024 00:03 - 14 Nov 2024 00:06

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

It really depends on your existing drives.

Typically analog is used when retrofitting systems with existing analog drives
If your existing drives can do step/dir, that's usually easier to setup.

Analog drives most typically work in velocity mode and have local velocity
feedback. In this case the analog voltage is a velocity command.

When you say the analog output controls strength/force, this would typically be
called torque mode and some analog drives work in that mode, but velocity mode
is much more common.

In either case any time you have a servo motor, you may need to tune the
system for best  performance.  (simple step motor systems do not need tuning)
  • mjones@welfab.ca
  • mjones@welfab.ca
13 Nov 2024 23:22

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

I have a couple questions about analog vs the step/dir formats.
First, obviously what is better for accuracy, and speed?.
Second, do you still have to tune the driver to the motor when you use analog? because I find it hard to tune the motor to the driver, and I have read a few things on here about tuning the analog system in linuxcnc and it seems doable.

The reason I ask this is because from what I am reading, in analog the linuxcnc controls the strength and force of the motor. and if that is the case, giving the tools that linuxcnc gives for that, then that may be the better way to go if what I think is true.
Displaying 17851 - 17865 out of 24297 results.
Time to create page: 0.389 seconds
Powered by Kunena Forum