Author Topic: ReadUDT "No Response from PLC. (ReadRaw)" Exception  (Read 949 times)

hectibrown

  • Newbie
  • *
  • Posts: 2
    • View Profile
ReadUDT "No Response from PLC. (ReadRaw)" Exception
« on: July 08, 2019, 04:36:17 PM »
I am trying to work though a couple of errors when I "loose" comms with the PLC. If I am reading a UDT and I loose communications with the PLC I get the following exception:

Quote
MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException:
'No response from PLC. (ReadRaw)'

I am on 399y28 (and I think my EthernetIpClxCom controller might be a more recent version (version 30 i think))

Any help would be appreciated, Thanks!

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: ReadUDT "No Response from PLC. (ReadRaw)" Exception
« Reply #1 on: July 08, 2019, 04:38:36 PM »
That is the normal behavior. You need to put your code in a Try-Catch block to properly handle the exception.

hectibrown

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: ReadUDT "No Response from PLC. (ReadRaw)" Exception
« Reply #2 on: July 08, 2019, 04:41:49 PM »
That is the normal behavior. You need to put your code in a Try-Catch block to properly handle the exception.

Okay, thanks, I think I'll search for that

Edit:

Got it to work, thanks Archie!
« Last Edit: July 08, 2019, 05:05:48 PM by hectibrown »