Hello,
I am new to SCL programming in TIA Portal.
I have some experience in TwinCat3, but i have difficulties getting som simpelt code to work in TIA.
This code works fine in TwinCat, but i does not work in TIA.
"Timer".TOF(IN:=NOT "Timer".Q, PT:=T#2s);
"TimerOneShot"(CLK := "Timer".Q);
IF "TimerOneShot".Q THEN
"Test" := "Test" + 1;
END_IF;
Can anyone help me in the right track.... ??