Delta ISPSoft — 8.2.4 Applications of Structures

Chapter 8 Data Unit Type that Struct_0 data type input pin and output pin can be consistent. The elements with the same structure can use “.” to assign the member for the structure type symbols, for example POUstruct_var. From the description above, we know that when the structure type symbol POUstruct_Var is used in the FB0, it can define the structure type symbols as the input/output pin for the function block to deliver all the members also delivers all the members from the symbol for struct_var0.pt1 and struct_var0.pt2 to operate. Thus users from the symbol. So that the pin defining time can be saved and the program can be simpler.

FB0_inst POUWord_Var POUstruct_Var struct_var0.pt1 struct_var0.pt2 When the structure is constructed with an array member, the symbols in the structure can be written as the example shown below: the status of M0 can be written in the [1,1,1] of the appointed member pt3 in the symbol Pstruct_var1. Another example is that one structure can be used as a member of another structure. As shown below, 8-7