Dermie Posted January 22, 2022 Report Posted January 22, 2022 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.
MVP 2023 Ausman Posted January 22, 2022 MVP 2023 Report Posted January 22, 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
MVP 2023 kratmel Posted January 22, 2022 MVP 2023 Report Posted January 22, 2022 Please try to Set RTC, Initialize & Reset via "Communication and OS" and Download blank project to PLC. Then load your project. If this option not help, i recommend to open ticket on https://support.unitronics.com/index.php.
MVP 2023 Ausman Posted January 22, 2022 MVP 2023 Report Posted January 22, 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
MVP 2023 kratmel Posted January 22, 2022 MVP 2023 Report Posted January 22, 2022 Please post your Visilogic Version. I try to simulate this issue on my 7' Samba.
Dermie Posted January 23, 2022 Author Report Posted January 23, 2022 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.
Dermie Posted January 23, 2022 Author Report Posted January 23, 2022 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.
MVP 2023 Ausman Posted January 23, 2022 MVP 2023 Report Posted January 23, 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: 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
MVP 2023 Ausman Posted January 23, 2022 MVP 2023 Report Posted January 23, 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
MVP 2023 Ausman Posted January 23, 2022 MVP 2023 Report Posted January 23, 2022 PS Nothing to do with your RTC issue, but set SB168 power up value as 1. Your pic shows it is needed!
Dermie Posted January 25, 2022 Author Report Posted January 25, 2022 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: 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now