using clock

jillmayne

Member
Join Date
Oct 2003
Location
leicester
Posts
6
on the mitsibushi fx1s plc and others there is a real time clock with day hours mins etc.. my query is can you use the clock in a aplication like control a output at a certain time of day if so how do you call up the routene in a program
 
I dont know how to do it in Mitsibushi but in other PLCs.
You can use compare function between the day/hour you want to RTC.for
On and for Off.
It should be very simple.
 
[COLOR=blue]jillmayne [/COLOR] said:
... can you use the clock(RTC) in a aplication like control a output at a certain time of day ...

Of course. This RTC is not there only for fun, its exactly one of its purpose.

[COLOR=blue]jillmayne [/COLOR] said:
... how do you call up the routene in a program

You set some parameters. For instance. If you want something to start at 04h30 AM, you use a few rungs and do a compare function.

This function could compare the integer with the known value of the time to start this event OR you can use individual BITs of the RTC register to do the same thing.

You must also put in a watchdog so the function does not start twice within the same time span.
 

Similar Topics

Hello all. Would anyone have sample code that uses a wall clock to move the CTU.ACC to a another variable in the PLC after 24-hours has elapsed? I...
Replies
2
Views
1,927
I have problem to set wallclock for controllogix by using SSV.
Replies
4
Views
2,806
I am using a Studio 5000 with an Allen Bradley CompactLogix 1769-L24ER-QB1B controller. Im wondering how I can use the system clock to be able to...
Replies
10
Views
2,420
Dear Kind advisors, I need help on the title mentioned subject. The logic i wrote as attached is working and will update the CPU time clock after...
Replies
15
Views
14,855
Allen Bradley plc5 or 500. I want to use a bit to turn on a RTO. I need to separate this into 4 12 hour shifts 7a to 7p and 7p to 7a. I want to...
Replies
1
Views
1,234
Back
Top Bottom