Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Main category
Main forum
Open PLC and Industrial Automation card
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dstorey" data-source="post: 53" data-attributes="member: 23"><p>Hi there Alex,</p><p>I have got OpenPLC and the Sequent Industrial Hat running, but I have found a problem. I have run one of the example programs which implements two timers that act in unison to toggle a LED on and off. This runs fine if I run it on a Pi without the Sequent Industrial card with a LED on physical pin 16 - it flashes the light on for 500mS, then off for 500mS forever, with no variance in timing. When I run it on the same model of Pi (Pi 3) with the Sequent card, I find that the timing is erratic, with every 20 or so seconds, the LED missing a flash. I'm using the same SD card on both Pis (one with the hat, one without) so I am reasonably confident the problem is not in OpenPLC itself. I've tested this with the regular kernel that comes with Raspian and with one I built with the real-time extensions. No differences. Both were Kernel 6.1. I've extended the period up to 2 seconds on and 2 seconds off - no difference. It's not a speed thing. </p><p></p><p>Happy to help in debugging this if you can suggest some steps. </p><p></p><p>Kr Dom</p><p>[ATTACH=full]1[/ATTACH][ATTACH=full]2[/ATTACH]</p></blockquote><p></p>
[QUOTE="dstorey, post: 53, member: 23"] Hi there Alex, I have got OpenPLC and the Sequent Industrial Hat running, but I have found a problem. I have run one of the example programs which implements two timers that act in unison to toggle a LED on and off. This runs fine if I run it on a Pi without the Sequent Industrial card with a LED on physical pin 16 - it flashes the light on for 500mS, then off for 500mS forever, with no variance in timing. When I run it on the same model of Pi (Pi 3) with the Sequent card, I find that the timing is erratic, with every 20 or so seconds, the LED missing a flash. I'm using the same SD card on both Pis (one with the hat, one without) so I am reasonably confident the problem is not in OpenPLC itself. I've tested this with the regular kernel that comes with Raspian and with one I built with the real-time extensions. No differences. Both were Kernel 6.1. I've extended the period up to 2 seconds on and 2 seconds off - no difference. It's not a speed thing. Happy to help in debugging this if you can suggest some steps. Kr Dom [ATTACH type="full"]1[/ATTACH][ATTACH type="full"]2[/ATTACH] [/QUOTE]
Verification
Post reply
Home
Forums
Main category
Main forum
Open PLC and Industrial Automation card
Top