官網地址
簡介
支持Windows、Linux、MAC
符合IEC 61131-3標準要求(可編程序控制器第3 部分:編程語言),國標爲GB/T 15969.3。
三個組成部分:
- 編輯器:用於創建 PLC 程序(全功能IDE)
- 運行時:負責執行 PLC 程序,多平臺支持(Windows、Linux、MAC、樹莓派等,免安裝的)
- HMI 構建器: ScadaBR,可以創建漂亮的基於 Web 的動畫,以呈現運行後的流程狀態(運行時的監控)
HMI與運行時的通行協議:Modbus/TCP
編輯器
使用Python實現,理論上可以運行在多數操作系統(安裝Python運行環境),Windows成熟、MAC處於測試階段、Linux僅支持Debian系列的發行版。
安裝步驟(Python2)
下載源碼:
git clone https://github.com/thiagoralves/OpenPLC_Editor
安裝依賴
– GCC and G++ (or any other C / C++ compiler)
– Bison
– Flex
– Autoconf
– Automake
– Make
– Python 2.7 (including pip)
– wxPython 3.0
安裝Python庫
pip2 install future zeroconf==0.19.1 numpy==1.16.5 matplotlib==2.0.2 lxml pyro sslpsk pyserial
編譯
cd matiec
autoreconf -i
./configure
make -s
cp ./iec2c ../editor/arduino/bin/ #keeps a copy of the iec2c compiler inside the arduino folder
運行測試
python2.7 ./editor/Beremiz.py
Python3
git clone –branch dev-python3 https://github.com/thiagoralves/OpenPLC_Editor