Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
03 May 2025 07:12
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Looks like your network adapter is not upped correctly. The master can't access ethernet.
Check "ip a", it should say UP for the adapter but I guess it won't.
Follow one of the standard debian guides to bring it up, will involve the /etc/network/interfaces file.
Can be a permission problem, check "ls  -l /dev/EtherCAT0" should say crwxrwxrwx
Try with "sudo service ethercat restart"
Also check "sudo dmesg" the last say 50 lines for anything that can help.
  • Hakan
  • Hakan
03 May 2025 07:04
Replied by Hakan on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

Good to hear, wouldn't surprise me if you change D1 and D2 to X and Z.
That config should be enough to move the axis. Try it.
Then you need to add limit switches and other switches if you have that, spindle control, pendant or gamepad and so on.
Now when linuxcnc is up and running you can easily inspect pins' values using halshow.
The drive and motors are closed-loop I guess, then you will see actual-position change when you rotate the motor shaft, even by just a little if the motors are active.
  • Roger S
  • Roger S
03 May 2025 06:48
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

I think the installation is fine. The system reports POSIX realtime, and the pins for testing are accessible:

Owner Type Dir Value Name
4 u32 OUT 0x00000001 lcec.conf.master-count
4 u32 OUT 0x00000004 lcec.conf.slave-count

When I now call EtherCAT Master, the system reports:

Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: 80:ee:73:fd:0f:8b (waiting...)
Link: DOWN

The network adapter is correctly entered in Ethercat.conf:

MASTER0_DEVICE="80:ee:73:fd:0f:8b"
DEVICE_MODULES="generic"

The permissions are also correct:
'KERNEL=="EtherCAT[0-9]", MODE="0777"'

However, I can no longer access the EK1100. The EK is connected to the network and shows no errors. As mentioned, everything worked fine with the same components before the reinstallation.
 
  • Onkelmat
  • Onkelmat's Avatar
03 May 2025 06:48

Drive enbale active low - simple but yet it won´t do

Category: General LinuxCNC Questions

They are enabled if pin 9 and 10 are not connected. So in default state with no external relays connected the drives are enabled.

When I short 9 to 10 they become disabled, disconnecting power to the drives and locking the driver.

I´ll measure the pins that come from the drive.
  • jochen91
  • jochen91
03 May 2025 06:41 - 03 May 2025 10:19

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Hello Folks,

just a quick update: At the Moment I'm in the process of aquerring the machine. The machine was listed in working condition. But sadly it has an error in the B-axis servo amp. The seller is realy cooperative and tries to fix it asap.

In the meantime i was thinking about to major "hurdles":

1.) Milling spindle orientation

The machine can hydraulically lock the spindle via hirth coupling in 12 positions. This is of course quite importent for tuning tools and broaching tools. Of course i want to implement this feature in LCNC as well. The first solution that came to my mind is using a custom M-Code that executes a custom HAL Component.  The M-Code posting needs than to be implemented into the post processor after every tool change.

But i would prefer the solution by Mazak. They used iirc a custom tool change command and added the desired spindle angle.

It looked something like this: T01XX while XX equals the desired spindle orientation.

2. Turning spindle + C-axis + clamping I saw this is done via the PP so never mind.

There are plenty of examples on how to implement a lathe spindle + C-Axis in LCNC. What worries me is the spindle locking.
There is the INDEXER available, but this works only exclusivly with G0 moves. As soon as the G-code contains G0 CX and i.e. G1 CX FXX it does not work anymore. How can i solve this problem? My idea was to somehow use motmod.
C-axis can be locked if the next line of G-code does not move the axis and unlocked if the next line of code does. The question is how.

The bridge the waiting time for new posts on this topic here are some pictures:
 
Displaying 16666 - 16670 out of 16670 results.
Time to create page: 0.353 seconds
Powered by Kunena Forum