On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:
Date: Tue, 7 May 2024 19:59:55 +0000 From: Todd Zuercher via Emc-users <emc-users@lists.sourceforge.net> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Cc: Todd Zuercher <to...@pgrahamdunn.com> Subject: [Emc-users] Mb2hal 2.9? The machine that I've been working on updating from 2.7 to 2.9 has hit a snag. The one thing I didn't change now seems to be giving me the most trouble. The machine has 8 vfds for running 8 router spindles, they are/were connected to Linuxcnc using Mb2hal and a usb RS485 dongle. It was working find on the old pc running Ubuntu, RTAi, and Linuxcnc 2.7. I copied the old mb2hal.ini and it's associated hal file over to the new machine and added them to the config, but I can not seem to establish communication between Linuxcnc and the drives. Starting Linuxcnc from the terminal, and it pukes out this string of error messages, so fast that I can't find any other possibly more informative error messages further up the log, (beacaue I can't scroll past all this other junk.) My mb2hal config has 32 transactions, and there is an error msg like below for each of the 32, then the list repeats ad nauseum. Any one have any ideas what's going on? The PC is running Debian 12, with Linuxcnc installed from the Debian repos. mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[1] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[3] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[5] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[7] mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to link, ret[-1] fd[-1] Moving the RS485 dongle back to the old pc and loading the mb2hal config there gives no errors. So it shouldn't be a hardware or config issue that I'm aware of. Did something significant change in mb2hal between 2.7 and 2.9 that would require a change to the mb2hal configuration files? Todd Zuercher P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php> 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031
Could this be some permissions or device name error with USB--> RS-485 device driver? Peter Wallace Mesa Electronics _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users