BachPhi
Member
Structured Text does not have FLL instruction, but one can create the equivalent.
I am thinking of create an AOI for it. But not sure how to handle different input types.
For example, the source can take SINT, INT , DINT, REAL
and destination SINT, INT, DINT, REAL, Structure
Any ideas? Thanks.
Code:
SIZE(destination,0,length);
FOR position := 0 TO length-1 DO
destination[position] := source;
END_FOR;
I am thinking of create an AOI for it. But not sure how to handle different input types.
For example, the source can take SINT, INT , DINT, REAL
and destination SINT, INT, DINT, REAL, Structure
Any ideas? Thanks.
Last edited: