Using RTC Time in Visualization

martino
2012-02-28
2012-03-13
  • martino - 2012-02-28

    I'm using the "%t%a %b %d.%m.%y %H:%M:%S" format to display time and date on my visualization, so it will appear as "Wed Aug 28.08.02 16:32:45" for example. I know it uses the system time, but it gets it from my PC and not from the 750-640 RTC module. Is there a way to set it so it takes this time instead of the pc time?

    thanks
    Martino

     
  • kberlin - 2012-02-29

    I haven't used the 750-640 but I assume you will have to map one or several variables to the correct address. Then display that variable in your visualization.

    Best regards,
    Kristian Berlin

    EDIT: But what control system are you using?

     
  • shooter - 2012-02-29

    you will have to use extra vars for this.
    This way you can show two different times.
    You can make your PLC time same as PC otherway around is not possible (not without using softPLC.

     
  • martino - 2012-03-09

    well then how can I show my time or date in the visualization without it showing TOD# or D#

     
  • shooter - 2012-03-09

    use the vars from the RTC clock.
    something like RTC.hour etc.

     
  • martino - 2012-03-12

    shooter hat geschrieben:
    use the vars from the RTC clock.
    something like RTC.hour etc.

    That's what I'm using, but I still see D# or TOD#. Any idea how to hide those besides making separate text boxes for each variable (day, month, etc)

     
  • shooter - 2012-03-12

    aha that is formatting of text look in manual under time format.

     
  • martino - 2012-03-13

    cant believe i looked over that. thanks

     

Log in to post a comment.