PLCEditor 和OPEN PLCEditor_weichushun的专栏-优快云博客
对两种开源编辑器进行分析,一个不能支持LD等图形化编码,一种太复杂,驾驭不住,商业化产品不应该是一个庞然大物。
LDMicro,
看这说明要亲民很多。
实际界面,与商业化确实有些距离,也没人做汉化。作为自研学习起点应该是可以的。
通过阅读代码,整理主要对象和拓扑关系如下
(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.