FUNCTION FC007: VOID
VAR_INPUT
START :BOOL;
STOP :BOOL;
END_VAR
VAR_OUTPUT
GESTART: BOOL;
END_VAR
BEGIN
IF START = true THEN
GESTART := true
ELSE
GESTART := false
END_IF;
END_FUNCTION
I wrote this
A lot of mistakes,
this is my first testprogram, what can I do to let it work ?
VAR_INPUT
START :BOOL;
STOP :BOOL;
END_VAR
VAR_OUTPUT
GESTART: BOOL;
END_VAR
BEGIN
IF START = true THEN
GESTART := true
ELSE
GESTART := false
END_IF;
END_FUNCTION
I wrote this
A lot of mistakes,
this is my first testprogram, what can I do to let it work ?