Strange numbers when reading RTC (S7-224)

Groggy

Member
Join Date
Feb 2008
Location
Lund
Posts
3
I have set the clock from Microwin and I'm reading from the registers VB400 - VB407.

What I can't figure out is that it's not 0-60 seconds it's something like this:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 32 33 34 35 42 43 44 45 50 51 71 72 73 80 81?

Is there a reason for this, and how can I change it back to something more normal =)
 
BCD don't know why

The RTC individual bytes are in BCD value so if you want to do a compare or math or just see them in correct format - use the BCD to integer conversion instruction.
 

Similar Topics

Hi All, I'm just trying to understand the reason behind something I recently experienced. Background: The system contains 4 CompactLogix...
Replies
2
Views
153
Hello all, I am facing an issue with my Commander SK that I cannot solve on my own, I am struggling on it since several days :confused: The...
Replies
9
Views
1,085
Hi. I'm doing an upgrade of an old 1400e to a new panel view plus 7 standard using ftv studio v 12,which will be communicating to a slc 5/04 via...
Replies
15
Views
2,663
Can someone explain the jumper between the elements? Does it do anything? See attached jpeg.
Replies
4
Views
698
We have an OPC server getting data from a Compactlogix PLC. The PLC also communicates with a Panelview and a couple VFDs via Ethernet/IP...
Replies
3
Views
1,181
Back
Top Bottom