Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Ist es unter CoDeSys v2.3 möglich, den Strukturnamen für einen ganzen Abschnitt bekannt zu geben? Ich meine das wie folgt im übertragenen Sinne eines WITH Befehls:
With Woche
.Montag := ab;
.Dienstag := vw;
.Mittwoch := xy;
End_With
Besten Dank
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo zusammen,
auf Komponenten von Strukturen greift man ja üblich mit folgender Syntax zu:
<struktur_name>.<komponentenname></komponentenname></struktur_name>
z.B.
Woche.Montag := ab;
Woche.Dienstag := vw;
Woche.Mittwoch := xy;
Ist es unter CoDeSys v2.3 möglich, den Strukturnamen für einen ganzen Abschnitt bekannt zu geben? Ich meine das wie folgt im übertragenen Sinne eines WITH Befehls:
With Woche
.Montag := ab;
.Dienstag := vw;
.Mittwoch := xy;
End_With
Besten Dank