论文部分内容阅读
主要研究了CAN通讯卡在煤矿胶轮车控制系统中的应用。CAN通讯卡通过IPC与地下基站通讯,主程序首先通过接口库函数访问动态链接库来初始化CAN卡;VCI_Initcan初始化CAN卡,VCI_StartCAN启动CAN卡,然后,线程函数VCI_Receive的循环从基站接收数据;最后通过VCI_Transmit函数向基站发送控制命令来控制和调度胶轮车。实验结果表明,CAN卡被接口库函数成功地调用,在IPC和基站间建立了可靠通讯,为矿井下胶轮车的自动调度奠定了基础。
The main research of the CAN communication card in the rubber tire control system. CAN communication card through the IPC and underground base station communication, the main program first through the interface library functions to access the dynamic link library to initialize the CAN card; VCI_Initcan initialize the CAN card, VCI_StartCAN start CAN card, and then the thread function VCI_Receive loop receives data from the base station; finally The VCI_Transmit function sends control commands to the base station to control and schedule the tire cart. The experimental results show that the CAN card is successfully called by the interface library function, and reliable communication is established between the IPC and the base station, which lays the foundation for the automatic scheduling of the rubber tire truck in the mine.