Advanced Search

Search Results (Searched for: )

  • georgio
  • georgio
Yesterday 21:12
Replied by georgio on topic MESA 7i76eu Firmware

MESA 7i76eu Firmware

Category: Driver Boards

 

File Attachment:

File Name: georges_router.hal
File Size:18 KB
 

File Attachment:

File Name: georges_router.hal
File Size:18 KB
 

File Attachment:

File Name: georges_router.ini
File Size:5 KB
 

File Attachment:

File Name: georges_router.ini
File Size:5 KB
Thank you for for your assistance, i VERY MUCH appreciate it.I am having problems with my hal files and my ini files no matter what i do i keep getting the same error message kinematisSwitch not defined. If I could get you look at my ini and hal files I would be eternally gratful. I have got past the communication errors and my pc is able to communicate with the 7i76eu I think I have most errors fixed now but unitl I get this current error out of the way I don't know if ther are anymore. I am not sure if this is the right place to ask, so please excuse my inexperience. Thannks again
George
  • Atsu
  • Atsu
Yesterday 17:11
Replied by Atsu on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

@TAKUYA
@Atsu

please check the value of the parameters lcec.0.pll-step
You can do so with this command

halcmd show param lcec.0.pll-step 

This parameter will be set at 1000 automatically if you have RTAPI_TASK_PLL_SUPPORT

also I have updated again the repo

if you could be so kind as to download, build and test again, thank you

github.com/grandixximo/linuxcnc-ethercat


Thank you! I pulled the latest changes and can confirm that it is now working. The dc-phased pin turns true, and I can see the pll- pins getting values other than zero. I did couple restarts and so far there is no grinding noise. I will continue testing to see if its gone for good.
  • fery15sty
  • fery15sty
Yesterday 16:59

buildbot.linuxcnc.org is not active, how install linuxcnc 2.10 in debian buster

Category: General LinuxCNC Questions

I've checked the site buildbot.linuxcnc.org/ again. It's back up and running. A while ago, the site was showing an error and couldn't be opened. The inactivity is probably temporary.

Thank you all for your responses.
  • TAKUYA
  • TAKUYA
Yesterday 16:22
Replied by TAKUYA on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

you are missing the go package.

"sudo apt-get install golang"

then "make" and "sudo make install"
  • Marcos DC
  • Marcos DC's Avatar
Yesterday 15:47

Separating CiA402 Logic from EtherCAT (lcec): Modular Adapter + Drive Stub Valid

Category: EtherCAT

Small progress update: the stub has basically turned into a virtual drive backend for validation.
I’m already exercising a fair amount of the core CiA402 runtime behavior in AXIS SIM with it.
Still a lot left to test before going back to real EtherCAT hardware, but the direction looks good.
  • dbtayl
  • dbtayl
Yesterday 15:12
Replied by dbtayl on topic Inaccurate milling - what could it be?

Inaccurate milling - what could it be?

Category: Basic Configuration

You might also want to mention what tools/holders, speeds, and feeds you're using, as well as how far off the dimensions are.

That said, my first reaction to the above is deflection- the gouge looks like where the tool ended the cut, possibly dwelled there a bit before/during retract, giving it more time to cut. If it is deflection, there's a good chance you'll feel ridges if you run a fingernail along the floor of the machined surface perpendicular to the direction of cut.

Adding a finishing cut might be all you need- I generally leave 0.1~0.2mm of stock during roughing operations for the finishing cut(s).

Generally increasing rigidity should help as well (shorter tools/toolholders/stickout, bigger tools, better worktholding, working closer to the table), but I've always thought the columns on benchtop mills look too small, so you may be limited in options if that's the root cause. The good news is that so long as it cuts OK, taking a light finish cut should still get you on dimension.
  • tommylight
  • tommylight's Avatar
Yesterday 14:58

buildbot.linuxcnc.org is not active, how install linuxcnc 2.10 in debian buster

Category: General LinuxCNC Questions

@RodW,
Is the "user exchange" section just for that kind of stuff?
You could have mentioned here you have a paid solution and posted a link to "user exchange" section, as i do not think that is just for parts nor am i aware it excludes services, but i am not sure.
@Others,
Would that be OK?
  • andrax
  • andrax's Avatar
Yesterday 14:55 - Yesterday 15:19
Replied by andrax on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Hi,

I just updated LinuxCNC via the package manager.
When I set `syncToRefClock=“true”`, I still get the error `lcec_conf: ERROR: Invalid master attribute syncToRefClock`.
I've now downloaded the EtherCAT master from GitHub.
When I run `make`, I get the following errors:

devices/lcec_ep9214.c: In function ‘lcec_ep9214_write’:
devices/lcec_ep9214.c:206:23: warning: unused variable ‘hal_data’ [-Wunused-variable]
  206 |   lcec_ep9214_data_t *hal_data = (lcec_ep9214_data_t *)slave->hal_data;
      |                       ^~~~~~~~
devices/lcec_ep9214.c:205:12: warning: unused variable ‘pd’ [-Wunused-variable]
  205 |   uint8_t *pd = slave->master->process_data;
      |            ^~





[code]Linking lcec.so
ld -d -r -o lcec.so.tmp lcec_main.o lcec_devicelist.o lcec_ethercat.o lcec_pins.o lcec_lookup.o lcec_modparam.o lcec_malloc.o
objcopy -j .rtapi_export -O binary lcec.so.tmp lcec.so.sym
(echo '{ global : '; tr -s '\0' < lcec.so.sym | xargs -r0 printf '%s;\n' | grep .; echo 'local : * ; };') > lcec.so.ver
gcc -shared -Bsymbolic -Wl,-rpath,/lib -Wl,--version-script,lcec.so.ver -o lcec.so lcec_main.o lcec_devicelist.o lcec_ethercat.o lcec_pins.o lcec_lookup.o lcec_modparam.o lcec_malloc.o -lm -Wl,--whole-archive liblcecdevices.a -Wl,--no-whole-archive -L/lib -llinuxcnchal -lethercat -lrt
chmod -x lcec.so
Compiling realtime lcec_conf.c
Compiling realtime lcec_conf_icmds.c
Compiling realtime lcec_conf_util.c
gcc -o lcec_conf lcec_conf.o lcec_conf_icmds.o lcec_conf_util.o lcec_devicelist.o lcec_ethercat.o lcec_pins.o lcec_lookup.o lcec_modparam.o lcec_malloc.o -Wl,-rpath,/lib -L/lib -llinuxcnchal -lexpat -Wl,--whole-archive liblcecdevices.a -Wl,--no-whole-archive -lethercat -lm
Compiling realtime lcec_devices.c
gcc -o lcec_devices lcec_devices.o lcec_devicelist.o lcec_ethercat.o lcec_pins.o lcec_lookup.o lcec_modparam.o lcec_malloc.o -Wl,-rpath,/lib -L/lib -llinuxcnchal -lexpat -Wl,--whole-archive liblcecdevices.a -Wl,--no-whole-archive -lethercat -lm
(cd configgen ; go build devicelist.go)
/bin/sh: 1: go: not found
make[1]: *** [Makefile:118: configgen/devicelist] Fehler 127
make[1]: Verzeichnis „/home/ich/Downloads/linuxcnc-ethercat-master/src“ wird verlassen
make: *** [Makefile:4: build] Fehler 2
[/code]


Edit:
I've used Git now.
git clone github.com/sittner/linuxcnc-ethercat.git
There were no errors this time,
but the syncToRefClock=“true” still doesn't work.

 
  • Aciera
  • Aciera's Avatar
Yesterday 14:38

buildbot.linuxcnc.org is not active, how install linuxcnc 2.10 in debian buster

Category: General LinuxCNC Questions

@rodw
Not sure what to think of this. I don't have a problem with you providing paid support for linuxcnc but please do not (ab)use your posts on this forum for blatant advertisement.
Thank you.
  • hmnijp
  • hmnijp
Yesterday 14:24
Replied by hmnijp on topic Again about HOME_INDEX in step/dir mode

Again about HOME_INDEX in step/dir mode

Category: StepConf Wizard

 Does it mean that in the firmware the encoder index is untied from the counter?
I will try to implement this using the GPT chat


A quick note to make it easier to find:
Instead of
“hm2_board.0.encoder.1.index-enable”
Use
“hm2_board.0.stepgen.1.index-enable”
  • grandixximo
  • grandixximo's Avatar
Yesterday 14:17
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I'm not good at coding either, I'm having the code checked by YangYang aka Mika in the forum, he is the master coder lol.

I did quick commit to fix the bug, seems legitimate, it was also present in original master. Thank you for reporting, hope the grinding noise goes away. Thank you for testing the code, would appreciate if you could leave a comment if my branch worked out without grinding noise for you. Thanks.
  • 0x2102
  • 0x2102's Avatar
Yesterday 13:41 - Yesterday 13:42
Replied by 0x2102 on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Thanks Luca for all your work around this. I am experiencing grinding noise myself. Very random and I really only noticed it because I have my EtherCat system on a bench for testing, so no machine noise. 

Until now I was running the latest 1.40.0 release from Scott (9/2024) and wanted to try your code to see if that fixes the issue for me. 

While testing your current linuxcnc-ethercat code I encountered a reproducible SIGSEGV in lcec_parse_config().

Minimal configuration:
<masters>
  <master idx="0" appTimePeriod="1000000">
  </master>
</masters>

The crash happens during:
for (slave = master->first_slave; slave != NULL; slave = slave->next)
Even though no slave is defined in the XML.
Looking at lcec_main.c, both master and slave structures are allocated via:

master = LCEC_ALLOCATE(lcec_master_t);
slave  = LCEC_ALLOCATE(lcec_slave_t);

but are not explicitly zero-initialized.

If master->first_slave contains a non-NULL value, the code enters the loop and
dereferences an invalid pointer.

Adding explicit initialization fixes the issue:

master = LCEC_ALLOCATE(lcec_master_t);
memset(master, 0, sizeof(*master));

slave = LCEC_ALLOCATE(lcec_slave_t);
memset(slave, 0, sizeof(*slave));

After applying this change the driver starts correctly.

The issue may have existed previously but remained hidden depending on memory layout or allocator behavior.

I thought I share if anybody else has the exact same issue. 

BTW, I am not that good in coding and had a bit of help from my "buddy". 
  • MaHa
  • MaHa
  • Sviper
  • Sviper
Yesterday 12:12 - Yesterday 12:37
Replied by Sviper on topic Problem bei installation Ethercat

Problem bei installation Ethercat

Category: Deutsch

Hallo Leute,
ich wollte am Wochenende mal meinen Rechner der Maschine updaten.
alter Stand war Debian 11 denke ich mit LinuxCNC 2.9.0 pre0 Ethercat.
Ich habe nun Debian 12 installiert inkl. Ethercat Master, linuxcnc-ethercat von Herrn Ittner.

Leider habe ich ein Problem mit meiner EL6751 Klemme, die will nicht in OP Modus. 
Starte ich das alte System läuft alles wie gewohnt.

Bei mir ist auf der EL6751 alles gespeichert was die Servotreiber benötigen. SDO habe ich deshalb nicht.
Anbei mal meine xml und ein paar Analyseversuche:
die Klemme habe ich auch mal unter Linux ausgelesen. (XML im Anhang)
steffen@mikron:~$ ethercat slave -p 7 -v
=== Master 0, Slave 7 ===
Device: Main
State: PREOP
Flag: E
Identity:
  Vendor Id:       0x00000002
  Product code:    0x1a5f3052
  Revision number: 0x00110000
  Serial number:   0x00000000
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, 64 bit
  DC system time transmission delay: 1019 ns
Port  Type  Link  Loop    Signal  NextSlave  RxTime [ns]  Diff [ns]   NextDc [ns]
   0  EBUS  up    open    yes             6    729502240           0         155
   1  EBUS  down  closed  no              -            -           -           -
   2  N/A   down  closed  no              -            -           -           -
   3  N/A   down  closed  no              -            -           -           -
Mailboxes:
  Bootstrap RX: 0x1000/532, TX: 0x1800/532
  Standard  RX: 0x1800/558, TX: 0x1a2e/558
  Supported protocols: AoE, CoE, FoE
General:
  Group: Communication
  Image name: 
  Order number: EL6751
  Device name: EL6751 CANopen Master
  CoE details:
    Enable SDO: yes
    Enable SDO Info: yes
    Enable PDO Assign: no
    Enable PDO Configuration: no
    Enable Upload at startup: no
    Enable SDO complete access: yes
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 300 mA
steffen@mikron:~$ ethercat slave
 0  0:0   OP     +  EK1100 EtherCAT-Koppler (2A E-Bus)
 1  0:1   OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
 2  0:2   OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
 3  0:3   OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
 4  0:4   OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
 5  0:5   OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
 6  0:6   OP     +  EL2622 2K. Relais Ausgang, Schlie�er (230V AC / 30V DC)
 7  0:7   PREOP  E  EL6751 CANopen Master
 8  0:8   OP     +  EK1100 EtherCAT-Koppler (2A E-Bus)
 9  0:9   OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
10  0:10  OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
11  0:11  OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
12  0:12  OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
13  0:13  OP     +  EL5151 1K. Inc. Encoder
14  0:14  OP     +  EP2318-0001 4 K. Dig. Ein, 10�s, 4 K. Dig. Aus 24V, 0,5A, M8

 
  • grandixximo
  • grandixximo's Avatar
Yesterday 10:39
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Yes, drift is a testing value, you need set pll-step to 0 and then set drift, and you can go into the grinding window, it's just for testing, and finding where the grinding window is. You don't need to use, system should be working now, no more grinding.
Displaying 61 - 75 out of 18170 results.
Time to create page: 0.182 seconds
Powered by Kunena Forum