Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
05 Sep 2025 16:15 - 05 Sep 2025 16:28
Replied by Hakan on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

Alex, try
$ ethercat -p 2 download 0x6068 0 nnn
nn being the number you want to set. There is also an upload. Sometimes it is better to do it outside of linuxcnc.
Check for SDO index:subindex using $ "ethercat -p 2 sdos"

Max, did you try to claim it with "AliExpress Seller Protection"?

Philip, the manual says it can be done see snippet here
 
You should be able to add PDO 0x60ff to the SyncManager listing in the config, I think.
0x60ff is also in rxpdo 1703,1704,1705 so one of them should work. I guess.
  • PCW
  • PCW's Avatar
05 Sep 2025 15:51
Replied by PCW on topic Connecting my 7i96s to the VFD

Connecting my 7i96s to the VFD

Category: Driver Boards

Glad it's all working now.
  • PCW
  • PCW's Avatar
05 Sep 2025 15:32 - 05 Sep 2025 15:34
Replied by PCW on topic isolcpus idiot's guide?

isolcpus idiot's guide?

Category: General LinuxCNC Questions

To change isolcpus you edit /etc/default/grub as root

Something like:

xed admin:///etc/default/grub

 or

sudo xed /etc/default/grub

and then in the grub file change this line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

To something like:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=3 idle=poll"

(3 assuming you have a 4 core CPU)

When you have saved your changes, you run:

sudo update-grub

and then reboot

Also with RealTek MACs it's likely that you will need to replace the normal RealTek
Ethernet driver with the DKMS version (search the forum for DKMS)

One additional step to improve Ethernet latency is to pin the Ethernet interrupt
to the last (real-time) CPU

To get an idea of Ethernet latency, you can run this command:

sudo chrt 99 ping -i .001 -q -c 60000 (card_ip_address)

This will run for 1 minute and then print statistics
 (card_ip_address) is the motions control cards IP address





 
  • Milkof
  • Milkof
05 Sep 2025 14:43
Replied by Milkof on topic Connecting my 7i96s to the VFD

Connecting my 7i96s to the VFD

Category: Driver Boards

Hello, thank you for everything!!! Everything works, I would never have found the solution without your help. Milko
  • PCW
  • PCW's Avatar
05 Sep 2025 14:10
Replied by PCW on topic Connecting my 7i96s to the VFD

Connecting my 7i96s to the VFD

Category: Driver Boards

In pncconf this is set in the "Spindle Motor" page
in the "Range 1 Max RPM" and "Max Output" spinboxes
 
  • Hakan
  • Hakan
05 Sep 2025 14:01 - 05 Sep 2025 14:12
Replied by Hakan on topic AMSAMOTION IO module

AMSAMOTION IO module

Category: EtherCAT

Output of the command
$ lcec_configgen
will be a great starting point, maybe it even works right away.

Is this a 16 IN/OUT module? Then set the halType to "bit" for IN and OUT
and it will automatically generate 16 boolean pins. Check in halshow,
navigate to pins, lcec, 0 and so on.
  • Moutomation
  • Moutomation
05 Sep 2025 13:48
Speed in jog use was created by Moutomation

Speed in jog use

Category: General LinuxCNC Questions

Hello,
To change the speed when using jog, you need to stop the movement and start the movement again. Is there a solution for this? I am using the gmoccapy interface.
  • hellvetica
  • hellvetica
05 Sep 2025 12:57
task: main loop took 5.019013 seconds was created by hellvetica

task: main loop took 5.019013 seconds

Category: General LinuxCNC Questions

Hi, I'm making a robot arm using linuxcnc.
I have a python interface that i'm playing with. I send the robot commands by setting the axis.L.eoffset-counts pins and the robot moves as expected.
I have a function that polls the robot for its position and waits until it reaches the desired position before sending the next point.
The position is read using the python interface 
s = linuxcnc.stat()
s.poll()
print(s.actual_position)

but every now and then, the robot reaches its position and waits there for another few seconds before the function exits. I realized that the position feedback gets stuck at some value, and my console prints
task: main loop took 5.019013 seconds

I also tried reading the position through the halui.axis.L.pos-relative but the same issue happens.
I assume this is because the internal emcStatus buffer doesn't get updated for those 5 seconds of the main loop.

Why does the loop take so long? How can I debug that?
Displaying 13576 - 13583 out of 13583 results.
Time to create page: 0.352 seconds
Powered by Kunena Forum