Compact Logix L30ER Date & Time Issue.

Yacineg

Member
Join Date
Oct 2020
Location
Guj
Posts
54
Hi guys,

I am facing a weird issue with an L30ER. When power is cycled to the controller,
the Date & Time changes to some other value & then reverts back to the correct Date & Time. At least this is what I am thinking is happening.

Trying to capture the Date & Time values using the First scan bit has not been successful with the correct date & time captured.

I was only able to deduce what is happening because of a time dependant logic was getting triggered on a power cycle. I have attached a screenshot of the logic.

Shift_Timing Logic.JPG
 
I suspect widelto has the right of it. Your DateTime array does not directly hold the current controller values; it holds the date/time as of when the GSV was run last to collect those values.

Obviously the GSV does not run while the controller is off or otherwise not in run mode. From when you first power up until the GSV is executed DateTime will maintain the values from before you cycled power.

(As a side note, you can use this discrepancy to programmatically check how long the PLC was down for).
 
Does your GSV Instruction run before your screen is executed .?
In my case GSV is the first instruction to be executed and before the rest of them.

Yes the GSV is the first instruction to be executed.

Would it make any difference if the GSV is in the main routine ?
 
I suspect widelto has the right of it. Your DateTime array does not directly hold the current controller values; it holds the date/time as of when the GSV was run last to collect those values.

Obviously the GSV does not run while the controller is off or otherwise not in run mode. From when you first power up until the GSV is executed DateTime will maintain the values from before you cycled power.

(As a side note, you can use this discrepancy to programmatically check how long the PLC was down for).

But the interval between the power cycle is not much, maybe 2 to 3 minutes & max is 10 minutes.

We have another L30ER running the same logic & on the same firmware version without any trouble.
 
Would it make any difference if the GSV is in the main routine ?
It should not, as long as the GSV runs before the DateTime values are used anywhere.

Can you post a pic of your GSV rung?

But the interval between the power cycle is not much, maybe 2 to 3 minutes & max is 10 minutes.
If you are only using time to determine shift, then running GSV afterward would only cause an issue if machine was down across shift change. It doesn't sound like that's the cause then.

We have another L30ER running the same logic & on the same firmware version without any trouble.
Interesting.

When it powers up with the incorrect time/date, is it always the SAME time/date?

If yes, do you have a nonvolatile backup installed and set to load on program loss?

Another thing to look at is in the controller properties if you have time synchronization enabled and (if so) if the PLC is the master.
 
The GSV rung is the first rung to be executed. See attached picture.

I have not been able to observe the Incorrect Date/Time on power up.

There is no nonvolatile backup installed, time synchronization is not enabled.

Capture_with Gsv.JPG
 

Similar Topics

I am using ab 1769-l30er for redundancy logic, the secondary controller is not being recognized, the icon is replaced by a yellow question mark...
Replies
3
Views
1,931
I have these PLC and HMI and want to communicate them. I made a program in RSLogix5000 and FactoryTalkViewStudio, tried them out with FT station...
Replies
7
Views
4,409
Hello, I have been given the task of upgrading a SLC 500 5/04 cell to a CompactLogix system. I chose to use the L30ER processor. I am keeping...
Replies
2
Views
3,368
Looking at a potential project that would be using multiple (4-8) L32E/L30ER and multiple (6-10) Micro 1400 controllers. I will need for all them...
Replies
0
Views
3,907
I am looking for some feedback or recommendations on being able to print from 1769-L32E to an Ethernet Zebra Printer. Any examples of your setup...
Replies
20
Views
21,292
Back
Top Bottom