最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】移植OpenPLC以支持ST编程语言

PLC crifan 5382浏览 0评论

openplc

The OpenPLC Project

openplc | GETTING STARTED

thiagoralves/OpenPLC_v3: OpenPLC Runtime version 3

https://github.com/thiagoralves/OpenPLC_v3

OpenPLC Project | The 1st Open Source Programmable Logic Controller : FreeWave

https://www.freewave.com/resource-center/openplc-project/

OpenPLC is dedicated to providing a low-cost industrial solution for advanced automation and innovative research.

基于树莓派等开源硬件,加上输入输出控制的子板等,加上openPLC软件,就可以实现PLC功能了。

openplc ST

openplc Structured Text

Example projects (ST and LD) – OpenPLC Forum

Structured Text command list – OpenPLC Forum

Structured Text Tutorial For PLC Programmers

openplc | GETTING STARTED

openplc | OpenPLC Runtime

【整理】PLC支持的语言种类

需求:想要支持ST的编程语言去控制PLC

大体步骤和思路:

先要明白,openplc包含3部分:

  • Runtime运行时:负责运行plc代码

  • 需要安装在你的PLC硬件上

  • 支持众多平台:

  • 嵌入式平台

  • FreeWave Zumlink Radio

  • Raspberry Pi

  • PiXtend

  • UniPi Industrial Platform

  • FreeWave ZumIQ

  • UniPi Neuron PLC

  • 软PLC

    • Windows

    • Linux

  • 附属设备=子板

    • Modbus Slave Devices

    • ESP8266

    • Arduino and compatible boards

    • Sonoff Basic

  • Editor:编辑plc代码

    • 装在自己电脑上,编辑和调试plc代码

  • HMI Builder:界面编辑器

    • =ScadaBR

    • 用于创建出基于web页面的动画效果

    • 更直观化显示出你程序的过程

  • ScadaBR和OpenPLC Runtime通讯机制:Modbus/TCP

  • -》想要移植过来,支持用ST代码去操作PLC时

    需要:

    • 移植Runtime:确保能运行ST代码的PLC

    • 移植Editor:确保能用ST代码去实现PLC功能

    【后记】

    【记录】Mac中试用OpenPLC的编辑器OpenPLC Editor

    转载请注明:在路上 » 【整理】移植OpenPLC以支持ST编程语言

    发表我的评论
    取消评论

    表情

    Hi,您需要填写昵称和邮箱!

    • 昵称 (必填)
    • 邮箱 (必填)
    • 网址
    89 queries in 0.170 seconds, using 22.10MB memory