(Freelancer) Linux CNC + EtherCat + RPi 4 Setup

More
4 years 8 months ago #235458 by db1981
i think all u32 ,

if you don't need them in lcnc, you can remove halpin and haltype from the line.

Please Log in to join the conversation.

More
4 years 8 months ago #235506 by Dj Junior
Hi db1981
Thank you very much, now  the stepper are enabled. I entered Error Code, Touch probe etc as suggested and it works.

Now I get the following warning.

 

Attachment not found

Please Log in to join the conversation.

More
4 years 8 months ago #235518 by db1981
what is the actual revision of the hal file?

If the joint pins are all still commented out, this errors are all normal

Please Log in to join the conversation.

More
4 years 8 months ago #235528 by Dj Junior
Here are config files

 

Attachment not found


​​​​​​​ 

Attachment not found


 

Attachment not found


 

Please Log in to join the conversation.

More
4 years 8 months ago #235534 by db1981
files looking ok.

is this error only on joint2 , do the other axis move?

One Idea, mode_of_ op is missing. This pin is not provided by your drives config.
Please check the value of the pin opmode_display in halshow.

Please Log in to join the conversation.

More
4 years 8 months ago #235537 by Dj Junior
Yes! is only joint2

27  s32   OUT             8  lcec.0.4.opmode-display ==> x-opmode-display
27  s32   OUT             8  lcec.0.5.opmode-display ==> x-opmode-display
27  s32   OUT             0  lcec.0.6.opmode-display ==> z-opmode-display

Please Log in to join the conversation.

More
4 years 8 months ago #235538 by db1981
as you can see, the drive for z (joint 2) is not working correct. The Value should be 8= CSP Mode too.

Change the CAT cabling to get this drive to another position in the chain and look if the op-mode display moves with the drive or not.
If it moves, the bug is related to the drive himself, if not the config is buggy.

Please Log in to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum