In industrial control systems set up by PLC taken as a hardware platform, the PROFIBUS-DP is usually used in communication between the upper level PC and the lower level PLC. Although the industrial configuration software is easy to use, sometimes it is lack of flexibility and specialty in medium and large-scale industrial control systems. In order to obtain a building method of more flexible communication platform, a direct programming way is used for PROFIBUS network card. This method improves the real-time performance of the communication between systems by one order of magnitude, and significantly reduces the development cost of systems.%在以PLC为硬件平台搭建的工控系统中常使用PROFIBUS-DP作为上位机、下位机间通信的手段.使用工业组态软件虽配置方便,但有时难以满足大中型工控系统构建中的特异性与灵活性需求.为了获得更加灵活的通信平台搭建方案,在此采用了对PROFIBUS网卡直接编程的方法.该方法将系统间通信的实时性提高了一个数量级,另外还大幅降低了系统开发的成本.
展开▼