摘要
针对舞台的位置监测实时性和升降定位的精确性问题,对上位机和PLC实时通信方式、FINS命令协议、变频器通信指令等方面进行了研究,设计并实现了一种以RS485串行通信和以太网通信为基础的舞台控制系统。以VC++6.0作为软件开发平台,运用Winsock控件技术,通过读取PLC采集的编码器脉冲数据来获得舞台的位置,通过串口通信模块发送指令到变频器来控制舞台升降台独立或联动升降运行,并提出了一种通过改写PLC内存数据来实现升降逻辑控制的方法。在实际调试阶段,提出了一种修正停车位置设定值的方法以提高升降舞台定位精度。实际运行结果表明,该系统满足设计要求,并且可靠性高、灵活性好、经济成本较低。
Aiming at realizing the monitoring of the stage position in real time and lifting with high accuracy,the communication between host-computer and PLC,the FINS protocol and the communication instructions of variable-frequency drive were introduced,and the stage control system based on RS485 serial communication and Ethernet was designed and implemented. Based on VC + + 6.0 software development platform and the Winsock Active X,the position of the stage can be obtained by reading the PLC' s acquisition data of encoder pulse. The stage could be controlled to move independently or jointly by sending commands to the variable-frequency drive machines with the serial communication module. And a method of lifting control through writing the memory of PLC was presented. During the commissioning,a method of amending the stopping distance was presented to ensure the accuracy of stop position. The application results indicate that the system is stable,flexible and low cost,and can meet the design requirements.
出处
《机电工程》
CAS
2015年第3期384-388,共5页
Journal of Mechanical & Electrical Engineering