Mesa modbus and pktUart

More
3 years 2 months ago #279365 by MennilTossFlykune
I get a following error on joint 1 when I try to home the y-axis (XYYZ).
If I restart LinuxCNC I instead get a following error as soon as I click machine on. If I power cycle my 7i96s and restart LinuxCNC I can attempt homing again with the same result.
Everything else works fine. The fault pin was "blinking" intermittently in halshow but I think it went away when I increased the baudrate to the maximum 115200.

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

More
3 years 2 months ago #279380 by PCW
Replied by PCW on topic Mesa modbus and pktUart
Can you plot the feedback and commanded positions with halscope when this happens?

The baud rate sensitivity may be due to the timeout value being too short for
the lower baudrates.

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

More
3 years 2 months ago #279464 by MennilTossFlykune
Turns out the solution was very simple. I set the value of the update-hz pin to 1 and the following error went away.
I lowered it to a ridiculously low number and it still works. Basically, anything above 0 works.
If I home the machine and then set it to 0 again this happens:



(The update-hz pin is documented in the docs but not on github which is what I had looked at earlier, so I didn't know about it.)
The following user(s) said Thank You: rodw

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

More
3 years 2 months ago #279465 by rodw
Replied by rodw on topic Mesa modbus and pktUart

(The update-hz pin is documented in the docs but not on github which is what I had looked at earlier, so I didn't know about it.)
Thats becasuse the man pages are documented from content embedded into the component's source code.

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

More
3 years 2 months ago #279469 by PCW
Replied by PCW on topic Mesa modbus and pktUart
Does setting update-hz to a large number (say 1000) work?

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

More
3 years 2 months ago - 3 years 2 months ago #279483 by MennilTossFlykune
1000 as well as a much larger number also works. It gets rid off the following error but it turns out there are still other issues.
If I set the value of update-hz to 1 in my hal file and start LinuxCNC the following error is still there. I have to set it to 0 in halshow and then back to 1 again in before I can home the machine. However, when it's set to 1 I can't control my VFD. If I set the speed and the rotation nothing happens.
When I set the update-hz value to 0 the spindle motor immediately starts spinning and the following error appears again.
Last edit: 3 years 2 months ago by MennilTossFlykune.

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

Time to create page: 0.402 seconds
Powered by Kunena Forum