摘要
以SIEMENS公司S7-200 PLC指令集为背景,详细研究PLC运行原理,给出PLC编程语言的解释方法,在STM32系统上用C语言实现对PLC指令的解释和执行。将经过编码后的PLC程序固化在STM32的内部RAM中,再运用STM32处理器处理其逻辑关系,实现PLC的基本功能。
This dissertation, firstly interpretive method in detail based on the implementation of instruction set of SIEMENS S7-200 series, and then carries out the interpretation and execution ofPLC STM32 system with C Language.After the PLC program encoded solidified in the STM32 internal RAM, then use the STM32 processor handles its logical relations and realize the basic functions of the PLC.
出处
《中国科技信息》
2014年第10期109-111,共3页
China Science and Technology Information