Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus TCP Poll

Hi all

 

I am trying to create a VI that allows me to monitor modbus polls over TCP. The slave device is a Elpro 245U-E Ethernet modem. I can succesfully read x amount of registers using a program called Modscan as seen below. 

 

Modscan Shot.png

 

 

I want to recreate something similar to this in Labview. All im interested in is the number of polls and the poll responces. 

I am using Labview 12.0 on Win7. I have used the modbus library previously to create a few VIs. I cannot find an example there that would help me do this.

Are there any examples available else where? any help would be appreciated.

 

Regards,

Chad

0 Kudos
Message 1 of 3
(6,509 Views)

Hi Chad, 

 

We don't have any examples for the Modbus library, I think you have two options. 

 

1) Use the DSC module, which does have examples. 

2) Post you the example you are working on right now and I will help you get it going. 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 2 of 3
(6,500 Views)

I'm a bit confused when you say that you want labview to monitor the modbus polls. When a program opens up the port to transmit the data, I don't think labview will have access to the port.

 

If you are using ethernet to communicate, I would suggest using wireshark to monitor the ethernet packets. It can decode modbus data packets.

 

If you want labview to do the actual polling of data, that can be done.

 

Describe your application in a bit more detail.

0 Kudos
Message 3 of 3
(6,481 Views)