08-20-2018 04:36 AM
Hello,
I am in the process of trying to connect my computer (master) to a MCILAN485 Ethernet Gateway with 2 Frer Power meters connected to it (slaves). I have created the attached iv. after looking at some examples but Im having a few problems.
First: I do not know how to establish connections between the pc and the power meters are the same time
Second: I am getting an illegal data address error popping up when I enter the number of inputs as 2 and the address register as 40234.
My ultimate goal is the get the power values from the two slave sensors using LabVIEW. I have already downloaded the Modbus ivs. Any help would be much appreciated.
08-20-2018 10:11 AM - edited 08-20-2018 10:12 AM
Your attached VI is missing a lot of constants and isn't executable, do you have a version that actually runs? The Modbus examples aren't meant to be placed in your VI, they're just meant to look at. Don't mix and match the two different free Modbus libraries. Don't create a Modbus Slave when you only need a Modbus master. Are you sure that 40234 is a valid address for your device? Can you attach the documentation for your device?