摘要
在全自动试验机控制系统中,利用.NET环境下的C#开发语言,通过自带的SerialPort类实现了上位机与台达PLC的串行通信,该方法可以提高串行通信程序设计的灵活性和串口传输数据的可靠性。实际运行结果表明,系统传送数据准确,程序运行稳定。
We implement serial communications between PC and DVP Series PLC in the control system of a completely automatic tester with the internal SerialPort class of C# and . NET based C#. This can increase the flexibility of serial communicatioris program design and the reliability of data transmission through serial ports. Application results show that the transmitted data is accurate and reliable and the program runs stably.
出处
《山东科学》
CAS
2011年第1期102-105,共4页
Shandong Science
关键词
.NET
全自动试验机
PLC
通信协议
. NET
completely automatic tester
PLC
communications protocol