How can I do countdown timer in codesys visualization ?
Example please find in attachement.
Just use a TON and compute timer.PT - timer.ET (that's the remaining time).
And then hookup it into a pie element.
Otherwise please specify the data you are operating on.
Is it possible to change color in slider element ?
No. The Codesys slider is a really poor made control... I always end up implement one with a line/rectangle for the background and a line/rectangle/image/... for the handle. If it is readonly it ends here, if you need to support input it's not so complicated (the downside it's you have to work in absolute coordinates in code behind).
some example of your own slider?
Log in to post a comment.