Author Topic: ethernetIPforCLXCom ComError Event  (Read 1522 times)

andre.huerst

  • Newbie
  • *
  • Posts: 2
    • View Profile
ethernetIPforCLXCom ComError Event
« on: September 02, 2016, 09:29:31 AM »
I have placed several ethernetIPforCLXCom Controls on my Windows Form. Unfortunately the event ComError or ConnectionEstablished is performed only in the first two added Controls. Why? Of course, each control has its own IP address. Thanks for your feedback.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: ethernetIPforCLXCom ComError Event
« Reply #1 on: September 02, 2016, 09:37:09 AM »
Is each driver instance communicating with a separate PLC? If so, try this:

- Start with a new blank project
- Add a driver instance for each PLC
- Add a BasicLabel for each driver instance (using ComComponent property)
- Set PLCAddressValue to a valid tag in each PLC
- Start the application

After started, disconnect the Ethernet cable to force a ComError on all driver instance and see if the BasicLabels all show an error in about 5 seconds

andre.huerst

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: ethernetIPforCLXCom ComError Event
« Reply #2 on: September 02, 2016, 10:06:45 AM »
Is each driver instance communicating with a separate PLC? If so, try this:

- Start with a new blank project
- Add a driver instance for each PLC
- Add a BasicLabel for each driver instance (using ComComponent property)
- Set PLCAddressValue to a valid tag in each PLC
- Start the application

After started, disconnect the Ethernet cable to force a ComError on all driver instance and see if the BasicLabels all show an error in about 5 seconds

YES, if so

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: ethernetIPforCLXCom ComError Event
« Reply #3 on: September 02, 2016, 10:09:53 AM »
The BasicLabels show and error, but the ComError event doesn't fire?