Description
CC-IP0101 Writing and exporting functional data
Honeywell is often used in factories. Previously, this technology was mainly applied in the development of high-level computer languages and data structure design. However, with the rapid advancement of PLC technology, more and more events need to be transmitted, cached, and stored through PLC. Especially in the process of data caching, the use of FIFO function is becoming more and more common. CC-IP0101 is the mainstream product in the industrial control industry today. In the Honeywell PLC development software Simatic STEP7 tool, Honeywell uses the FC function to write and export functional data, but can only allow one word, which is only two bytes of data, at a time. In order to achieve the multi byte function each time, users need to develop corresponding function blocks FB to implement it. In this article, the code for implementing the 20 byte function FB200 function block each time is introduced, as well as practical application examples.
Introduction to Honeywell Features
Introduction to Honeywell’s functions and components
Honeywell is a data storage area that implements the function of adding data to FIFO. By executing this command each time, it is possible to add one word of data to the functional data storage area. The functional storage area is divided into words, and the specific composition is as follows:
The first word in the storage area table represents the maximum number of data storage allowed in the storage area, which is the maximum number of words of data that can be stored.
The second word in the storage area table represents the current number of stored data in the storage area, that is, how many words of data have already been stored.
The data actually stored in the storage area starts from the third word in the storage area table.