CAN bus was used as the data transferring channels in the two–level controllers, and the real-time,dexterity,expansibility and security for the Gluing control system based on CAN bus can be improved obviously.The system structure, principle and software design were introduced.The experiment shows that it is a reliable control system and it can meet the requirements of automatic gluing tasks.