Mesa 7i95

More
27 Jul 2020 23:11 #176161 by reyntjensm
Replied by reyntjensm on topic Mesa 7i95
My board did finally arrive. I got the card setup by the eeprom ip 10.10.10.10, i can ping to it without any problems.
When i try to us the readhmid command in mesaflash it gives an error: unsupported device 7I95. How can i solve this? I have no typo's in my command line or so. And since i use the latest linuxcnc branch i don't know what could lead to this issue...
Could anyone help me out? Thank you all!

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

More
27 Jul 2020 23:22 #176163 by PCW
Replied by PCW on topic Mesa 7i95
You would need the latest version of mesaflash, here:

github.com/LinuxCNC/mesaflash

(build instructions are at the bottom of the page)

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

More
28 Jul 2020 00:00 #176174 by reyntjensm
Replied by reyntjensm on topic Mesa 7i95
I will try this out tomorrow. I still have some other questions. In this video:
it's configured via pncconf. At the end a shortcut is created and after pushing this linuxcnc should start up? So i shouldn't use mesaflash to get it running? I don't see the connection between mesaflash and the .hal and .ini files? I guess it's less of a hassle to do everything with pncconf and just adapt the .hal files manually? Can i leave the jumpers in the mesaboard to use the eeprom ip? Thank you for your help and feedback!

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

More
28 Jul 2020 00:09 #176179 by tommylight
Replied by tommylight on topic Mesa 7i95
Mesaflash is only needed when changing the firmware on the board.
And you are right, there is no direct use of mesaflash and pncconf at the same time.
Use pncconf wizard to create a config that roughly represents what you need, then you can edit and set thing up and tune later.

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

More
28 Jul 2020 00:10 #176180 by PCW
Replied by PCW on topic Mesa 7i95
Mesaflash is just a tool for programming (or inspecting the programming of ) Mesa FPGA cards

Pncconf can create starting hal/ini files (which do need to be edited to work with a 7I95)

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

More
28 Jul 2020 21:15 - 28 Jul 2020 21:22 #176282 by reyntjensm
Replied by reyntjensm on topic Mesa 7i95
Hello everyone,
I tried to run the cnc for the first time, sadly enough a error shows up when booting the cnc.
The jitter period for my system was around 27000, i changed this value to see if the error would be solved.
How can i troubleshoot this kind of errors?
Attached you can find my ini and hal file.
Thanks to everyone for the support!

File Attachment:

File Name: milleniumS...7-28.hal
File Size:8 KB

File Attachment:

File Name: milleniumS...7-28.ini
File Size:4 KB


EDIT: moving the jitter period up to 1000000 solved the issue.
My steppers are moving now, but when they come to a stop they have an oscillating behavior.
What could be the reason for this since i'm not using any feedback for now?
Attachments:
Last edit: 28 Jul 2020 21:22 by reyntjensm.

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

More
28 Jul 2020 21:36 #176287 by PCW
Replied by PCW on topic Mesa 7i95
The stepgen PID's P term gets set based on the servo thread rate. I think pncconf doesn't re-
adjust this if you change it again so its probably too high, so if you have a 1000000 ns servo
thread (1ms) you should set all P terms in the .ini file to 1000

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

More
28 Jul 2020 21:50 #176288 by reyntjensm
Replied by reyntjensm on topic Mesa 7i95
Yep, that solved the issue. I guess a 1000000 period isn't that good?
Can i still invert the direction in the hal or ini file? Or should i use pncconf for this?

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

More
28 Jul 2020 21:54 - 28 Jul 2020 21:58 #176289 by PCW
Replied by PCW on topic Mesa 7i95
A 1000,000 ns (1 ms) servo-thread period is standard
A 100,000 ns (100 us) servo-thread is going to be too fast for most hardware

I would not use pncconf again once you have the basics setup

To invert the stepgen direction, you can for example:

setp hm2_7i95.0.stepgen.00.direction.invert_output true
Last edit: 28 Jul 2020 21:58 by PCW.

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

More
28 Jul 2020 22:01 #176290 by reyntjensm
Replied by reyntjensm on topic Mesa 7i95
Great i will try it out.
I have to say i'm very impressed about the mesa card and linuxcnc.
I've been thinking about rebuilding this machine for many years.
I can't believe it's moving again without that many issues.
Great support!
Thank you @PCW

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

Moderators: PCWjmelson
Time to create page: 0.279 seconds
Powered by Kunena Forum