摘要
详细介绍了一种基于STC12C5410AD单片机和上位机软件的PLC自检测和外围设备测试系统的硬件电路实现办法,以及单片机软件和上位机软件的实现方法,模拟设计出了PLC现场调试过程中所需要的模拟/数字输入,并且该测试系统的端口可以接受来自PLC的模拟/数字输出。该系统可以模拟工业现场环境,对PLC系统进行调试,另外也可对PLC的教学和培训提供较大便利。
This paper describes a hardware circuit implemental method for testing peripheral equipment and PLC input-output interfaces with the host computer and the STC12C5410AD MCU.Furthermore,it introduced the program design of MCU and that of the host computer.And it proposed analog/digital input needed for the local PLC adjustment through simulation.At the same time,the designed testing system can receive the digital and analog signals from the PLC system.The testing system can simulate industry environment,be used to adjust the PLC system,and be convenient for PLC teaching and training.
出处
《中国测试》
CAS
2011年第3期53-56,共4页
China Measurement & Test
基金
四川省教育厅青年基金项目(2008ZB014)
关键词
测试测量技术
PLC接口测试系统
功能分析
接口电路
RTU模式
test and measurement technology
PLC input-output interface
functional analysis
interface circuit
RTU mode