CODESYS/en: различия между версиями

Нет описания правки
(Новая страница: «== 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. # 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....»)
 
(не показано 8 промежуточных версий этого же участника)
Строка 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 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.
To use CODESYS with a Wiren Board controller, you need to buy the [https://store.codesys.com/en/codesys-control-for-linux-arm-sl-bundle.html CODESYS Control for Linux ARM SL] license. There is a demo version with a time limit.


== Installation ==
== Installation ==
First, install the development environment and the necessary packages:
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'''.
Строка 13: Строка 13:
# Press the button '''Install Selected''', in the window that opens, confirm the action - '''OK'''.
# Press the button '''Install Selected''', in the window that opens, confirm the action - '''OK'''.


<div lang="ru" dir="ltr" class="mw-content-ltr">
<gallery mode="packed" heights="100px" caption="Installing packages to work with the Wiren Board controller">
<gallery mode="packed" heights="100px" caption="Установка пакетов для работы с контроллером Wiren Board">
Image: CODESYS Install 1.png | Starting the installation of packages
Image: CODESYS Install 1.png | Запуск установки пакетов
Image: CODESYS Install 2.png | Package selection
Image: CODESYS Install 2.png | Выбор пакета
Image: CODESYS Install 3.png | Installation Confirmation
Image: CODESYS Install 3.png | Подтверждение установки
</gallery>
</gallery>
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
Now let's install the executive system on the Wiren Board controller:
Теперь установим исполнительную систему на контроллер Wiren Board:
# Go to menu '''Tools''' → '''Update Linux ARM'''.
# Перейдите в меню '''Tools''' → '''Update Linux ARM'''.
# In the Linux ARM panel that opens, enter:
# В открывшейся панели Linux ARM введите:  
#* Username - root,
#* Username root,  
#* Password - ssh password,
#* Password ssh пароль,  
#* IP Address - IP address of the controller.
#* IP Address IP-адрес контроллера.
# Click the '''Install''' button.
# Нажмите кнопку '''Install'''.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
The development environment is set up, the executive system is installed on the controller, you can proceed to development.
Среда разработки настроена, исполнительная система установлена на контролер, можно переходить к разработке.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<gallery mode="packed" heights="130px" caption="Install the runtime on the Wiren Board controller">
<gallery mode="packed" heights="130px" caption="Установка исполнительной среды на контроллер Wiren Board">
Image: CODESYS Update Linux ARM 1.png | Starting the installation
Image: CODESYS Update Linux ARM 1.png | Запуск установки
Image: CODESYS Update Linux ARM 2.png | Connection options
Image: CODESYS Update Linux ARM 2.png | Параметры подключения
</gallery>
</gallery>
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
== Creating a project ==
== Создание проекта ==
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
Create a project:
Создайте проект:
# Select '''File''' → '''New Project''' from the menu.
# Выберите в меню '''File''' → '''New Project'''.
# In the project settings, specify:
# В настройках проекта укажите:
#* Device - CODESYS Control for Linux ARM SL.
#* Device CODESYS Control for Linux ARM SL.
#* PLC_PRG in is the preferred development language.
#* PLC_PRG in — предпочитаемый язык разработки.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
You can communicate with devices connected to the controller using the [[MQTT]] protocol via the built-in [[Modbus_RTU/TCP_Slave | gateway Modbus RTU/TCP]] or directly via [[Modbus | Modbus RTU]].
С устройствами, подключёнными к контроллеру вы можете общаться по протоколу [[MQTT]], через встроенный [[Modbus_RTU/TCP_Slave | шлюз Modbus RTU/TCP]] или напрямую по протоколу [[Modbus | Modbus RTU]].
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<gallery mode="packed" heights="130px" caption="Creating a project">
<gallery mode="packed" heights="130px" caption="Создание проекта">
Image: CODESYS Project Settings.png | Create a project
Image: CODESYS Project Settings.png | Создание проекта
Image: CODESYS Update Linux ARM 3.png | Checking work
Image: CODESYS Update Linux ARM 3.png | Проверка работы
</gallery>
</gallery>
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
== Useful links ==
== Полезные ссылки ==
* [https://www.codesys.com/ CODESYS website]
* [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>