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 communications 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.%在全自动试验机控制系统中,利用.NET环境下的C与台达PLC的串行通信,该方法可以提高串行通信程序设计的灵活性和串口传输数据的可靠性.实际运行结果表明,系统传送数据准确,程序运行稳定.
展开▼