Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
Today 05:14
Replied by rodw on topic Ethercat SDOS to XML

Ethercat SDOS to XML

Category: EtherCAT

Success! I used Ethercat download to set the parameters for one VFD register to measure the bus voltage instead of the ethercat-conf.xml file and I got a reading that changed from time to time. At one stage it was at 321.0 which also showed up on the vfd console. This is meant to be intermediate DC power which should be  1.414 x mains power input. Working backwards, that was 227 volts (should   be 240 volts). So learnings are:
1. Once a SDO is set, it can't be changed
2. You need to set the SDO's via Ethercat download, not via XML
3. SDO's are cleared when the slave is powered off. 

Out of time now but It looks like I'll be able to get this going now. It was frustrating not being able to see anything at all.

Thanks for the help....
 
  • rodw
  • rodw's Avatar
Today 04:00
Replied by rodw on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

Yes, it certainly pays to get a quote from Beckhoff first. Some of their modules are really cheap and others like encoders 5151 etc al are expensive here in Australia.
  • rodw
  • rodw's Avatar
Yesterday 03:51

Can't install Linux 2.9.8 hybrid alongside Windows 11.1

Category: Installing LinuxCNC

I've finally got to a stage I never need to boot windows again. But what i've always done is install a second SSD/HDD and instal Linux to it. Then select what drive to boot from using the BIOS boot menu.

I did once have a dual boot laptop using grub but the system got its knickers in a knot and I lost everything so have never wanted to risk it again.
  • rodw
  • rodw's Avatar
Yesterday 02:21
Replied by rodw on topic Ethercat SDOS to XML

Ethercat SDOS to XML

Category: EtherCAT

SO when uploading an SDO in dmesg, I get 
SDO download aborted
Unsupported access to an object 

I mighht try configuring with ethercat download commands before starting. Wierd
  • rodw
  • rodw's Avatar
Yesterday 02:06
Replied by rodw on topic Ethercat SDOS to XML

Ethercat SDOS to XML

Category: EtherCAT

I've actually got bigger problems here now.  I am not getting proper communication between linuxcnc's lcec driver and the ethercat slave.

I don't have any errors on startup but if I toggle an output from halshow, the light comes on in halshow but the actual state does not change on the device. This worked previously but on a different config. eg, this no longer toggles the physical outputs.


I can set the same output pins on and off using the ethercat upload and download commands.
I Stripped out all of the SDO commands for modbus but it is still not working. Not sure how to resolve this issue.

Ahh, now I have it working again. dmesg showed an error loading my xml but Linuxcnc was silent on this. I missed something! Now I will add stuff back in slowly.

I don't really have anything here like a USB to 485 adapter to test vfd comms with and there are no status lights.

What I have worked out uploading registers is that I have a timeout error and the error count increments all the time

I think I have worked out all the XML syntax and settings.
  • grandixximo
  • grandixximo's Avatar
Yesterday 01:36 - Yesterday 03:20
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@ruediger123

The restriction is the corner itself. A sharp corner is a mathematical direction discontinuity. The velocity vector must change by ~191 mm/s across a 45° turn. With a 1ms cycle time, respecting 50 m/s³ jerk would require spreading that change over ~3800 cycles, during which the machine travels nearly a meter. No feed rate fixes this, the problem is geometric.

The only mathematically correct solution within your parameters is for the planner to detect that no valid cornering speed exists that satisfies the jerk limit given the available segment geometry, and fall back to a full stop at the corner. That is exactly G61.1 behavior.

This is actually a valid point and potentially a missing feature: the junction velocity calculation should be jerk-aware, and when the jerk-constrained cornering speed rounds down to zero, the planner should stop rather than arrive too fast and spike. Currently it may only be acceleration-aware at the junction, which allows a non-zero entry speed that looks acceptable to the acceleration limit but still violates jerk because the ramp does not fit in the available geometry.

The practical workaround in the meantime is either G61.1 explicitly, or a P tolerance of several mm to give the planner room for a proper S-curve through the corner. P0.01 is geometrically equivalent to sharp.
  • Marcos DC
  • Marcos DC's Avatar
Yesterday 00:16

Hello, I would like to add an EtherCAT IO device. What should I do

Category: EtherCAT

This is not really an XML problem.

The XML is just a configuration layer for PDO mapping.

What you actually need to understand is:

PDO structure (Rx/Tx)
Sync managers
How lcec interprets the XML

A good workflow is:

1 - Use ethercat pdos to discover the device
2 - Reproduce exactly the same structure in XML
3 - Only then refine HAL mapping

Quick question:

Your device reports:
PDO entry 0x6000:01, 16 bit

But in your XML you configured:
bitLen="32"

What do you think happens if the device expects 16 bits,
but the master tries to map 32 bits?

Also, check this:

<pdo idx="0x1a00,">
<pdoEntry idx="0x6000,">

Notice anything unusual there?

I would suggest:
- match the bit length exactly (16)
- remove the trailing commas
- start with a minimal mapping (no complexEntry)

Once it reaches OP, then split into bits.
  • tommylight
  • tommylight's Avatar
Yesterday 23:00
Replied by tommylight on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

No you do/did not, i have plenty such stories where i missed things in front of me, that is normal and utterly human, especially when we deal with complicated stuff and put all our attention sometimes in the wrong place!
The thing i am consistently working on and having issues with, is get better at explaining things and get over the "typing" lazynes.
  • tommylight
  • tommylight's Avatar
Yesterday 22:51

Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Category: Basic Configuration

And to reverse any axis/joint, just add - sign in front of the SCALE value for that joint.
But beware, that will also change the homing direction for that joint so HOME_search/latch/final_VELOCITY might also need a - sign in front of their respective values.
  • PCW
  • PCW's Avatar
Yesterday 20:00

Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Category: Basic Configuration

So I tried physically swapping the Y2 dir- and dir+ , but it didn't help the end result any


If swapping DIR+ and DIR- (on the drive _or_ 7I76 end only) does not change the Y2 direction,
There is a hardware or wiring issue.
  • SteepLearningCurve
  • SteepLearningCurve
Yesterday 19:36
Replied by SteepLearningCurve on topic Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Category: Basic Configuration

Hi Tommylight

Thank you for the info, much appreciated :)

You were correct on both counts. 
I didn't want to ask how you knew one of the Y motors is reversed,  without first trying to figure it out myself first.

As you can see from the attachment text doc below,  I tried a few things, but I was not able to figure it out.

What (which fields) caught your eye ?

My Y1 jogs in the correct direction, my Y2 jogs in the opposite direction. 
Many thanks

***********************************
The long version of what I tried ....

The config attached is my last known good which Homes all three axis (with a but ...)

(X zero, and Y zero, is front bottom left - when standing in front of the machine , looking at it). 


But ...


if I move the Y axis gantry as a whole , after homing completes, (jogging just 1mm at a time)

the Y1 gantry motor goes 1mm towards the rear of the machine (which is correct)

and

the Y2 gantry motor goes 1mm towards the front of the machine (which is incorrect)

So it just ends up racking the machine in slow motion


I tried very many settings, and eventually lost my way, and ended up relentlessly crashing the Y2 side of the machine


I don't know what settings to try to get the Y2 motor to Jog correctly, without affecting the Homing

***************************************************************

All motors are wired in exactly the same order, from the drivers to the motors

So I tried physically swapping the Y2 dir- and dir+ , but it didn't help the end result any

**************************************************************

I also made a config of just X and Y1 and Y2 (no Z) and NOT as a gantry (but as independent motors)
and was therefore able to bypass gantry Homing (as without homing, the gantry won't move)
each motor ran in the correct direction, when independently jogging a few mm at a time 
(testing that there wasn't a physical problem with either the wiring or with the motor drivers) 

**************************************************************

I also found that by making another test config using mesaCT, a with and without, a y2 reverse direction tick, it added two fields
STEP_INVERT= False
DIR_INVERT = True
I only tried the "DIR_INVERT = True" on the Y2 joint which didn't help either

**************************************************************

To recap

I have been able to make the homing of all three axis Home (although the signs still make no sense to me)

I have been able to test the x and y1 and y2 motors working in their correct jogging direction (when not in a gantry mode, and not homed)

I am unable to make the machine do BOTH things (Home AND then Jog the Y axis gantry with Y1 and Y2 in sync together, so gantry doesn't rack)

**************************************************************


My "process" for testing positive and negative homing values 

Start by setting the Y axis gantry of the machine to 25mm (width of a ruler) , so both Y1 and Y2 motors 
Have the same distance to travel, from their respective proximity sensors to the steel it senses against (so the Y axis gantry always starts from a known position)
Set all the signs of the values to positive on both y1 and y2 joints (in Geany)
Switch the power on to machine , and mesa cards
Wait for notification that ethernet is connected 
Launch LinuxCNC
Select the config
Estop off, machine on
Home all
Watch which direction the gantry begins to move on both Y1 (left side) and Y2 (right side)
If it goes in the wrong direction , change the sign  
Repeat for each of the 4 iterations of homing one axis

The attached file , Homes as the photos show. (But Y2 jogs in the opposite direction)

Just incase there is some random element to this somewhere , I re-ran this Homing configuration successfully, ten times in a row. 

**************************************************************





 
  • ruediger123
  • ruediger123
Yesterday 19:27
Replied by ruediger123 on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@grandixximo
The machine is congigured with a 1ms servo cycle, the speed with 15 m/min, the acceleration with 5 m/s² and the jerk with 50 m/s³ so nothing unusual for servo axes.
P64 P0.01 Q0.0 is also not unusual.
In my opinion, the limits for jerk, acceleration and speed should not be exceeded so that the behavior of the machine is predictable.
The unusual thing from my point of view is that MAX_LINEAR_JERK and MAX_JERK are different.
If there are restrictions on certain parameters, please let me know so that I can take them into account in my tests.
  • RotarySMP
  • RotarySMP's Avatar
Yesterday 19:17
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

I really needed a slap upside the head! :)
  • tommylight
  • tommylight's Avatar
Yesterday 19:06
Replied by tommylight on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Blame this on me, despite me writing this a few posts back:

You still have the:
....

I was convinced the comp issue is separate from this one, and was wondering why are you testing the comp since it is not mentioned in the error report...
Should have raised a flag ... or a smoke signal, wold have probably been more useful.
  • RotarySMP
  • RotarySMP's Avatar
Yesterday 18:35
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Oh. Doh!!!!!

Thanks a lot. I was so focused on the comp, I missed the obvious.
Displaying 1 - 15 out of 17465 results.
Time to create page: 0.193 seconds
Powered by Kunena Forum