title: Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° ÐÐÐ Ð½Ð° Ð±Ð°Ð·Ðµ OpenPLC Ð¸ RISC-V
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Development of PLC based on OpenPLC and RISC-V
Creators: name: ÐÑÐºÐ¾Ð², ÐÐ°Ð²ÐµÐ»
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2023
Subjects: ÐÐÐ
OpenPLC
RISC-V
C
C++
ASM
Makefile
PLC

description: ÐÐ°Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð¿Ð¾ÑÐ²ÑÑÐµÐ½Ð° Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð² Ð¾Ð±Ð»Ð°ÑÑÐ¸ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ¸ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð¸ÑÑÐµÐ¼ÑÑ Ð»Ð¾Ð³Ð¸ÑÐµÑÐºÐ¸Ñ ÐºÐ¾Ð½ÑÑÐ¾Ð»Ð»ÐµÑÐ¾Ð². ÐÐ°Ð´Ð°ÑÐ¸, ÐºÐ¾ÑÐ¾ÑÑÐµ ÑÐµÑÐ°Ð»Ð¸ÑÑ Ð² ÑÐ¾Ð´Ðµ Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ: Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ðµ Ð°Ð½Ð°Ð»Ð¸ÑÐ¸ÑÐµÑÐºÐ¾Ð³Ð¾ Ð¾Ð±Ð·Ð¾ÑÐ° Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½ÑÑ Ð¸ Ð°Ð¿Ð¿Ð°ÑÐ°ÑÐ½ÑÑ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½ÑÐ¾Ð² Ð² ÑÐ¾ÑÑÐ°Ð²Ðµ ÐÐÐ, ÑÑÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ð¹ Ðº Ð½Ð¸Ð¼; Ð¸Ð·ÑÑÐµÐ½Ð¸Ðµ Ð²Ð½ÑÑÑÐµÐ½Ð½ÐµÐ³Ð¾ ÑÑÑÑÐ¾Ð¹ÑÑÐ²Ð° Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ð³Ð¾ ÐºÐ¾Ð¼Ð¿Ð»ÐµÐºÑÐ° OpenPLC; ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° Ð¿ÑÐ¾ÑÐ¾ÑÐ¸Ð¿Ð° ÐÐÐ Ð¿ÑÑÐµÐ¼ Ð¿Ð¾ÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ð³Ð¾ ÐºÐ¾Ð¼Ð¿Ð»ÐµÐºÑÐ° OpenPLC Ð½Ð° Ð°Ð¿Ð¿Ð°ÑÐ°ÑÐ½ÑÑ Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ñ RISC-V. ÐÐ»Ñ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð·Ð°Ð´Ð°Ñ Ð¿ÑÐµÐ´Ð²Ð°ÑÐ¸ÑÐµÐ»ÑÐ½Ð¾ Ð±ÑÐ»Ð¸ Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ñ Ð²Ð½ÑÑÑÐµÐ½Ð½Ð¸Ðµ Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð² Ð¾Ð±Ð»Ð°ÑÑÐ¸ ÐºÑÐ¾ÑÑ-ÐºÐ¾Ð¼Ð¿Ð¸Ð»ÑÑÐ¸Ð¸ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ð³Ð¾ Ð¾Ð±ÐµÑÐ¿ÐµÑÐµÐ½Ð¸Ñ Ð½Ð° Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ RISC-V. ÐÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½ÑÐ¹ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ ÐÐÐ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½ Ð½Ð° Ð±Ð°Ð·Ðµ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ð³Ð¾ ÐºÐ¾Ð¼Ð¿Ð»ÐµÐºÑÐ° OpenPLC Ñ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸ÐµÐ¼ ÑÐ·ÑÐºÐ¾Ð² ASM/C/C++. Ð¡ÑÐµÐ½Ð°ÑÐ¸Ð¹ ÑÐ±Ð¾ÑÐºÐ¸ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ð³Ð¾ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½ÑÐ° ÐÐÐ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½ Ð½Ð° ÑÐ·ÑÐºÐµ GNU Make. Ð ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐµ ÑÐ°Ð±Ð¾ÑÑ Ð¿Ð¾ÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð½ÑÐ¹ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½ÑÐ¹ ÐºÐ¾Ð¼Ð¿Ð»ÐµÐºÑ OpenPLC Ð±ÑÐ» ÑÑÐ¿ÐµÑÐ½Ð¾ ÑÐ¾Ð±ÑÐ°Ð½ ÑÑÐµÐ½Ð°ÑÐ¸ÐµÐ¼ ÑÐ±Ð¾ÑÐºÐ¸ Ð¸ Ð·Ð°Ð¿ÑÑÐµÐ½ Ð½Ð° Ð°Ð¿Ð¿Ð°ÑÐ°ÑÐ½Ð¾Ð¹ Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ðµ RISC-V. ÐÑÐ¸Ð²ÐµÐ´ÐµÐ½Ð½ÑÐµ Ð² ÑÐ°Ð±Ð¾ÑÐµ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÑ ÑÐµÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð´Ð¾ÐºÐ°Ð·ÑÐ²Ð°ÑÑ Ð¿ÑÐ°Ð²Ð¸Ð»ÑÐ½Ð¾ÑÑÑ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð½Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ.
description: This work is devoted to research in the field of development of programmable logic controllers. Tasks that were solved during the research: conducting an analytical review of software and hardware components in the PLC, requirements for them; studying the internal structure of the OpenPLC software package; developing a prototype of the PLC by porting the OpenPLC software package to the RISC-V hardware platform. To perform the tasks, internal research was previously conducted in the field of cross-compilation of software on the RISC-V architecture. The PLC software component is implemented on the basis of the Open PLC software package using ASM/C/C++ languages. The build script of the PLC software component is implemented in the GNU Make language. As a result, the ported Open PLC software package was successfully assembled by the build script and launched on the RISC-V hardware platform. The test results given in the paper prove the correctness of the porting performed.