logic to modify RTC in a Micrologix 1200

csrowland

Member
Join Date
Feb 2009
Location
Indiana
Posts
7
I have a Micrologix 1200 with a "Real Time Clock" installed. I didn't realize that the clock registers are read only and I need to be able to manipulate the clock from the HMI (not a laptop). So I am stuck trying to write some code to accomplish this. My first thought is to move the RTC value to a standard N register, then manipulating that value with up down counters from the HMI. The part that I am stuck on is; lets say the N value for the minutes is 3 higher than the RTC value. When the RTC value is 59 (minutes) the value on the HMI will read 62 (minutes). Any ideas? Thanks
 
If you have a techconnect contract with A/B, look at Answer ID 21067.

It explains how to use the CPW instruction to accomplish what you want, and also lists the firmware levels required for various Micrologix CPUs.

Paul

EDIT: And, welcome to the forum!
 

Similar Topics

Dear All, We have some thing installed in our HVAC unit in our office it has some input and output connected and its logical block can be seen...
Replies
1
Views
2,120
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
0
Views
1
Hello again..trying something on an existing poorly written program and just wanted to double check something system is an A-B MicroLogix 1200 In...
Replies
5
Views
159
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
27
Views
589
I have a machine which is undergoing upgradation. As part of the process two SEW drives are being replaced., existing Gen B with new Gen C. The...
Replies
3
Views
193
Back
Top Bottom