论文部分内容阅读
为了实现上位机与PLC的批量数据交换,介绍了一种WinCC与西门子S7-400 PLC控制器进行批量数据交换的方法,对实现数据交换过程中STEP7与WinCC的软硬配置以及如何建立WinCC与PLC的以太网通信连接进行了详细介绍,并自定义了要发送的数据类型与长度,给出了示例程序。为了实现对所发送数据的诊断,在WinCC的运行画面中建立了诊断窗口对话框,实现了对所发送数据的可视化诊断。
In order to achieve the host computer and PLC batch data exchange, introduced a WinCC and Siemens S7-400 PLC batch data exchange method, to achieve the data exchange process STEP7 and WinCC hardware and software configuration and how to establish WinCC and PLC Ethernet communication connections are described in detail, and to customize the data type and length to send, gives the sample program. In order to diagnose the transmitted data, a diagnostics window dialog is created in the WinCC runtime screen, enabling visual diagnosis of the data sent.