PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. peterdallmann
  2. PLCnext Technology & PLCnext Controls
  3. Tuesday, 10 November 2020

Is there a plan to update the function of the real time clock in the PLCNext controller so that this would include the the time zone and the change of summer/winter time?

For a controller in this level, I would like to have a better handling of this. Also would I like to see the option to update the PLC real time clock with the PC clock. We did have that in PCWorx, so why not in PLCNext Engineer?

 

Peter Paul

Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Paul,

please see the answers to your questions below:

For a controller in this level, I would like to have a better handling of this. Also would I like to see the option to update the PLC real time clock with the PC clock. We did have that in PCWorx, so why not in PLCNext Engineer?

-> You can change the real time clock via following options:

  1. In Cockpit (update the PLC real time clock with the PC clock):

    Cockpit



  2. In Online Parameters:

    OnlineParameters

Is there a plan to update the function of the real time clock in the PLCNext controller so that this would include the the time zone and the change of summer/winter time?
-> I would like to reccomend you to use the following FB " PBCL_DateTimeUtcToLocal_1" to convert the UTC-Time to the time in your time zone and set the sommer time via FB "PBCL_DateTimeSummerTimeEurope_1".
-> Please find this FB's in PLCnextBase Library (https://www.plcnextstore.com/#/720)

I hope the answers will help you, if not, please let me know.

Best Regards
Eduard


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

peterdallmann Accepted Answer Pending Moderation
0
Votes
Undo

Hi Eduard,

when using your step 1 (in cockpit), the controller does not accept the time from the PC. I have been updating the RTC in the online parameters.

For the summer/winter time change: would it not a better idea to implement that in the firmware. The FB are working well, but I can't see a reason to have an extra code in my program to handle that.

Maybe something to consider for a future FW update?

 

Peter Paul

Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Peter,

I can't reproduce the behavoir with the setting the RTC-Clock in Cockpit with the time from the PC, please see the attached video (I'm using the FW2020.6.1 and PLCnEng 2020.6 ).

I'll forward your Idea to integrate the summer/winter time change in the firmware to the product management for evaluation.

Thanks & Best Regards

Eduard

 

Attachments (1)

Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.