为了提高上位机对下位机实时监测和控制的效率,通过基于Modbus通信协议的PLC与CAN总线实现通讯.根据监测界面对信号采集模块采集到信息的更新速率和上位机对输出端口模块的控制效果,现场总线CAN bus和PLC通信的及时稳定和抗干扰能力能够得到充分体现,系统运行状况良好,验证了PLC和CAN总线通讯的及时、稳定和高效.
In order to improve the real‐time monitoring and control of the upper computer ,the commu‐nication is realized by PLC and CAN bus based on Modbus communication protocol .According to the moni‐toring interface of signal acquisition module ,the update rate of the information and the control effect of the upper computer to the output port module are realized .The communication protocol of Modbus and PLC is implemented in time ,which is based on CAN communication protocol .According to the experimental re‐sults ,the PLC and CAN bus communication are verified in time ,stability and efficiency .