[email protected]
Member
I got problem to set a bit in a word with symbolic name.
When I juse the DB adress its works( DB1.DBX4.3 := 1; )
Can somebody help me with the right expression?
This is my code but it will not work.
FUNCTION FC1: VOID
BEGIN
DB1.DBX4.3 := 1; //This is ok
"Test".X.UT[0] := 1; //This is ok when I set the word
"Test".X.UT[0].3 := 1; //This is not ok when I set the bit
END_FUNCTION
When I juse the DB adress its works( DB1.DBX4.3 := 1; )
Can somebody help me with the right expression?
This is my code but it will not work.
FUNCTION FC1: VOID
BEGIN
DB1.DBX4.3 := 1; //This is ok
"Test".X.UT[0] := 1; //This is ok when I set the word
"Test".X.UT[0].3 := 1; //This is not ok when I set the bit
END_FUNCTION