thiagoralves/OpenPLC_v2
关于
OpenPLC with the new IEC ST to C compiler
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文OpenPLC v2
This program is intended to emulate a PLC on a Linux machine. This virtual PLC uses the OpenPLC Software Stack to execute IEC 61131-3 programs and reply to MODBUS/TCP requests. Programs can be created using the PLCopen editor and then uploaded to this virtual PLC.
The OpenPLC has different hardware layers to support physical devices. More hardware layers can be added to the project. For instance, there is a hardware layer for the RaspberryPi, which makes the OpenPLC controls its IO pins.
There is a NodeJS application that works as a http server for the user to upload new programs.
You must have NodeJS and WiringPi (in case you are using Raspberry Pi) installed to use this program. Usage:
Install required packages:
sudo apt-get update
sudo apt-get install build-essential pkg-config bison flex autoconf automake libtool make nodejs git./build.sh
sudo nodejs server.js
A server will be created on port 8080. Just open your browser and navigate to localhost:8080. After the application is running, you can connect to the virtual PLC using any MODBUS/TCP HMI software.
探索相关项目
加载中…