Emerson (GE) PME time clock

BobB

Lifetime Supporting Member
Join Date
Jun 2002
Location
Sydney
Posts
4,557
I am using the Rx3i redundant PLCs at the moment. I need to access the time clock - only need hours nothing else. I am having a bit of trouble trying to get the time clock function to work. Does anyone have a sample ladder to just get hours out of the time clock please? Any help will be appreciated.
 
You access the internal clock/calendar with the SVC_REQ function with function code 7. I typically set up SVC_REQ function with a parameter block of six words (16-bit). The first two words are control parameters, the remaining four are data returned by the function. The first word contains a value of zero to read the clock or 1 to set it. The second word contains a value that determines the format of the returned data. I use a value of 81 hex, for BCD, with a 4-digit year.
The third word will contain the year.
The fourth word will contain the day of the month in the high byte and the month in the low byte.
The fifth word will contain the the minute in the high byte and the hour in the low byte.
The sixth word will contain the day of the week(1 -76) in the high byte and seconds in the low byte.

To extract the hour, AND the fifth word with 00FF and convert the result from BCD to integer.
 
Thank you Steve Bailey - I finally sorted it out. Interestingly the redundant Rx3i returns all values in separate words - no need for a mask.
 

Similar Topics

Hi gents, recently upgraded to PME 9.8 and having a lot of issues with a pre-existing line file. The PAC View Integrated OPC program has been...
Replies
7
Views
3,589
Curious if anyone has ever used PME (Proficy Machine Edition) on Windows 10. My current version is 9.0 SIM 12 Build 7236. I believe that was the...
Replies
4
Views
2,792
Two questions for GE/Emerson e.g. PACSystemsRX3i (CPE330): 1. Is it possible to use 2D arrays inside a function as a local member? (I can only...
Replies
0
Views
58
gents, I am trying to configure communication with EMERSON PK300 controller through port A1 using generic ethernet communication module . I could...
Replies
0
Views
115
Hi there, I'm doing some extensive testing and commissioning with a slew of new Emerson PACSystems RX3i PLCs. It would be convenient to...
Replies
5
Views
113
Back
Top Bottom