ISPSoft User Manual 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 shorter 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-12 Model Type DVPxxMC/AS5xx Data Type FB Var(Function Block) _ B OO BYTE WOR DWORD LWOR D U SIN UINT U DIN ULIN SINT INT DINT LINT REAL LREAL L D T T T (Caller) P_VAR BOOL BYTE WORD DWOR D L WOR D USINT UINT UDINT ULINT SINT INT DINT LINT REAL LREAL Model Types DVPxxMC/ AS5xx Data Type Data Type FB Var (Function Block) _ TIME DATE TOD DT STRING P VAR _ (Caller) TIME DATE TOD DT STRING