Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: IO stalled

IO stalled 3 years 4 months ago #10862

Hi,

when I start up runtime i have the error:

IO Stalled, cyclesup delay detected.

Sometimes the communication with arduino works till i press the DI and then i get the message, sometimes i have it direct after startup.

Thanks for help :sick:
The administrator has disabled public write access.

IO stalled 3 years 4 months ago #10863

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi,

The plc thread is supervised by a CycleSup object name Halt under the PlcThread object, and it has detected a delay larger than the MaxDelay time that by default is 1 s. As the DelayAction is Emergency break it will stop the arduino communication. You can increase max delay or set action to no to avoid this and troubleshoot why you get this delay.

The plc thread is handling the arduino communication (at least by default) and it's probable that that the delay is caused by communication problems with the arduino. If the arduino isn't responding the IO handling will wait the timeout time specified in the ArduinoUno object and this can add upp to the MaxDelay time of the CycleSup.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.443 seconds