osogood2323
Member
Hello,
Is it possible to copy an array of 100 bytes into a structure that is the equal? Could go through and pick all the points. New to structured text for about a month. Reading and writing to a gateway 100 in and out. An example
TYPE DataSTRUCT :
STRUCT
DINT : ARRAY[0..3] OF DINT;
INT : ARRAY[0..3] OF INT;
BOOL : ARRAY[0..15] OF BOOL;
END_STRUCT
END_TYPE
Input address array:
%IB0 array [0..15] of SINT
Thank you
Is it possible to copy an array of 100 bytes into a structure that is the equal? Could go through and pick all the points. New to structured text for about a month. Reading and writing to a gateway 100 in and out. An example
TYPE DataSTRUCT :
STRUCT
DINT : ARRAY[0..3] OF DINT;
INT : ARRAY[0..3] OF INT;
BOOL : ARRAY[0..15] OF BOOL;
END_STRUCT
END_TYPE
Input address array:
%IB0 array [0..15] of SINT
Thank you
Last edited: