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

TOPIC: Arduino IO Stalled, cyclesup delay detected

Arduino IO Stalled, cyclesup delay detected 5 months 1 week ago #11092

  • galeman
  • galeman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Hi,

I followed the arduino tutorial posted on the documentation page at Marc's videos section. everything went smoothly until I started testing it with the runtime.

When i start the runtime. the comm leds blink briefly (2-3 seconds), and during this time, the basic plc code works. after that the communication stops and then i get the message IO Stalled, cyclesup delay detected.

I've tried with 19200 and 9600 baud rate, but the results are the same.

do you have any ideas that could help me to solve this issue?
Attachments:
The administrator has disabled public write access.

Arduino IO Stalled, cyclesup delay detected 5 months 1 week ago #11093

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 727
  • Karma: 0
Hi Galeman,

You can try to set in the Node, Plc -> Halt the delay action to "no" and increase the 'MaxDelay' to for example 5 sec. And be sure your stty settings are ok......


Good luck,

/Marc
The administrator has disabled public write access.

Arduino IO Stalled, cyclesup delay detected 5 months 1 week ago #11094

  • galeman
  • galeman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
thnx Marc, I´ll try it this evening.
The administrator has disabled public write access.

Arduino IO Stalled, cyclesup delay detected 5 months 1 week ago #11095

  • galeman
  • galeman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Marc,

I tried your suggestion. the result is the following:

- the communication lasts longer,around 10-20 seconds, and it stops briefly for 2-3 seconds, and it comes back.
- after a while (5-6 minutes), i get the message IO Stalled, io read error, and the communication stops completely.

i appreciate any help.
Attachments:
The administrator has disabled public write access.

Arduino IO Stalled, cyclesup delay detected 5 months 1 week ago #11096

  • galeman
  • galeman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
i just noticed you mentioned the stty settings. could you tell me what or where i can check those settings?
The administrator has disabled public write access.

Arduino IO Stalled, cyclesup delay detected 5 months 1 week ago #11097

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 727
  • Karma: 0
A stalling Arduino can be because of the stty settings.
Normally the next line works in /etc/rc.local after a reboot:

stty -F /dev/ttyACM0 10:0:8be:0:3:1c:7f:15:1:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

/Marc
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 3.826 seconds