1 2 3 4 5 6 7 8 9 10 11 12 | OwnerPayload : FB_Payload; //He manages the assigning of Pool Objects {info 'TODO: i-campbell: Need to write code to handle any array indexes. For now ONLY pass ARRAYS of starting index = 0'} //myPropertySetValuesPool : ARRAY [*] OF FB_PayloadPropertyValue; //myPorpertySetsPool : ARRAY [*] OF FB_PayloadPropertySet; //myBodyPool : ARRAY [*] OF BYTE; // for example Payload.Metric[].Body VAR_OUTPUT xDecodeDone,xDecodeBusy,xDecodeError : BOOL; eDecodeError : ERROR; xEncodeDone,xEncodeBusy,xEncodeError : BOOL; eEncodeError : ERROR; VAR _type : DataSetDataType; |