Use ext timer or code the timer ourself in PLC?

ckchew666

Member
Join Date
Aug 2003
Location
Malaysia
Posts
591
Hi,

I'm working on a program/system which require an timer to set the hour & day for the system to starts automatically.

It's on a Yokogawa FA-M3 PLC with a touch screen. Main purpose is better outlook of the system & save cost since there is a touch screen on it.

Does building a timer (same as ext timer function) in the PLC required a very complex ladder programming?

Anyone have a sample of it either in FA-M3 or RSLogix (AB)?

Thanks.
 
I'm not familiar with your PLC. If it has a real time clock, the programming should be very simple. You should be able to compare the day and hour with registers from the touchscreen, and when they are equal, turn on a bit to start the line. If the PLC does not have a real time clock, you will have to program one using a series of cascading timers. Here is how it would in a PLC5 with a real time clock. In this example, the Line Start bit will be on for one second.

sample9.jpg
 
If the PLC has a realtime clock, then you should definitely use it.

Only make sure that you display the time prominently on your HMI.
If/when the time drifts, then the operator must notice it and adjust it accordingly.

If the PLC do NOT have a realtime clock, then do not waste your time and try to program one yourself.
A relay with a realtime clock is not so expensive.
 
Jesper, just out of curiosity, could you give some info on these relays with RT clocks? That's something i haven't encountered before.

Thanks,
Paul C.
 
Okie,

The realtime clock is an actuall clock & calander built into the CPU just like on your PC. There's ususally a function in the programming software to set the clock/calander to your PC time & date. You might have an application such as a building alarm that will automaticly set/reset at spicific times of the day, days of the month, or even year. The realtime clock might also be used to timestamp events such as faults. You usually can refer to the realtime clock by seconds, minutes, hours, days, months & year individually, or the entire date & time value. The spicifics depend on the PLC brand and type.
 
I've used these on a very limited basis. These have everything you need and many things that you don't.

http://www.brgprecision.com

I'ved used the 4 digit with syn functions and 10Amp relay output. I would be careful about auto starting lines that could possible have someone in the way though. My system uses a start button that sounds an alarm for 5 seconds to allow everyone to be notified that a start is going to occur. I am thinking of changing it to require a second push after the 5 sec. to start. That way if you hear anyone yell, it won't start automatically and hurt someone. Just my 3 cents, since I don't know what you are auto starting. I would approach it cautiously though,
 

Similar Topics

Hello i am new in structured text, and i have a problem with using on timer. I have make this text: IF tanklevel>2700 and pump1 and pump1 THEN...
Replies
5
Views
6,510
How would I make a timer that would repeat on an interval as long as a certain value is true. IF EVENT THEN EVENTXBIT := TRUE ENDIF IF...
Replies
4
Views
6,607
I am wanting to debounce an digital input in structured text. I am using connected componets with a MICRO 830 2080-LC30-24-QWB. So I essentially...
Replies
11
Views
5,089
Hello, I am using studio 5000 pro and am trying to figure out the structured text. Here's my scenario: An operator scans a barcode, the barcode...
Replies
10
Views
53
Hi everyone, I hope you're all doing well. I'm currently working on updating an HMI project for the GP2500, and I've encountered a bit of a...
Replies
1
Views
94
Back
Top Bottom