AH500 Quick Start After the function block interface appears, type the identifiers as shown below. Users need to create a data block for the function block. The data block can be created as a global symbol or a local symbol, but it is created as a local symbol in the main program here. Notice that users need to select Function Block in the Type Class box, and select “FB_SPP_Sys” in the Type box. Please type “SPP01_DB” in the Identifier box, and type “SPP01 Data Block” in the Comment… box, as show below. After the local symbol is created, the identifier can be given to the function block.
(The data type should be the same with the name of the function block.) After the file is saved, the writing of the program is complete. Users can click to compile the project. The compiling of the project is different from the checking of the syntax in that the former involves to check the syntax of the current program, and click 2-30