New Project with Mesa 7I96 and THCAD-05

More
03 Jul 2021 12:47 #213555 by acourtjester
Thanks Clive
I did remove the - from the home_search-vel to have the Z move up to home.
here is what is in my INI, I will be in the shop checking on the things supplied by members today. I seems I will be changing speed setting.

HOME_OFFSET = 0.100000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.016667
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

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

More
03 Jul 2021 16:29 #213570 by Clive S
Are you saying that it is now going to home switch and then reversing to back off the switch ?

If it is not backing off the switch change the sign on HOME_LATCH_VEL

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

More
03 Jul 2021 17:46 #213578 by acourtjester
It was acting correctly but the finished back off may not be far enough as I am getting this error now.
 
here are the setting for the Z aixs
HOME_OFFSET = 0.20000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = -0.016667
HOME_FINAL_VEL = 0.0000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
I am getting this error too below is the latency test I ran
   
Attachments:

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

More
03 Jul 2021 19:27 #213584 by Clive S
Ok. So it is homing correctly. 

The joint.2.following error is a different problem. Can you post the hal and ini files you are using

others will chime in  about the latency  problem.
 

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

More
03 Jul 2021 19:35 #213585 by acourtjester
Thanks for the reply here are the files
 

File Attachment:

File Name: PhillC.ini
File Size:5 KB

 

File Attachment:

File Name: PhillC.hal
File Size:12 KB
Attachments:

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

More
03 Jul 2021 21:16 - 03 Jul 2021 21:16 #213589 by PCW
"setp hm2_7i76e.0.watchdog.timeout_ns 5000000"

and a watchdog has bit error means a worse than 5 ms
delay has happened in communications (which can also cause all the other errors)

This may be an Ethernet setup error or a hardware error of some kind

To narrow down the cause:

1. Can you ping the Mesa card (ping 10.10.10.10) wait for a few hundred echos and post the result here
2. What PC hardware do you have?
3. What Ethernet device to you have?
( lshw | grep -i eth )
Last edit: 03 Jul 2021 21:16 by PCW.

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

More
03 Jul 2021 21:56 #213600 by acourtjester
Thanks for the reply I am using a Dell SFF Optiplex 790,  Integrated NIC with internal LAN enabled. direct either connect dell to Mesa 7i76e.
I3 -2130 CPU 2 core 3.4G with 4 G  DDR3 SDRAM
 
 
Attachments:

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

More
03 Jul 2021 22:40 #213608 by PCW
The Dell 790 has an Intel MAC so needs the Ethernet driver instructed to
not coalesce packets (wait in the service routine for additional packets)
This is done by setting the "rx-usecs" coalesce parameter to 0

You can do this temporarily with the command:

sudo ethtool -C eno1 rx-usecs 0

(you may need to change the "eno1" to your Ethernet device name)

This should improve the ping times markedly but will only persist
until the next reboot. to make this change permanently, it best to edit
the interfaces file as described in the hm2_eth manual page

man hm2_eth

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

More
03 Jul 2021 23:30 #213620 by rodw
the Man page PCW says to view from the command line is also available here
linuxcnc.org/docs/devel/html/man/man9/hm2_eth.9.html

To set it up is described in the Configuring Ethernet section

You need to use sudo to edit that file.
Assuming you have previously installed Geany, you can edit that file with

sudo geany /etc/network/interfaces

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

More
04 Jul 2021 01:32 #213634 by acourtjester
Thanks for the replies from both of you, I will be looking into these on Monday. The wife has a day planned for the 4th, And looks like maybe another blower coming up for the south, forecasters no sure what it will do.
I do appreciate the help, not being fluid in Linuxcnc is a handy cap, but I will keep plugging at it.

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

Time to create page: 0.249 seconds
Powered by Kunena Forum