Ml1400 s:40 and s:41

nmk34

Member
Join Date
Apr 2019
Location
texas
Posts
80
THE S:40 for the "hour" and S:41 for "minute" are not updating, and do not show on the processor status main tab.
does the ML1400 has a real clock? if yes, how to get it to enable or update?

Thanks
 
i saw an example of an RTC, so i used it instead of s:40 and s:41. i do not know if the RTC stops on its own while processor running or not.
 
Using RSLogix 500, Under the Controller organizer click on Function Files and the RTC tab. There is a button to set the clock to your PC time. Out of the box, the ML1400 RTC is disabled with zeroes in the registers. Not sure, but that might be done to extend the life of the RTC battery.

The Micrologix doesn't use S:37 thru S:42, but the SLC does. So RSLogix 500 will use the default comments for those addresses which can be misleading if the program is not for a SLC.

The RTC Function file addresses are integers that can be read and written by PLC logic in much the same way as the S registers in a SLC.

The address format is:
RTC:0.YR
RTC:0.MON
RTC:0.DAY
RTC:0.HR
RTC:0.MIN
RTC:0.SEC
RTC:0.DOW (Day of week)

At least the first 6 are in a contiguous block (I never use the DOW). So, it is possible to copy another group of integers into them. You have to use the CPW instruction to get it to verify in a Micrologix rather than the normal COP instruction.
 
Last edited:

Similar Topics

Hello, I am new here and have been working with PLCs for a few years now. I have been tasked with setting up a Micrologix 1400….. to a Cmore 10...
Replies
10
Views
477
Hi, We may of finally received out first v21 ML1400. IP address set, proceed to download standard file for our machines & at about the 80% mark...
Replies
10
Views
1,436
I have a Allen Bradely 1500 that has a cracked board. It still works but needs replaced (battery is no longer connected). To make migration easier...
Replies
10
Views
3,212
Hi, I've got a new project for a vacuum conveying system. We require to add another HMI to the existing system which will then feed 2 separate...
Replies
6
Views
1,819
Hi All I have connected a Keyence SR1000 to a Compact Logix PLC and am triggering the scanner and reading barcodes over Ethernet/IP, no issues...
Replies
2
Views
832
Back
Top Bottom