Help - Search - Members - Calendar
Full Version: show PLC clock and date on display
Forums.MrPLC.com > PLCs and Supporting Devices > Omron > CX-Supervisor
Tony
Good afternoon, I have a problem with showing the PLC clock on a scada page.

I have been struggling with the points and animation editor.

How can I show the PLC date and Clock, in this form?

09-02-18 14:15:46

Especially the : and - is giving me headaches..

Sorry for this probably noob question.

BTW, I don't want to use the PC's system clock points.

Thanx, Tony
PdL
QUOTE(Tony @ Feb 18 2009, 02:12 PM) [snapback]78977[/snapback]
Good afternoon, I have a problem with showing the PLC clock on a scada page.

I have been struggling with the points and animation editor.

How can I show the PLC date and Clock, in this form?

09-02-18 14:15:46

Especially the : and - is giving me headaches..

Sorry for this probably noob question.

BTW, I don't want to use the PC's system clock points.

Thanx, Tony


Depends how your data is formatted in the PLC.
Easiest would be to have 6 words of 2 digits each.
Then just place 6 text objects with each ##, add animation "display analogue value", check leading zeros and place all 6 objects with static text ":" and "-" between them.

Tony
QUOTE(PdL @ Feb 18 2009, 02:44 PM) [snapback]78980[/snapback]
QUOTE(Tony @ Feb 18 2009, 02:12 PM) [snapback]78977[/snapback]
Good afternoon, I have a problem with showing the PLC clock on a scada page.

I have been struggling with the points and animation editor.

How can I show the PLC date and Clock, in this form?

09-02-18 14:15:46

Especially the : and - is giving me headaches..

Sorry for this probably noob question.

BTW, I don't want to use the PC's system clock points.

Thanx, Tony


Depends how your data is formatted in the PLC.
Easiest would be to have 6 words of 2 digits each.
Then just place 6 text objects with each ##, add animation "display analogue value", check leading zeros and place all 6 objects with static text ":" and "-" between them.



Ok thanx, I will do it that way
Berti Baker
Hiya,

I guess you have you Windows Regional settings set to these settings?

Then if you are using CXServer.ClockRead it should format into this string format automatically!

Regards
Bertie.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.