Advanced Search

Search Results (Searched for: )

  • JT
  • JT's Avatar
20 Feb 2025 14:08
Replied by JT on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

I've added support for the 7i76EU, just need to figure out what features it has over the 7i76E. Good to know the pin names are the same.

JT
  • JT
  • JT's Avatar
20 Feb 2025 14:04
Replied by JT on topic Question about G49

Question about G49

Category: General LinuxCNC Questions

The RS274NGC_STARTUP_CODE IMHO is not really needed for anything because your preamble in the NC file will over write the startup code. If you run the Axis sim which does not have RS274NGC_STARTUP_CODE you can see the default start up codes G80 G17 G40 G20 G90 G94 G54 G49 G99 G64 G97 G91.1 G8 G92.2 M5 M9 M48 M53 M0 F0

JT
  • mc_cubus
  • mc_cubus
20 Feb 2025 13:50
Replied by mc_cubus on topic Issue with LinuxCNC Pins showing zero

Issue with LinuxCNC Pins showing zero

Category: EtherCAT

ok I tried setting the SDOs as specified in the manual, i.e.:
<!-- Example initCmds to map 0x1A00 to SM3 (0x1C13) -->
                        <!-- 1) Clear existing SM3 assignments -->
                        <InitCmd>
                          <Transition>PS</Transition>
                          <Comment>clear sm pdos (0x1C13)</Comment>
                          <Timeout>0</Timeout>
                          <Ccs>1</Ccs> <!-- CoE command -->
                          <Index>0x1C13</Index>
                          <SubIndex>0</SubIndex>
                          <Data>00</Data>  <!-- zero => no assigned PDOs -->
                        </InitCmd>
                        <!-- 2) Add 1A00 as the first PDO to SM3 -->
                        <InitCmd>
                          <Transition>PS</Transition>
                          <Comment>add pdo 0x1A00 to sm3</Comment>
                          <Timeout>0</Timeout>
                          <Ccs>1</Ccs>
                          <Index>0x1C13</Index>
                          <SubIndex>1</SubIndex>
                          <Data>1a00</Data>  <!-- This is the hex index of the PDO (0x1A00) -->
                        </InitCmd>

                        <!-- 3) Set the new count of assigned PDOs to 1 -->
                        <InitCmd>
                          <Transition>PS</Transition>
                          <Comment>download pdo 0x1C13:00 index => 1</Comment>
                          <Timeout>0</Timeout>
                          <Ccs>1</Ccs>
                          <Index>0x1C13</Index>
                          <SubIndex>0</SubIndex>
                          <Data>01</Data>  <!-- 1 assigned PDO in SM3 -->
                        </InitCmd>

Now, when running linuxcnc I get:
Waiting for component 'lcec' to become ready..........................Failed to execute SDO download: Input/output error
LCEC: slave 0.IFC2411Sensor: Failed to execute SDO download (0x1c13:0x00, size 1, byte0=0, error -5, abort_code 06010002)
LCEC: failed to configure slave 0.IFC2411Sensor sdo 1c13:00
Failed to execute SDO download: Input/output error
LCEC: slave 0.IFC2411Sensor: Failed to execute SDO download (0x1c13:0x01, size 2, byte0=26, error -5, abort_code 00000000)
LCEC: failed to configure slave 0.IFC2411Sensor sdo 1c13:01
.Failed to execute SDO download: Input/output error
LCEC: slave 0.IFC2411Sensor: Failed to execute SDO download (0x1c13:0x00, size 1, byte0=1, error -5, abort_code 00000000)
LCEC: failed to configure slave 0.IFC2411Sensor sdo 1c13:00

LCEC: slave 0.IFC2411Sensor: Failed to execute SDO download (0x1c13:0x00, size 1, byte0=0, error -5, abort_code 06010002)

LCEC: failed to configure slave 0.IFC2411Sensor sdo 1c13:00

LCEC: slave 0.IFC2411Sensor: Failed to execute SDO download (0x1c13:0x01, size 2, byte0=26, error -5, abort_code 00000000)

LCEC: failed to configure slave 0.IFC2411Sensor sdo 1c13:01

LCEC: slave 0.IFC2411Sensor: Failed to execute SDO download (0x1c13:0x00, size 1, byte0=1, error -5, abort_code 00000000)

LCEC: failed to configure slave 0.IFC2411Sensor sdo 1c13:00


I suspect that the Sensor comes up with a default (locked) PDO assignment, since ethercat pdos -p 4 says:
ethercat pdos -p 4
SM0: PhysAddr 0x1000, DefaultSize 1024, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize 1024, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize    0, ControlRegister 0x64, Enable 1
SM3: PhysAddr 0x1818, DefaultSize   24, ControlRegister 0x20, Enable 1
  TxPDO 0x1a00 ""
    PDO entry 0x6000:01, 32 bit, ""
  TxPDO 0x1a30 ""
    PDO entry 0x6010:01, 32 bit, ""
  TxPDO 0x1a80 ""
    PDO entry 0x6030:01, 32 bit, ""
  TxPDO 0x1ae0 ""
    PDO entry 0x7000:01, 32 bit, ""
  TxPDO 0x1ae8 ""
    PDO entry 0x7001:01, 32 bit, ""
  TxPDO 0x1af0 ""
    PDO entry 0x7002:01, 32 bit, ""

And also with $ ethercat upload -p 4 0x1C13 0x00 --type uint8 one can see which PDOs are assigned to the 0x1C13 object and all are already assigned to it.

I am trying to figure out if the problem lies on the Sensor side or I did something wrong with LinuxCNC configuration.
  • Aciera
  • Aciera's Avatar
20 Feb 2025 13:46 - 20 Feb 2025 14:01
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

We also might want to call it a fail if max_iterations have been reached:

Solution found after 1000000 iterations: gamma10 = -0.000148, gamma20 = 0.000011, s1 = 66.624893
 


Strange that it thinks it has succeeded when the residual is still way off (looks like its happy to have found a local minimum or something):
 
  • gmouer
  • gmouer
20 Feb 2025 13:43
Replied by gmouer on topic 5i25T Setup with PathPilot

5i25T Setup with PathPilot

Category: PathPilot

Ever get the newer hostmot driver working in pathpilot? I have the same issue, a 5i25T. I see the pathpilotmanager.py, the pci ID is easy to change there but won't work without the newer hostmot driver.

Any info on what was done would be greatly appreciated !

Thanks !
  • Grotius
  • Grotius's Avatar
20 Feb 2025 13:30
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

Yes, kappa10 is start curvature in z direction.

Gamma11 = y11, is the rigid property of the clothoid. if 0, then straight line. When 0.001 then clothoid begins to curve in a direction depending the sign off y11.

and now everything is off:
Keep also an eye on the GNU plot display max values. "set xrange [-20:80]\n"

 
  • Grotius
  • Grotius's Avatar
20 Feb 2025 13:23
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

I found the buggybug. . Was not alien obstruction.

Glad in eq14 we can choose 2 interpolation models:
1. eq14_drift (archived)
2. eq14_gauss

It turns out nr. 1 works good and shows correct clothoid compound.
So nr.2 contains a buggybug. Will try to find it now.
  • TangentAudio
  • TangentAudio
20 Feb 2025 13:18
Replied by TangentAudio on topic Beckhoff EL5101-0011 vs plain EL5101

Beckhoff EL5101-0011 vs plain EL5101

Category: EtherCAT

Thanks, Hakan. That's how I have my servo drives set up. Maybe I'll do that as a first step just to get it going for now.
  • Aciera
  • Aciera's Avatar
20 Feb 2025 13:14
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

So the gamma11 and gamma21 depend on the start values, however there is another problem.
I'm running single_clothoid_fit and I changed kappa10 from 0 to 0.1 and now everything is off:

 
Displaying 18946 - 18954 out of 18954 results.
Time to create page: 0.878 seconds
Powered by Kunena Forum