EtherCAT IO and frequency counter for plasma cutter
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 543
- Thank you received: 176
02 Feb 2025 20:42 #320447
by Hakan
EtherCAT IO and frequency counter for plasma cutter was created by Hakan
Here is my latest EtherCAT card, the EaserCAT 6000, with 12 digital inputs, 4 digital outputs, and one frequency counter input for THCAD output.
It's the one down in the corner. There are three RTelligent ECT60 EtherCAT stepper motor drivers as well.
The inputs are limit switches for X, Y, Z, e-stop, floating, break-away and arc-OK.
Plasma-on is controlled by output 1.
There is one frequency counter input. Come to think of it it wouldn't be difficult to add another frequency counter for ohmic sensing, but I don't think my plasma cutter supports that, a Herocut 55X.
More details are here, including all schematics and source code.
github.com/MetalMusings/MyOwnEtherCATDevice
I haven't been cutting a whole lot with it yet. The worry has been the frequency counter that had some interference, seems to have been due to poor cable choice. With that sorted, voltage reading is now stable and THC works just fine.
It's the one down in the corner. There are three RTelligent ECT60 EtherCAT stepper motor drivers as well.
The inputs are limit switches for X, Y, Z, e-stop, floating, break-away and arc-OK.
Plasma-on is controlled by output 1.
There is one frequency counter input. Come to think of it it wouldn't be difficult to add another frequency counter for ohmic sensing, but I don't think my plasma cutter supports that, a Herocut 55X.
More details are here, including all schematics and source code.
github.com/MetalMusings/MyOwnEtherCATDevice
I haven't been cutting a whole lot with it yet. The worry has been the frequency counter that had some interference, seems to have been due to poor cable choice. With that sorted, voltage reading is now stable and THC works just fine.
Attachments:
The following user(s) said Thank You: tommylight, Aciera
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4170
- Thank you received: 1825
16 Feb 2025 10:07 #321704
by Aciera
Replied by Aciera on topic EtherCAT IO and frequency counter for plasma cutter
Nice! Thanks for sharing.
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 10965
- Thank you received: 3642
16 Feb 2025 11:20 #321718
by rodw
Replied by rodw on topic EtherCAT IO and frequency counter for plasma cutter
Very cool, Are you using internal homing and limits on the drives?
I finally worked on a homing component for the ECT60 over the weekend but have not got as far as connecting up a hal file to it. I ran out of energy!
I decided to go back to basics and control the homing using the Ethercat pins direct. In fact I added a bunch of pins because I did some work previously before the current homecomp was released. I'm sure there are a bunch that need deleting once I get it working. Long term I'd like to get rid of the cia402 component. I'm not sure if I can do that in a home comp.
Have a look. any help appreciated
github.com/rodw-au/cia402_homecomp
I finally worked on a homing component for the ECT60 over the weekend but have not got as far as connecting up a hal file to it. I ran out of energy!
I decided to go back to basics and control the homing using the Ethercat pins direct. In fact I added a bunch of pins because I did some work previously before the current homecomp was released. I'm sure there are a bunch that need deleting once I get it working. Long term I'd like to get rid of the cia402 component. I'm not sure if I can do that in a home comp.
Have a look. any help appreciated
github.com/rodw-au/cia402_homecomp
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 543
- Thank you received: 176
16 Feb 2025 11:56 - 16 Feb 2025 11:57 #321726
by Hakan
Replied by Hakan on topic EtherCAT IO and frequency counter for plasma cutter
No, not internal homing but I did get the following error issue when starting up.
I reckon it is the encoders that aren't starting at zero. At least when they have been running and restart QtPlasmaC, linuxcnc expects pos-fb to be zero, but the motors are where they are which is not zero usually. Also when the motors are enabled they move slightly.
I did two things for that
1. Zero the encoder just before starting by adding a startup commandNo encoder feedback on Z.
2. During the first five seconds after "machine on" there is a much larger following error limit, then it goes down to standard following error limit.
Used the timedelay and the ini component for that.
I reckon it is the encoders that aren't starting at zero. At least when they have been running and restart QtPlasmaC, linuxcnc expects pos-fb to be zero, but the motors are where they are which is not zero usually. Also when the motors are enabled they move slightly.
I did two things for that
1. Zero the encoder just before starting by adding a startup command
#! /bin/bash
ethercat -p 0 download 0x2010 0 1
ethercat -p 1 download 0x2010 0 1
linuxcnc QtPlasma.ini
2. During the first five seconds after "machine on" there is a much larger following error limit, then it goes down to standard following error limit.
Used the timedelay and the ini component for that.
Last edit: 16 Feb 2025 11:57 by Hakan.
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 10965
- Thank you received: 3642
16 Feb 2025 19:22 #321759
by rodw
Replied by rodw on topic EtherCAT IO and frequency counter for plasma cutter
Strange, I have never had that issue. Recently after a long holiday without touching it, I could not get it to move at all and it made awful sounds.
I fixed this by resetting to factory defaults (0x10110) by changing the values in the XML on sucessuve restarts. Now its perfect so I want to work on homing,
The only following error I had on my Mill with ECT86 drives was when I had the accelleration too high and it would do that coming out of homing. I decided this was probably because the accelleration (well decelleration here) was too high and the setting was overcome by inertia. Reducug accelleration in the ini file fixed it.
I fixed this by resetting to factory defaults (0x10110) by changing the values in the XML on sucessuve restarts. Now its perfect so I want to work on homing,
The only following error I had on my Mill with ECT86 drives was when I had the accelleration too high and it would do that coming out of homing. I decided this was probably because the accelleration (well decelleration here) was too high and the setting was overcome by inertia. Reducug accelleration in the ini file fixed it.
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 543
- Thank you received: 176
16 Feb 2025 20:43 #321766
by Hakan
Replied by Hakan on topic EtherCAT IO and frequency counter for plasma cutter
But what settings have you entered? I have max current, standby current and closed loop/open loop. Everything else is default.
I realize my method is a temporary fix. Maybe I can look into that now when things work fine. On the other hand, if it works it works.
I have homing on traditional limit switches. Seems to work so I am happy.
I realize my method is a temporary fix. Maybe I can look into that now when things work fine. On the other hand, if it works it works.
I have homing on traditional limit switches. Seems to work so I am happy.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 10965
- Thank you received: 3642
17 Feb 2025 09:20 #321814
by rodw
Replied by rodw on topic EtherCAT IO and frequency counter for plasma cutter
Yes, it was weird because I have already built a machine with ECT86 drives so knew what was needed.
I have used a few more sdos for homing parameters (5 sdos) and also to configure inputs for homing and estop
I have used a few more sdos for homing parameters (5 sdos) and also to configure inputs for homing and estop
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds