Did anyone test mb2hal connect to modbus device via tcp?
I want to config my pc as a slave.here is my config file for mb2hal
I just modified
TCP_IP=192.168.1.20 (i found this by
ifconfig command)
TCP_PORT=9502
In linuxcnc iniconfig file, i insert a line :
loadusr -W mb2hal config=mb2hal_test_04.ini
I cant connect to my device (master device is my phone that is using an app name "tcpmodbus") by mb2hal but classicladder is work ok.
There is a messenger in shell show ip:
mb2hal get_tx_connection ERR: mb_tx_num[1] mb_links[0] cannot connect to link, ret[-1] fd[-1]
I'm dont know what it means.