Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
05 Sep 2025 19:22

Troubles to get started with SD240 Retrofit

Category: Turning

Are you saying you cannot set x-index-enable true in halshow?

hm2_7i80.0.encoder.00.input-index pin staying true may be OK as this just reflects its
polarity, and you are unlikely to catch the actual index with halscope because of its narrow width
(especially at 500 ms/division where halscope throws away most samples)

Unless you can set x-index-enable it will be difficult to diagnose


 
  • ziggi
  • ziggi's Avatar
05 Sep 2025 19:08 - 05 Sep 2025 19:56

Troubles to get started with SD240 Retrofit

Category: Turning

No, something is wrong.
the  hm2_7i80.0.encoder.00.input-index pin permanently stays true and
the  x-index-enable signal permanently stays false. The pictures show the state they are in and also when moving the axis by G1 F10 X 0 to 10 and back nothing changes
And the index-enable does not go high when the home switch trips (when homing)
 

 
  • Aciera
  • Aciera's Avatar
05 Sep 2025 17:51
Replied by Aciera on topic Speed in jog use

Speed in jog use

Category: General LinuxCNC Questions

There are pins to change jog speed using counts (eg for encoder) and for using analog value (eg for potentiometer):
linuxcnc.org/docs/html/gui/gmoccapy.html...cities_and_overrides
  • Martin.L
  • Martin.L
05 Sep 2025 17:51
M100 on subroutine hangs was created by Martin.L

M100 on subroutine hangs

Category: HAL

I'm trying to execute an M100 from this toolchange subroutine, whithout M100 works. Here is the M100 and it works in MDI, what can cause the hang? 

#!/bin/bash
# M100 Orient Spindle (Homing function)
halcmd sets s-index-zero-for-ATC true
exit 0

 

File Attachment:

File Name: toolchange...05-2.ngc
File Size:5 KB

 

File Attachment:

File Name: TC201_2025...05-2.ini
File Size:9 KB
  • ziggi
  • ziggi's Avatar
05 Sep 2025 17:15

Troubles to get started with SD240 Retrofit

Category: Turning

Thank you Andy, but I can not gain access to the X-Motor or spindle- probably to the Z spindle and move the Z-axis, I will try. So jogging the X-axis slowly must do the job.
Sigi
  • 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





 
Displaying 13576 - 13583 out of 13583 results.
Time to create page: 0.547 seconds
Powered by Kunena Forum