LDMicro概述和代码对象关系图

3 篇文章 2 订阅

PLCEditor 和OPEN PLCEditor_weichushun的专栏-CSDN博客

对两种开源编辑器进行分析,一个不能支持LD等图形化编码,一种太复杂,驾驭不住,商业化产品不应该是一个庞然大物。

LDMicro,

https://cq.cx/ladder.pl

 看这说明要亲民很多。

实际界面,与商业化确实有些距离,也没人做汉化。作为自研学习起点应该是可以的。

通过阅读代码,整理主要对象和拓扑关系如下

 

 (1)免安装运行,The download is a .exe file; there are no other files required, so there is no installation program. Save it somewhere on your computer and just run it, and it will work. The manual is included in the .exe file, but you can download it separately if you want.

(2)输出HEX和bootloader,The compiler generates Intel IHEX files. It should generally be possible to use code generated by LDmicro with a bootloader.

(3)生成C语言代码,It is also possible to generate C code from the ladder program. That is less convenient, but you could use it on any processor for which you have a C compiler.

(4)生成解析型代码,LDmicro can generate interpretable byte code. If you are willing to write an interpreter then you can use this to run your ladder code on any kind of target. There is not very much documentation on this, but I provide a sample interpreter in mostly-portable C.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值