05-28-2025 11:49 AM
Hello,
I have an embedded controller PXIe-8881 and I am trying to communicate with a Modbus Client using the PXIe-8245 via ethernet cord. I was able to successfully communicate with the client device when I directly connected the ethernet cord into my computer. However, I am having trouble establishing a connection when I connect the device to the PXIe-8245 and deploy the project to my RT target. I get error 59. I am using the Modbus API.
I have also made sure that the RT target, my computer, and the modbus device are on the same subnet.
What PXI Hardware Is Required To Implement Modbus Communication? - NI
This link doesn't include the PXIe-8245, would this be a compatibility issue?
Solved! Go to Solution.
05-29-2025 06:43 AM
Error 59: The Network is Down, Unreachable, or Has Been Reset
Can you ping the IP address?
06-03-2025 10:28 AM
I can ping both my host computer and the modbus device, but not when both are connected to the RT target at the same time. I have tried setting a static IP for the RT target and that didn't work. I am now having trouble setting the RT target to DHCP. It doesn't have an IPv4 address only an inet6 address. When I try to set an IP address from the RT target's command line (sudo ip addr add ... ) I am getting an Error: either "local" is duplicate or "eno0" is a garbage.
06-03-2025 02:31 PM
The Error: either "local" is duplicate or "eno0" is garbage went away after rebooting the system.
Was able to successfully ping both devices simultaneously! I needed to configure the RT target IP to DCHP and change the PXIe-8245 module's IP to be able to connect to the Modbus Device.