AdvancedHMI Software

General Category => Feature Request => Topic started by: qwideman on August 07, 2013, 05:35:17 PM

Title: Connection to multiple devices on Modbus TCP/IP
Post by: qwideman on August 07, 2013, 05:35:17 PM
I don't know very much VB at all. What would be required to make it possible to connect multiple Modbus Devices over Modbus TCP/IP? For example, having 2 pilot lamps addressed to separate PLCs.

Could a module be made that would support this?

I don't think I can write that code.  ;D


Thank you,

Quinton Wideman
Rolan Inc.
rolaninc.ca
Title: Re: Connection to multiple devices on Modbus TCP/IP
Post by: Archie on August 07, 2013, 05:39:45 PM
You can add multiple driver instances to the form and give each one a unique IP address. In your control (e.g. pilot light), set the ComComponent property to the driver instance you want it to get the data from.
Title: Re: Connection to multiple devices on Modbus TCP/IP
Post by: qwideman on August 07, 2013, 06:06:32 PM
Thank you, I had done that, but I see now that my one device is offline.
I'll give it another shot once it comes back on.


Quinton
Rolan Inc
Title: Re: Connection to multiple devices on Modbus TCP/IP
Post by: qwideman on August 09, 2013, 03:22:35 PM
Thank you, that works fine now. My mistake.

Quinton Wideman
Rolan Inc.
rolaninc.ca