核聚变装置EAST 极向场电源控制系统由三层网络组成:WINDOWS 监测层、QNX实时控制层、现场总线执行层。其中现场总线层负责采集大量现场设备的状态并将其传递给实时控制层和监测层。本文描述了以太网现场总线控制器与QNX 和WINDOWS 不同操作系统之间的一种跨平台网络通信。实践表明基于MODBUS TCP/IP 协议,利用Socket API建立的套接字使现场总线同时与两种操作系统之间进行通信是完全可行的,而且是高效的。关键词: 极向场,以太网,现场总线, 网络通信Network Communication between differ Flats Of Ethernet Fieldbus Lanluguang Fupeng Yangyalong Wuyong (Institute of Plasma Physics Chinese Academy of Science,Hefei,230031) Abstract: The poloidal field power supply control system of the nuclear fusion device—EAST is constituted of three layer networks: WINDOWS monitor layer,QNX realtime control layer,Fieldbus layer.The Fieldbus layer is responsible for collecting a great deal ofequipments'status and delivering them to the control layer and the monitor layer. This paperdescribes network communication between QNX ,Windows operate system. and Fieldbus. The practice shows that the communication on network between the two operate systems and Fieldbus is entirely feasible and high efficiency, with the socket built on socket API based on MODBUS TCP/IP.Keywords: POLOIDAL FIELD, ETHERNET, FIELDBUS, NETWORK COMMUNICATION
猜您喜欢
评论