AX58100

More
30 Oct 2024 05:58 #313470 by SOLD
AX58100 was created by SOLD
Hello
I'm a newbie. I started DIY Ethercat board with AX58100
1. AX58100-16in-16out
2. AX58100-Step/DIR + Encoder ABZ +8in/8out GPIO

Everything works on Twincat and I can connect it to Linux lcec

I want to use it with Linux CNC as 3axis and 1 spindle
In the axis there are
-Step/Direct
-Input8
-Output8
-Encoder ABZ
And there is AX58100-16in-16out board as the main I/O of the system

But I still can't create the correct ethercat-conf.xml file. I don't understand if it needs to be used as CIA402 or not
I have attached the XML files from AXIS for both boards

Can you please suggest a generator for ethercat-conf.xml for this project

Thanks for your support
Attachments:

Please Log in or Create an account to join the conversation.

More
30 Oct 2024 11:43 #313479 by SOLD
Replied by SOLD on topic AX58100
I got a reply email from the AX58100 manufacturer saying that it is not possible to use only AX58100, need to use external MCU via SPI.

But no answer about working as IO. I want to know if not using CIA402 can still be declared as input/output. 
 
Attachments:

Please Log in or Create an account to join the conversation.

More
31 Oct 2024 09:12 - 31 Oct 2024 09:37 #313531 by SOLD
Replied by SOLD on topic AX58100
    I created  ethercat-conf.xml  used IO 8in-8out successfully.it works.
<?xml version="1.0" encoding="UTF-8"?>
<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
    <!-- Define the slave device -->
    <slave idx="0" type="generic" vid="0x00000b95" pid="0x00610300" configPdos="true">
      <dcConf assignActivate="256" sync0Cycle="*1" sync0Shift="0"/>

      <!-- Sync Manager Configuration -->
      <syncManager idx="2" dir="out">
        <pdo idx="0x1600">
          <pdoEntry idx="0x3101" subIdx="1" bitLen="8" halType="complex">
            <complexEntry bitLen="1" halPin="out-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-2" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-3" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-4" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-5" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-6" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-7" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-8" halType="bit"/>
          </pdoEntry>
        </pdo>
      </syncManager>

      <syncManager idx="3" dir="in">
        <pdo idx="0x1a00">
          <pdoEntry idx="0x3001" subIdx="1" bitLen="8" halType="complex">
            <complexEntry bitLen="1" halPin="in-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-2" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-3" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-4" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-5" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-6" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-7" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-8" halType="bit"/>
          </pdoEntry>
        </pdo>
      </syncManager>
    </slave>
  </master>
</masters>

 
Attachments:
Last edit: 31 Oct 2024 09:37 by SOLD. Reason: edit pic
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
02 Nov 2024 11:04 #313651 by RDA
Replied by RDA on topic AX58100
Pretty cool. I assume that there is no gateway IC that woul parse the ethercat messages but the chip itself is pretty cool.
I assume that you can still use the pwm, encoder etc features as a "standalone".
Where did you get the chip and how much did you pay for it?
The following user(s) said Thank You: SOLD

Please Log in or Create an account to join the conversation.

More
04 Nov 2024 06:31 #313743 by SOLD
Replied by SOLD on topic AX58100
Yes, it can't process by itself, as the manufacturer replied by email.
I tried step/direct with factory XML via twincat, it works. I'm still new to ethercat, I can't do much more.
This demo board is available on Alixprees th.aliexpress.com/item/1005005600858798....arch%7Cquery_from%3A

Please Log in or Create an account to join the conversation.

More
25 Nov 2024 18:43 #315246 by COFHAL
Replied by COFHAL on topic AX58100
Here is an interesting discussion regarding IC AX58100 designed by Håkan BåstedtMetalMusings
github.com/MetalMusings/MyOwnEtherCATDev...uecomment-2474082363. With the kindly given instructions I have my board working and ready to run on LINUXCNC
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
26 Nov 2024 15:17 - 26 Nov 2024 15:24 #315306 by Hakan
Replied by Hakan on topic AX58100
Yes, it went well. Both your card, COFHAL, and SOLD's system were able to start and are now working.

Background: I have been making a few EtherCAT client cards, just to see how it can be done, to learn about EtherCAT and eventually use a card in my plasma cutter which is slowly being built. If all goes well.

I publish the project on github.com/MetalMusings/MyOwnEtherCATDevice and I made a series of Youtube video as I learned things along the way.

The card we were working on was the EaserCAT 3000
Last edit: 26 Nov 2024 15:24 by Hakan.
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

More
26 Nov 2024 16:05 #315310 by RDA
Replied by RDA on topic AX58100
Looks great!
Shame it seems that it does not have an analog input, with one of those you could of done the arc voltage reading directly without the need for a mesa pcb in between.

Well actually you seem to have a microcontroller on there as well that most likely has an ADC, why not use one of those? I did not check the schematic but will take a peek at somepoint.

Please Log in or Create an account to join the conversation.

More
26 Nov 2024 16:52 #315313 by Hakan
Replied by Hakan on topic AX58100
Entirely possible.
There is an STM32F407VGT6 but you can switch it for your favorite MCU if needed.
Now, I am not an electronics engineer even if I do this kind of things. With that said I imagine one would need some electric isolation before the arc voltage reaches the MCU pins. One "just" needs a circuit to read the arch voltage that the MCU can read.

Please Log in or Create an account to join the conversation.

More
26 Nov 2024 20:05 #315319 by RDA
Replied by RDA on topic AX58100
These are just my opinions but, you dont need isolation and you would not design to read the raw arc voltage. Most decent plasma's will give you a divided arc voltage output, most common divider ration being 50. So an arc voltage of 100, would read as 100V/50=2V. You probably only need some filtering, input buffer and over voltage protection.

I took a quick look at the AX schematic, seems its only used as a gateway and none of the "special" features are used. This begs the question, why the AX instead of the LAN9252? To me the AX seems hard to get, are there benefits to use the AX as a gateway?

What are your plans for the plasma build? Do you need the MCU to do the step/dir? Or could you just get an ethercat drive and let that handle the motion side? Then you could probably use a much simpler (cheaper and smaller) MCU for IO, Analog input, maybe an encoder for pendant etc.

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum