Author Topic: Redundant CommComponent  (Read 2907 times)

andrew_pj

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Redundant CommComponent
« on: November 28, 2014, 01:04:51 AM »
Dear Archie,

Is there any solution to handle redundant communication?
For example there are 2 ModbusTCP communications.
When no.1 is primary, CommComponent in all components will be ModbusTCPCom1.
When no.2 is primary, CommComponent in all components will be ModbusTCPCom2.

I am thinking about putting Script in Timer:
1. Declaring all components and set its CommComponent according to primary indication
Bottleneck: if there are a lot of components, the script will be very long
2. Modify ModbusTCPCom IP Address based on primary indication.
So, there will be only 1 ModbusTCPCom instantiated in the program.
Bottleneck: not sure if this solution is feasible. And, if CommComponent is different (example TCP and RTU), this solution might not work.


Best regards,
Andrew

ianfinlay_aus

  • Newbie
  • *
  • Posts: 21
  • www.earthed.net.au
    • View Profile
    • Earthed Solutions Pty Ltd [Custom Software for Engineering]
Re: Redundant CommComponent
« Reply #1 on: September 04, 2015, 11:13:34 PM »
Hi,
Have you progressed at all with this redundancy feature?
I am trying to do something similar (by trying to do modbus device discovery) to find  a modbus device ID (which isnt known)
Ian
Former Citect SCADA Developer, and integrator
now specialist in bespoke\custom engineering software for scientific and automation sectors

andrew_pj

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Redundant CommComponent
« Reply #2 on: September 08, 2015, 01:51:54 AM »
Hi,
Have you progressed at all with this redundancy feature?
I am trying to do something similar (by trying to do modbus device discovery) to find  a modbus device ID (which isnt known)
Ian

You may use the 2nd method.
Modify ModbusTCPCom IP Address based on primary indication.

You only need to create one ModbusTCPCom.
Use DataSubscriber component to get the primary indication.
Write script to assign IP address to ModbusTCPCom based on primary indication.