LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

talking with modbus tcp ip device

Solved!
Go to solution

hello there ;

i need link or clarify that solve my question. i have device (wayjun converter)

that is work with modbus tcp/ip protocol and im using (labview real-time module)

so what should i do (step by step) to read or write in register of converter , i saw more links but i found list of error.  initially i want to use modbus poll simulator instead of wayjun converter . 

best regards

0 Kudos
Message 1 of 4
(1,120 Views)
Solution
Accepted by topic author monforet

Use the NI Modbus library. You can get it via the JKI package manager that is included with LabVIEW. That will give you  the necessary functions you need to read/write Modbus registers.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 2 of 4
(1,097 Views)

great job ...

I used that library and i got good result but now I'm looking to code that read coils data modbus tcp with out using any buttons that used to get reading by pressed...so I'm searching code read continuously from  register of modbus.

best regard

0 Kudos
Message 3 of 4
(1,052 Views)

You should learn how to use a while loop, if you want it to run continuously.

0 Kudos
Message 4 of 4
(1,033 Views)