Display off peak energy times

Discussion in 'Pascal Logic Code Examples' started by dsamson, Jul 10, 2018.

  1. dsamson

    dsamson

    Joined:
    Aug 23, 2004
    Messages:
    49
    Likes Received:
    1
    Location:
    Sydney
    Hi,
    I have a relay connected to the off peak circuit which provides a dry contact to a bus coupler that controls a dummy GA called "Off Peak" . The GA is displayed on the Schedule Plus touchscreen to show the status.
    How could I have the times when the off peak energy is switched on/off displayed on a particular page in Schedule Plus. Ideally to show the on/off times for each day of the week. Can that info be saved on a log file (.txt) for later analysis?
    Thank you.
     
    dsamson, Jul 10, 2018
    #1
  2. dsamson

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    You could add some logic code to write the time to a SystemIO string variable when the group turns on and to a different string variable when it turns off.

    You can also write the strings to the log.

    You can also display the strings on a page.

    Nick
     
    NickD, Jul 11, 2018
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.