Advanced Search

Search Results (Searched for: )

  • 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.
  • smc.collins
  • smc.collins
13 Nov 2024 22:46
Replied by smc.collins on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

very nice, my only other bitch is that, encoder and position feedback are not interrupt driven but polled, this creates issues with positional accuracy at very high speeds and very high accuracy.
  • tsaG
  • tsaG
13 Nov 2024 22:33 - 13 Nov 2024 22:35

Linear move exceeds joints positive limit

Category: General LinuxCNC Questions

Thanks for the reply.

My Tool length + Z15 would be 36,24mm.
My Workpiece has a height of 6mm + mounting fixture of around 20mm
Resulting in a height of 62mm
My maximum move on Z axis is actually 205mm

Is this move relative to my current position? Say, I am at Z=0 (meaning homed at the highest point) it would try to move further up by 36mm?
If so, then a move to a "safe position" lets say 100mm would be required beforehand?

Could it be that there is an issue with my machine config? From what I learned here , it should be correct that the max_limit is 0 (?)

My machine .ini configuration for the Z Axis is as follows.
[AXIS_Z]
MAX_VELOCITY = 30
MAX_ACCELERATION = 100.0
MIN_LIMIT = -205
MAX_LIMIT = 0

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 83
MAX_ACCELERATION = 200
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 112
STEPGEN_MAXACCEL = 250
# these are in nanoseconds
DIRSETUP = 6000
DIRHOLD = 6000
STEPLEN = 6000
STEPSPACE = 6000
STEP_SCALE = -640
MIN_LIMIT = -205
MAX_LIMIT = 0
HOME_OFFSET = 2
HOME_SEARCH_VEL = -40.0
HOME_LATCH_VEL = 5.0
HOME_FINAL_VEL = 10.0
HOME_USE_INDEX = NO
HOME_SEQUENCE = 0
HOME_INPUT_INVERTED = YES
  • PCW
  • PCW's Avatar
13 Nov 2024 20:45
Replied by PCW on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

FAN2001 Its old and obsolete or close to obsolete
I could send you a few in an envelope but if they are
both damaged, more maybe damaged as well.
 
  • tommylight
  • tommylight's Avatar
13 Nov 2024 20:37 - 13 Nov 2024 20:38
Replied by tommylight on topic Multiple controller boards

Multiple controller boards

Category: General LinuxCNC Questions

Mesa 7i96S as the first in line, all in one, then to move things along, Mesa 7i85 for encoders and Smart serials, then add 7i84 or 7i70 or 7i71 for IO as these can be remote to any place on the machine and require only a single LAN cable to communicate.
Mesa boards start at something like 70$ and up, they are very fast and very reliable and i have used a lot of those on industrial machines that are in use daily.
Anything else you look might seem cheaper, it is not, and they will be extremely limited in expansion compared to Mesa.
You can probably do this cheaper with Remora boards or ESP32, but to much fuss and messy wiring and to much time compiling/configuring stuff just to make them work.
BTW, i did test ESP32 and it works, and i can build any damn thing i need, but the time and effort is not worth at all compared to Mesa "wire it/power it/run the machine."
Displaying 22036 - 22050 out of 22560 results.
Time to create page: 0.665 seconds
Powered by Kunena Forum