CODESYS/en: различия между версиями
(Новая страница: «<gallery mode="packed" heights="100px" caption="Installing packages to work with the Wiren Board controller"> Image: CODESYS Install 1.png | Starting the installation of packages Image: CODESYS Install 2.png | Package selection Image: CODESYS Install 3.png | Installation Confirmation </gallery>») |
|||
(не показано 6 промежуточных версий этого же участника) | |||
Строка 4: | Строка 4: | ||
[https://www.codesys.com/ CODESYS] is an industrial automation software toolkit that allows you to write programs in [[IEC 61131-3| IEC(IEC) 61131-3]]: FBD, ST, LD, SFC. | [https://www.codesys.com/ CODESYS] is an industrial automation software toolkit that allows you to write programs in [[IEC 61131-3| IEC(IEC) 61131-3]]: FBD, ST, LD, SFC. | ||
To use CODESYS with a Wiren Board controller, you need to buy | To use CODESYS with a Wiren Board controller, you need to buy a bundle license [https://store.codesys.com/en/codesys-control-for-linux-arm-sl-bundle.html CODESYS Control for Linux ARM SL]. There is a demo version with a time limit. | ||
== Installation == | == Installation == | ||
First, install the development environment and the necessary packages: | |||
# Download [https://store.codesys.com/de/codesys.html CODESYS Development System V3], install and run. | # Download [https://store.codesys.com/de/codesys.html CODESYS Development System V3], install and run. | ||
# Go to menu '''Tools''' → '''CODESYS Installer'''. | # Go to menu '''Tools''' → '''CODESYS Installer'''. | ||
Строка 36: | Строка 36: | ||
== Creating a project == | == Creating a project == | ||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | |||
# | Создайте проект: | ||
# | # Выберите в меню '''File''' → '''New Project'''. | ||
#* Device | # В настройках проекта укажите: | ||
#* PLC_PRG in | #* Device — CODESYS Control for Linux ARM SL. | ||
#* PLC_PRG in — предпочитаемый язык разработки. | |||
</div> | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | |||
С устройствами, подключёнными к контроллеру вы можете общаться по протоколу [[MQTT]], через встроенный [[Modbus_RTU/TCP_Slave | шлюз Modbus RTU/TCP]] или напрямую по протоколу [[Modbus | Modbus RTU]]. | |||
</div> | |||
<gallery mode="packed" heights="130px" caption=" | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
Image: CODESYS Project Settings.png | | <gallery mode="packed" heights="130px" caption="Создание проекта"> | ||
Image: CODESYS Update Linux ARM 3.png | | Image: CODESYS Project Settings.png | Создание проекта | ||
Image: CODESYS Update Linux ARM 3.png | Проверка работы | |||
</gallery> | </gallery> | ||
</div> | |||
== | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
* [https://www.codesys.com/ CODESYS | == Полезные ссылки == | ||
* [https://www.codesys.com/ Сайт CODESYS] | |||
* [https://support.wirenboard.com/t/mek-61131-3-st-codesys-co/397/25 Тема на портале поддержки МЭК 61131-3, ST, CoDeSys & Co] | |||
</div> | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
{{Wbincludes:Device Page Footer}} | {{Wbincludes:Device Page Footer}} | ||
</div> | </div> |
Версия 19:23, 20 сентября 2022
Review
CODESYS is an industrial automation software toolkit that allows you to write programs in IEC(IEC) 61131-3: FBD, ST, LD, SFC.
To use CODESYS with a Wiren Board controller, you need to buy a bundle license CODESYS Control for Linux ARM SL. There is a demo version with a time limit.
Installation
First, install the development environment and the necessary packages:
- Download CODESYS Development System V3, install and run.
- Go to menu Tools → CODESYS Installer.
- Search for ARM and mark the package CODESYS Control for Linux ARM SL for installation. Dependencies will be automatically selected: CODESYS Edge Gateway for Linux, CODESYS Control SL Extension Package.
- Press the button Install Selected, in the window that opens, confirm the action - OK.
- Installing packages to work with the Wiren Board controller
Now let's install the executive system on the Wiren Board controller:
- Go to menu Tools → Update Linux ARM.
- In the Linux ARM panel that opens, enter:
- Username - root,
- Password - ssh password,
- IP Address - IP address of the controller.
- Click the Install button.
The development environment is set up, the executive system is installed on the controller, you can proceed to development.
- Install the runtime on the Wiren Board controller
Creating a project
Создайте проект:
- Выберите в меню File → New Project.
- В настройках проекта укажите:
- Device — CODESYS Control for Linux ARM SL.
- PLC_PRG in — предпочитаемый язык разработки.
С устройствами, подключёнными к контроллеру вы можете общаться по протоколу MQTT, через встроенный шлюз Modbus RTU/TCP или напрямую по протоколу Modbus RTU.