|CODESYS - the IEC 61131-3 automation software
|How To Create counter In Visualisation Codesys V2.3?
|Page 1 of 1|
|Author:||mehdijamshidi [ Wed Apr 12, 2017 6:20 am ]|
|Post subject:||How To Create counter In Visualisation Codesys V2.3?|
Hi All Best Friend
I intend create counter in Codesys v2.3 in Visualisation
please help me
|Author:||AntonZ [ Wed Apr 12, 2017 5:47 pm ]|
|Post subject:||Re: How To Create counter In Visualisation Codesys V2.3?|
Counters are used in code and have no direct relationship with a visualisation (in the sense in which they are usually referred to in a PLC context, that is).
If your counter is called MyCounter and is a standard CTU, CTD or CTUD then the current value of the counter is available through MyCounter.CV. This value can be displayed in a rectangle shape through use of the Text and Textdisplay properties of the rectangle.
E.g. Let us assume your counter is part of the program PLC_PRG. Then you could set your rectangle's Text to be "%d" (without the quotes) and Textdisplay to refer to PLC_PRG.MyCounter.CV.
|Page 1 of 1||All times are UTC+01:00|
|Powered by phpBB® Forum Software © phpBB Limited