AX58100

More
16 Aug 2025 06:01 #333501 by Hakan
Replied by Hakan on topic AX58100 last firmware
A new ethercat-conf.xml is needed, there are many new PDOs.
Start with output from lcec_configgen and add what's needed from the current config file.
Use the complexentry for the digital IOs. I'll see if I can come around and update the ethercat-conf.xml
in the repo in a day or two.

The 24V digital Inputs are single-ended. Meaning that a switch gets +24V (or -24V) from somewhere else
and the circuit is closed through the IO board. The Inputs work with both polarities.
It is somewhat misleading to have +24V as input in J12. It isn't used. Only -24V (which can be +24 or -24V as needed)
The following user(s) said Thank You: COFHAL

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

More
16 Aug 2025 14:32 #333511 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
 

File Attachment:

File Name: ethercat-conf.xml
File Size:6 KB
The 3000 definitely does not enter OP operating state, I think it is a problem in the config.xml file which I attach.
Attachments:

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

More
16 Aug 2025 17:07 #333520 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
Also note that in the EEPROM generator file I removed the field for the DAC converter for spindle control.

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

More
16 Aug 2025 18:16 #333522 by Hakan
Replied by Hakan on topic AX58100 last firmware
Something has happened with the latest commits and I can't dig into that now.
Use git and go back to the March 2025 version. f79ad70
git checkout f79ad70
It does have all the same PDOs.
The ESI file wasn't stored in git so need to generate that as well. EEPROM_generator, restore project, write all files.
Write new eeprom, compile and upload firmware to processor.
Should work, it worked here.

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

More
17 Aug 2025 19:32 #333570 by Hakan
Replied by Hakan on topic AX58100 last firmware
Pushed changes to EaserCAT 3000.
The problem was a little bigger than expected.
There is, somewhere and I don't know exactly where, a limit on how much data can be sent every ethercat cycle.
After diagnosing that, the PDOs had to be reshuffled, and MaxAcceleration and StepperScale (StepsperMM) had to be static data in SDOs.
Still settable, but in the ethercat-config.xml file.
I also added a linuxcnc configuration so the E3000 card can easily be tested. It includes a mini stepper motor milling machine.
Files, including an ethercat-conf.xml, is in linuxcnc/configs/sim.axis.
 
The following user(s) said Thank You: COFHAL

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

More
17 Aug 2025 22:18 #333585 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
I don't understand how to convert steps to hex in the XML file. Could you explain?

200.0 = 43 48 00 00??

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

More
17 Aug 2025 22:29 #333586 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
I already understood how to do that conversion.

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

More
18 Aug 2025 06:32 #333606 by Hakan
Replied by Hakan on topic AX58100 last firmware
That sdodataraw input field to sdoconfig isn't the easiest to use, unfortunately.
After using an online ieee float to hex converter one ends up with 0x43480000 for 200.0
Swap the byte order, the number becomes SdoDataRaw="00 00 48 43".

An alternative is to set the value outside of linuxcnc
ethercat -p 0 download 0x2001 0 200.0
and check the value with 
ethercat -p 0 upload 0x2001 0
The value needs to be set at every power cycle of the board, it isn't saved.

I gave MacAcceleration a default value of 1000000.0, you might want to give it a reasonable value.
 
The following user(s) said Thank You: COFHAL

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

More
19 Aug 2025 02:27 #333645 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
It work now.

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

More
19 Aug 2025 08:33 #333663 by Hakan
Replied by Hakan on topic AX58100 last firmware
Good the hear, thanks for update.
The firmware needed an overhaul to get all info in and out anyways.

I found the limit in the software but it wasn't just to increase 16 PDOs to say 32 PDOs.
For the time being I consider 16 PDOs in and 16 PDOs out to be the max the number of PDOs the Ax58100 can handle.
It can be more, but my tests doesn't show that and I find no info in the pretty useless datasheet of the Ax58100.
The following user(s) said Thank You: COFHAL

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

Time to create page: 0.092 seconds
Powered by Kunena Forum