Sjakko
Jul 7 2008, 05:47 AM
Does anyone know how to change the time and date of a NS5-display by a PLC. I've tried to write to $SW14 - 18 but those registers can only be read. After studying all the manuals it seems to be impossible, but i can hardly believe that.
I need this function because the PLC gets the time from an NTP-server and I want the display to have the same time as the PLC (for registering alarms, etc).
Thanks for your help,
Sjakko
Andy_P
Jul 7 2008, 06:02 AM
Does the NS5 have the macro facility like an NS8 for example?
If so, check this out from the macro reference manual:
[attachmentid=6466]
Andy.
If you happen to have a CJ/CS series connected to the NS5 it can be done much easier, see attachment.
Requires NS system version 5.0 minimum.
Andy_P
Jul 7 2008, 06:46 AM
QUOTE(PdL @ Jul 7 2008, 12:29 PM) [snapback]71208[/snapback]
If you happen to have a CJ/CS series connected to the NS5 it can be done much easier, see attachment.
Requires NS system version 5.0 minimum.
A ha, yes!
But does that require a manual button press to use it?
Andy.
True.
Maybe this is worth a try
*edit DANG! Address out of range... hmm
Sjakko
Jul 7 2008, 07:21 AM
I do prefer a way without pressing a button, but I think there is a possibility with macro's (which are supported):
PT --> Project Properties... --> Macro --> SET4 and then something to execute SETTIME with A351 from the PLC.
I'll let you know the result...
Sjakko
Jul 7 2008, 07:56 AM
It is possible! See the attached screenshot for the contents of the macro.
Thanks to all of you!
Best regards,
Sjakko
dweste
Jul 22 2009, 03:33 AM
QUOTE (Sjakko @ Jul 7 2008, 02:56 PM)

It is possible! See the attached screenshot for the contents of the macro.
Thanks to all of you!
Best regards,
Sjakko
Haha, guess what, I'm trying to do the same thing, and my colleague has done it already.
I'm Danny by the way :)
dweste
Jul 22 2009, 05:35 AM
QUOTE (Sjakko @ Jul 7 2008, 02:56 PM)

It is possible! See the attached screenshot for the contents of the macro.
Thanks to all of you!
Best regards,
Sjakko
One small addition, it is possible to replace the hostname with a hostnumber. Normally, you'll always use host 1. So hardcoding 1 in the macro is an almost idiotproof way of timesyncing out of the box. See attached images :)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.