Function Blocks

In this project, all function blocks are mainly divided into 3 parts. The function block FB_Connect, which belongs to the communication module, is used for creating TCP connection; 7 function blocks, which belong to the encode module, are used to encode QRC frame. Furthermore, a helper function block FB_QRC_ResExtract, which belongs to decode module, is used for extract QRC response frame.