Delta ISPSoft — 7.2.3 Input/ Output Pins of a Function Block

Chapter 7 Function Block and Library Example below: Generally, the data type of P_Var (in the caller) and the data type of FB_Var (in the function block) is the same. But for some situations, the ISPSoft allows the length of the data type of P_Var (in the caller) to be longer or equal to the length of FB_Var (in the function block). If the data type of FB_Var (in the function block) is ARRAY, then the data type of P_Var (in the caller) has to be ARRAY and the content as well as length has to be the same as FB_Var (in the function block).

7-13 Model Type DVPxxMC/AS5xx Data Type FB Var(Function Block) _ BOOL BYTE WORD DWORD LWORD USINT UINT UDINT ULINT SINT INT DINT LINT REAL LREAL (Caller) P_VAR BOOL  BYTE               WORD            D WORD         L WORD      USINT               UINT            UDINT         ULINT      SINT               INT            DINT         LINT      REAL   LREAL   Model Type DVPxxMC Data Type FB Var (Function Block) _ TIME DATE TOD DT STRING P VAR _ (Caller) TIME  P VAR _ DATE  TOD  Caller) DT  STRING 