Author Topic: Disable communication when plc is no available  (Read 1188 times)

Hassegawa

  • Newbie
  • *
  • Posts: 1
    • View Profile
Disable communication when plc is no available
« on: November 09, 2017, 09:04:12 AM »
When my plc is turned off, and the driver has no response, it makes my aplication very slow. so what i'm trying to do is, i'm using ping to verify if my plc is active, if it's not i wanto to dispose my plc connection, but everytime i do that i get a load of errors.
did somebosy manage to dispose the plc connection when it's no on use, but call it back later.
i'm using omron ethernet fins

Phrog30

  • Guest
Re: Disable communication when plc is no available
« Reply #1 on: November 09, 2017, 06:29:33 PM »
The only time it should get "slow" or freeze is when you try to read or write to a PLC that isn't connected.  For example, if you click a basicbutton and there is no PLC connection it will slow or freeze the UI.  So, what do you have that is reading/writing constantly?  I don't have this problem.  I have a ton of subsriptions and even those don't cause problems.  Are you using timers or something to poll the PLC?