

The data received by the filling system is placed in a custom array to receive 14 data, and RI is set to 0 after each data is received, the serial port is interrupted, and then continue to wait for the serial port is interrupted until the 14 data is received. In the computer database on the one hand through the computer serial port and the following computer (MCU) between the data exchange and communication, on the other hand to carry out the relevant operations of the database itself.

Automatic Filling machine is an intelligent Filling system designed for liquid packaging. The machine has reasonable structure, reliable performance, accurate quantization, automatic adjustment of filling head, single person can complete the production, equipped with electrostatic release device, especially suitable for use in explosion-proof requirements and humid environment, with high safety. Equipped with VOC suction hood to ensure safe and clean production environment. Equipped with nitrogen filling function, you can fill nitrogen before or after filling according to the choice. It has the characteristics of easy operation, high production efficiency and wide application range. It is suitable for packaging of raw materials and auxiliaries of coatings, auxiliaries, and intermediate chemical products.
The filling system is connected to the RS232 serial port of the Weighing system to read the weighing data. When the single chip microcomputer sends the information of reading the weighing data to the weighing system through the serial port, the filling system will send the data to the serial port of the single chip microcomputer through the RS232 serial port after receiving such information, and the serial port interrupts the subroutine to complete the following operations. When the protocol for reading data is sent, the MCU waits for receiving data, when RI appears high level, it executes the corresponding interrupt service program and serial port interrupt, do not allow the interrupt nesting, and then put the received data in a custom array to receive 14 data, RI is set to 0 after receiving a data to open the serial port interrupt. Then continue to wait for the serial port to interrupt until the 14 data received. On the one hand, the database in the machine must exchange and communicate data between the computer serial port and the lower machine (MCU), on the other hand, it must carry out relevant operations of the database itself. According to the needs, the bucket ID database, the staff database and the weight database are formulated. The bucket ID database stores the ID number of the bucket and the bucket regulations, etc., and the staff database stores the employee number and password of the staff. The weight database stores the car number of the filling station and the weight of each filling.