We found a match
Your institution may have access to this item. Find your institution then sign in to continue.
- Title
Dual-Core PLC for Cooperating Projects with Software Implementation.
- Authors
Hubacz, Marcin; Trybus, Bartosz
- Abstract
Development of a general-purpose PLC based on a typical dual-core processor as a hardware platform is presented. The cores run two cooperating projects involving data exchange through shared memory. Such a solution is equivalent to a single-core PLC running two tasks by means of a real-time operating system. Upgrading to a typical programming tool involves defining which of the global variables are shared, and whether a variable in a particular core is read-from or written-to the shared memory. Extensions to core runtimes consist of read-from at the beginning of the scan cycle and write-to at the end, and of an algorithm for protecting the shared memory against access conflicts. As an example, the proposed solution is implemented in an engineering tool with runtime based on a virtual machine concept. The PLC prototype is based on a heterogeneous ARM dual-core STM32 microcontroller running different projects. The innovation in the research lies in showing how to run two projects in a dual-core PLC without using an operating system. Extension to multiple projects for a multi-core processor is can be accomplished in a similar manner.
- Subjects
ENGINEERING equipment; VIRTUAL machine systems; COMPUTER software
- Publication
Electronics (2079-9292), 2023, Vol 12, Issue 23, p4730
- ISSN
2079-9292
- Publication type
Article
- DOI
10.3390/electronics12234730