Author Topic: Connection to multiple devices on Modbus TCP/IP  (Read 3235 times)

qwideman

  • Newbie
  • *
  • Posts: 41
    • View Profile
Connection to multiple devices on Modbus TCP/IP
« 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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Connection to multiple devices on Modbus TCP/IP
« Reply #1 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.

qwideman

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Connection to multiple devices on Modbus TCP/IP
« Reply #2 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

qwideman

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Connection to multiple devices on Modbus TCP/IP
« Reply #3 on: August 09, 2013, 03:22:35 PM »
Thank you, that works fine now. My mistake.

Quinton Wideman
Rolan Inc.
rolaninc.ca