基于AVR单片机的PLC实现
首发时间:2011-01-06
摘要:PLC在自动化控制领域有着非常重要的地位。为了加强学习和研究PLC,本文设计一个基于AVR单片机的小型PLC,具有多路输入输出模块及CAN总线接口,软件采用VC++语言编写梯形图,并且还可实现梯形图转换成指令表;设计了PLC解释指令函数,完成了指令表转化为单片机C语言,再进行编译下载到单片机中运行。本设计具备小型通用PLC的基本功能,用户只需编写梯形图指令就可以实现相应的控制。
For information in English, please click here
Implement PLC base of AVR
Abstract:PLC has a very important position in automation control area. In order to get a better study and research of PLC, this paper designs a small PLC which is based on AVR MCU, with multiple input and output module and CAN bus interfaces. The software uses vc + + language to program the ladder diagram. In addition, it can convert ladder-diagram into instruction form. This small PLC designs PLC interprets the instruction function, transforms the instructions table to the microcontroller C language, and then compiles downloaded to the microcontroller. This design has basic functions of the small general PLC, and the user can realize the corresponding control by simply programming the ladder-diagram instructions.
Keywords: AVR PLC LadderDiagram
基金:
论文图表:
引用
No.4402453560387129****
同行评议
共计0人参与
勘误表
基于AVR单片机的PLC实现
评论
全部评论0/1000