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,129
Hello, I´m having a problem trying to program in Ladder. An output should be trigged by two possible contacts. Take a look on the printscreen...
Replies
5
Views
161
I got my PanelView Plus 7 working with a Micrologix 1500. How would I connect my laptop to the PanelView to view the ladder logic while operating...
Replies
6
Views
180
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
13
Views
257
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
180
Back
Top Bottom