This is an example of using a queue with built-in instructions and a queue with a doubly linked list in OMRON's Sysmac Studio. There are three examples of using queues: two using built-in commands and one using a doubly linked list. These show how to use queues, but also how POUs, and especially Functions, are an abstraction mechanism in ST systems where interfaces are not supported. For details, please check "Sysmac Studioでの組み込み命令によるキューと双方向リストによるキュー".
The following environment is required to use this project
Sysmac Studio | I always recommend the latest version. |
This project was built in the following environment.
Sysmac Studio | Ver.1.62 |
The Sysmac project can be run as is since the library is bundled.
The libraries used are in lib/
.
Build the project.
Run in simulator to check the behavior. The values obtained as queues are the same for both programs.