AX58100

More
1 year 6 months ago #327373 by COFHAL
Replied by COFHAL on topic MAX VELOCITY STEP.
I see that I've updated the information related to the AX5800 card. Now I have some questions:
I see that I created some enable pins. I assume they are to enable the output of each of the step generators. In the XML file for LINUXCNC, these pins appear as BIT, but I don't know how to configure them correctly in the EEPROM generator file. Bit variables don't appear there. In that same file it appears
<pdoEntry idx="6001" subIdx="01" bitLen="32" halPin="Frequency" halType="float-ieee"/>
</pdo>
<pdo idx="1a01">
<pdoEntry idx="6001" subIdx="01" bitLen="8" halPin="DI1" halType="u32"/>
<pdoEntry idx="6001" subIdx="02" bitLen="8" halPin="DI2" halType="u32"/>
<pdoEntry idx="6001" subIdx="03" bitLen="8" halPin="DI3" halType="u32"/>
<pdoEntry idx="6001" subIdx="04" bitLen="8" halPin="DI4" halType="u32"/>

It's not clear to me what function those DI pins have and how they are programmed in the EEPROM generator.

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

More
1 year 6 months ago #327405 by Hakan
Replied by Hakan on topic MAX VELOCITY STEP.
I think there is something not quite right in the eeprom_generator with bits, so I use uint8 instead.
And then create a bit pin in linuxcnc with
<pdoEntry idx="600x" subIdx="01" bitLen="8" halPin="enable1" halType="bit"/>

Those DI pins are the input pins, for switches etc. I think the halType should be "bit" for them.

What do you do in the code with the enable information?

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

More
1 year 2 months ago #333339 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
I see that the EaserCAT-3000 board firmware has been updated on Github. As you mentioned earlier, you left out the step scale so it could be modified from the INI file. You also added enable pins, but I don't know how to use them. Could you explain these changes a little more?

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

More
1 year 2 months ago #333346 by Hakan
Replied by Hakan on topic AX58100 last firmware
I answered on the github issue tracker, but you set number of steps with normal "setp" in the hal file.
The new Enable PDO/Pin should be connected to net x-enable, that way it only generates steps when the machine is "on".
Like so
Code:
setp lcec.0.E3000.StepsPerMM1 200 net x.enable lcec.0.E3000.Enable1
You also have MaxAcceleration as a new PDO and the guideline is some 25% higher than ACCELERATION in the ini file.
The following user(s) said Thank You: COFHAL

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

More
1 year 2 months ago #333478 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
The CAT3000 definitely doesn't work with Linuxcnc with the latest version. If I connect it to TwinCAT, there's no problem. I can go to OP state, the inputs and outputs work, the encoder too, but with LNC, nothing works; it doesn't go to OP state. Something very strange is that many Enable pins are generated, 8 in total for each Enable, as seen in the photo. I don't know if the problem could be the ethercat-conf file.

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

More
1 year 2 months ago #333479 by COFHAL
Replied by COFHAL on topic AX58100 last firmware
Another thing I noticed is that when looking at the circuit diagram the +24 volt input is not connected to anything, the same on the PCB this pin is not connected either, only -24 volts is connected to the current limiting resistors at the inputs of the optocouplers of the inputs.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum