Problem with updating clock in A/B PLC-5/30

chipmoseley

Member
Join Date
Apr 2014
Location
South Carolina
Posts
7
I am trying to dynamically update the running PLC clock in a A/B PLC-5/30 to keep it synched with a controlling time from a master computer. I have the same program running in three different PLC5's but the clock only updates in two of the PLC's. When I move values into S:18 thru S:23, the clock does not actually change. Does anyone know anything that will prevent the clock from updating?
 
I've never had a problem setting the time in a PLC-5, but you might want to look at Properties for your S2 data file on that particular processor and verify that the file is not write protected.
 
Good thought. Nothing else on line (or connected) with this processor. Processor was isolated to a stand-alone condition. The "move" seems like it functions but there is no visible data change in the clock.

Can you post the program? Its .RSP file, zip it first.
 
I've never had a problem setting the time in a PLC-5, but you might want to look at Properties for your S2 data file on that particular processor and verify that the file is not write protected.
Yeah. That is what I am thinking too. I have checked the normal data table write protection. I have checked S:2/15 and S:26/6 and they are clear. Not sure what other protection there might be to data table write or Status File writes.
 
Yeah. That is what I am thinking too. I have checked the normal data table write protection. I have checked S:2/15 and S:26/6 and they are clear. Not sure what other protection there might be to data table write or Status File writes.


If you want to attempt a brute force patch, then try writing your time data to words in a different Integer Data File and then move that data to the System clock words in your PLC program logic.
 
If you want to attempt a brute force patch, then try writing your time data to words in a different Integer Data File and then move that data to the System clock words in your PLC program logic.
Yup, that is exactly what I am trying to do. The data transfer seems to work (and it does work on my other processors) it just doesn't record. Feels like it is being access blocked but I can't find any block.
 
Hey there.
Have you actually cross referenced the bits S:2/15 and S:26/6 to make sure there is nothing in your program writing to those addresses. It does not have to be another device over writing the addresses but something in your own logic.

Juat a suggestion!
 

Similar Topics

Hi I am using Wonderware Intouch 7.1 and have been for quite a while. Recently I have been having problems with my application after installing...
Replies
5
Views
3,973
I've downloaded firmware version 2.3 from Unity OS CD to PLC Premium 2634 using OSLoader and now it's Ethernet port is in an Error mode. What...
Replies
1
Views
2,179
Using an ab slc 5/03... plant suffered some sort of power loss.. what we're seeing is the analog card (typical ab slc analog input card) is not...
Replies
4
Views
6,448
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
458
On all pages of my project i have a lot of information, texts and details that should not not be shown. I can remove them for each part apart from...
Replies
0
Views
48
Back
Top Bottom