How to make Micro800s count down or track the first of the month

JeffreyS

Member
Join Date
Apr 2016
Location
Tulsa
Posts
36
I would like to have my Micro820 send a modbus message every first of the month just to show the system is up, alive and running properly. I don't think there is a cmos battery like there is in a PC to keep the date/time accurate so I can't trust a get date function.
Would a really long counter do the trick? Suggestions?
 
Thanks for writing back and the link! I am going to try and have the RAM controller slave write to the master over Modbus TCP and then have that in return set a bit back in the RAM over Modbus serial from the PLC master. That way a loopback is formed and the whole system is tested upon keep alive.
 
Thanks for writing back Damica.
The help states
When the embedded RTC has lost its charge/memory due to loss of power:

  • RTCData is set to 2000/1/1/0/0/0.
  • RTCEnabled is set to one (1).
So wont that mess up using this as whenever the power goes out it will lose it's place.
 
I don't know how long the RTC will retain it's memory after power loss, but it is not immediate. I have several Micro820 in the field that use the TOW function, and there have been times will these unit's loss power due to "Power Utility Problems" for as long as several hours.

You could always install a Battery backup system designed for power problems.

Have a great day.
 
I do have a battery backup in the unit! So lets say worse case the power did go out long enough that it died. How can I setup the DOY to just trigger a month from whenever the power comes back. It would mess up the PLC sending it out on the first but that really doesn't matter. As long after around a month it sends it's I'm still alive message out.
 

Similar Topics

In the help under MSG_Modbus and MSG_Modbus2 for TCP in Connected Components Workbench there is the following. A maximum of four message...
Replies
0
Views
1,601
What is the raw count of Allen Bradley Flex Analog Output Module 5094-OF8 raw count?
Replies
1
Views
136
I am working on a Markem X40 printer which uses NGPCL Commands and needs to send commands using a .net program. I need help with the following...
Replies
1
Views
168
Hi, I'm programming in RSLogix 500, and I'm wondering how I would program a Jog command that does not increase the encoder count. Basically we'd...
Replies
3
Views
320
Hi all, I am currently working on a software in Automation Studio that is supposed to detect when effort is inputted by a user. This is done via...
Replies
0
Views
607
Back
Top Bottom