LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus Connection Difficulties

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.

0 Kudos
Message 1 of 2
(2,383 Views)

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?

0 Kudos
Message 2 of 2
(2,349 Views)