|assign input and output array in ECC Algorithm [message #1802599]
||Tue, 12 February 2019 14:44
| Stefanus Yudi
Registered: November 2018
Good Afternoon All|
I try to make my own function block using basic.fbt, i do it well for basic data type such as int, real, and basic operator. But, when i try to use array of some data type, i have a problem on assigning it at the algoritm in ECC.
I can solve it by assigning one by one value array like this
ArOut := 1;
ArOut := 2;
ArOut := 3;
ArOut := 4;
ArOut := 5;
But is there any way to assign it more simple, cause when i try this syntax
ArOut := [1,2,3,4,5];
it's always pop up some error in algoritm box.
I also attach my FB Interface and Algoritm Error picture here.
Stefanus Yudi Irwan
(Size: 5.81KB, Downloaded 62 times)
Attachment: Error in ST.PNG
(Size: 18.56KB, Downloaded 58 times)
Powered by FUDForum
. Page generated in 0.02128 seconds