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
So oder so ähnlich müsste es aussehen. Ich hab es nicht getestet.
Du arbeitest im FrondEnd. Verwende einfach 2 Text Fields. Mit den State Varibales kannst du das nicht benötigte Element ausblenden. Dabei kannst du sogar einfachen IEC Code verwenden.
Invisible rAnalogValue <= iRangeMin OR rAnalogValue >= iRangeMax
Ich hoffe diese Ansätze helfen dir weiter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'd just like to add to previous, that the same thing could be realised not with two fields, but with one field and TextList for it.
Text field contains two different placeholders:
0 %.2f
1 %.1f
In text field settings
1) Dynamic texts -> Text list -> YOUR_TEXT_LIST (see above)
2) Dynamic texts -> Text index -> BOOL_TO_INT(xValueOutOfRange) // your fault message trigger
3) Text variable -> rAnalogValue
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Servus,
im folgenden bitte ich Sie um einen kurzen Denkanstoß.
Problemstellung:
Ich hoffe das Problem wird in irgendeiner Weise ersichtlich und es gibt eine ausgefuchsten Spezialisten der mir weiterhelfen kann.
Vielen Dank.
Hallo fludwig,
Hierfür gibt es 2 Lösungen:
So oder so ähnlich müsste es aussehen. Ich hab es nicht getestet.
Invisible rAnalogValue <= iRangeMin OR rAnalogValue >= iRangeMax
Ich hoffe diese Ansätze helfen dir weiter.
I'd just like to add to previous, that the same thing could be realised not with two fields, but with one field and TextList for it.
Text field contains two different placeholders:
0 %.2f
1 %.1f
In text field settings
1) Dynamic texts -> Text list -> YOUR_TEXT_LIST (see above)
2) Dynamic texts -> Text index -> BOOL_TO_INT(xValueOutOfRange) // your fault message trigger
3) Text variable -> rAnalogValue