Skip to main content

1.2 Terms and Abbreviations

1.2.1 Program Unit (PU)

Program Unit (abbreviated as "PU"), including program (PRG), function block (FB) and function (FC)

1.2.2 Program (PRG)

Program (abbreviated "PRG"), PRG in Baosky IDE can only be called by TASK. The internal variables of PRG are also static variables. After the program is executed, the variable value is stored globally

1.2.3 Function block (FB)

Function Block (abbreviated as "FB"), function block needs to be called later by defining a function block instance.Store input/output, internal static variable parameters in structural variables with global variable attributes named after function block instances, so that the values remain valid after the execution of the block. Therefore, function blocks are also called blocks with memory

1.2.4 Function function (FC)

Function (abbreviated as "FC"), FC is a code block without memory. Since there is no data memory that can store the block parameter values. Therefore, when calling a function, all formal parameters must be assigned actual parameters.

1.2.5 User-defined data types (UDT)

User-defined data type (abbreviation as "UDT"), a data type defined by users

1.2.6 Global variable group (GVS)

Global Variable Set (abbreviation as "GVS"), a "GVS" type programming object contains a set of global variable declarations. The valid scope of a global variable is the global