adccommunitymod (AutomationDirect) asked a question.

setting clock from EA9

Created Date: September 20,2014

Created By: div_by_zero

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I have a P3K and an EA9 paired together. I would like to add the ability for an operator to set the clock to my "system " screen on the EA9. How is this accomplished? I see in the P3K CPU that there are different 16 bit INTs for the different date/time fields, one being a "set ". Guessing this comes into play... Tanks for any help.


  • adccommunitymod (AutomationDirect)

    Created Date: September 22,2014

    Created by: techme

    Topic P182 in the P3K help file shows you how to do this using the Set Date/Time instruction. The application example for the help file shows using a Cmore HMI to change just the day tag. However you can change Year. Month, Day, Hour, Minute, or Seconds

  • adccommunitymod (AutomationDirect)

    Created Date: September 22,2014

    Created by: div_by_zero

    Thanks, I'll check it out.

    On the C-More, is there a way I can use one main data entry box (something tailored towards date/time setting), or would I need 6 different numeric entry boxes?

  • adccommunitymod (AutomationDirect)

    Created Date: September 22,2014

    Created by: mwdkmpr

    On the C-More, is there a way I can use one main data entry box (something tailored towards date/time setting), or would I need 6 different numeric entry boxes?

    You can enter the time and date in a string and then write logic in the PLC to extract the data.

  • adccommunitymod (AutomationDirect)

    Created Date: September 23,2014

    Created by: div_by_zero

    Entering the time/date as a string sounds like the right way to do it. Any good examples of this? I 've honestly never really worked with a string. Thanks!

  • adccommunitymod (AutomationDirect)

    Created Date: September 20,2014

    Created by: div_by_zero

    I have a P3K and an EA9 paired together. I would like to add the ability for an operator to set the clock to my "system " screen on the EA9. How is this accomplished?

    I see in the P3K CPU that there are different 16 bit INTs for the different date/time fields, one being a "set ". Guessing this comes into play...

    Tanks for any help.

    Expand Post