I have made a small FB in SCL, in this blok i have to transfer to an array in a certan position, but I can't get it to work.
It goes as follows.
I would like to make "Register1.Linie_1[0]" an output on my FB so that I can write the array adress on the output instead of inside my SCL code.
Regards
Brian
It goes as follows.
Code:
IF Step = 3 AND Timer_2_Q THEN
Register1.Linie_1[0] := Afviser_Nr;
ELSIF Step = 3 AND Timer_2_Q = False THEN
Register1.Linie_1[0] := 0;
END_IF;
I would like to make "Register1.Linie_1[0]" an output on my FB so that I can write the array adress on the output instead of inside my SCL code.
Regards
Brian