Jump to content

RTC displays the day wrong after a download


Recommended Posts

When I download a new copy of the plc program the RTC shows the day wrong. Example attached the date is 23 Jan 22 and the day is shown as Saturday. This corrects it self after a few hours of the download. Also attached is the region number of software. I have seen this issue on the forum but it advises the issue was corrected a few years back. Any hits on how to address this would be appreciated. 

7132A63B-A895-4017-B45B-E32B4D19AC60.jpeg

BF0F5AFD-B8AC-400A-AB3C-D6B1CF419B8A.png

Link to comment
Share on other sites

  • MVP 2022

Dermie, you initially posted in the Unistream forum which is a totally different beast to a Samba. Your reference to the issue being solved is thus not valid. 

I have deleted the Unistream post which was awaiting approval as you have essentially asked the same question here in the correct forum area.  With regards to your issue, more to come once some pondering occurs.

cheers, Aus

Link to comment
Share on other sites

  • MVP 2022

Further to Kratmel's advice, perhaps first check SI30-38 online and see what they are saying.  It should match what you get when you use the "Get RTC current Values" button in the comms area Kratmel mentioned.

If these things match properly, but you still get the error, maybe the way time and date are referenced within the project itself could be to blame.

Also perhaps check SB8 to ensure the battery is ok.

cheers, Aus

Link to comment
Share on other sites

10 hours ago, Ausman said:

Dermie, you initially posted in the Unistream forum which is a totally different beast to a Samba. Your reference to the issue being solved is thus not valid. 

I have deleted the Unistream post which was awaiting approval as you have essentially asked the same question here in the correct forum area.  With regards to your issue, more to come once some pondering occurs.

cheers, Aus

 

10 hours ago, Ausman said:

Dermie, you initially posted in the Unistream forum which is a totally different beast to a Samba. Your reference to the issue being solved is thus not valid. 

I have deleted the Unistream post which was awaiting approval as you have essentially asked the same question here in the correct forum area.  With regards to your issue, more to come once some pondering occurs.

cheers, Aus

Thankyou for that. I did post on what I thought was a related topic but could not find it again.

Link to comment
Share on other sites

11 hours ago, kratmel said:

Please post your Visilogic Version. I try to simulate this issue on my 7' Samba.

Attached is a screen shot that shows my visilogic version 9.8.91 build 0. I don’t want to do an inialize and reset of the plc until I am in the factory next to the plc tomorrow morning. I am in Australia and it is 20:25 Sunday night.

 

If I get the rtc current values on the comms page it shows the days is wrong. when I set the rtc from the comma page it corrects the day straight away.

I have just downloaded the program again and then checked the comms page by getting rtc current values and they are correct.  

.When I “set RTC “ may have corrected the issue, I will monitor this over the next few days to see if I see this issue again

 

thank you for your help on this.

D177B11B-48C9-467C-91A0-004199702A87.jpeg

A2269A9B-0834-4FD6-A824-91D793D6F817.jpeg

Link to comment
Share on other sites

  • MVP 2022

Dermie, that is interesting.  Here's a lift from one of my 130s in operation in roughly the same time zones.  Spot the difference:

RTCDayDiff.jpg.d18e21360fb7f9216c01704ddd4adedd.jpg

Your system is running on the "Monday is the 1st day of the week" system, instead of it being Sunday.  I've had a quick hunt around for this as I'm sure there's something that lets this be changed, but I can't find it.    Or perhaps I'm getting confused with other PLC brands.  But because on MY systems Sunday is 1, I'm sure it exists.   Someone else chime in?

cheers, Aus

 

Link to comment
Share on other sites

  • MVP 2022

Just had a thought.  Is your PC's time and date correctly formatted?  Under Time & Language/Region there is a First day of the week option in data formats.  Wondering if this is wrong on your PC and in sending this "perhaps wrongly formatted for the PLC" PC time to the PLC something odd is happening.

cheers, Aus

Link to comment
Share on other sites

On 1/23/2022 at 10:16 PM, Ausman said:

Dermie, that is interesting.  Here's a lift from one of my 130s in operation in roughly the same time zones.  Spot the difference:

RTCDayDiff.jpg.d18e21360fb7f9216c01704ddd4adedd.jpg

Your system is running on the "Monday is the 1st day of the week" system, instead of it being Sunday.  I've had a quick hunt around for this as I'm sure there's something that lets this be changed, but I can't find it.    Or perhaps I'm getting confused with other PLC brands.  But because on MY systems Sunday is 1, I'm sure it exists.   Someone else chime in?

cheers, Aus

 

Yes , the current day was 7 but when I reset the RTC it changes to 1 for a Sunday. When I download a updated program the day is always 1 day behind and with in 2 hrs of the download it corrects its self or if I select “set RTC” . This morning I did an initialise & Reset, then downloaded a blank program and then reloaded my program and the day of week was correct . I will monitor this over the next week to see if the problem occurs again.

 

I really appreciate the time you give to assist me with my programming issues.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...