Clock bit on Allen Bradley?

XxLinkxX

Member
Join Date
Oct 2015
Location
Hyrule
Posts
86
I was wondering if allen Bradley had a clock bit option like Siemens does. I have a 1 hertz clock bit on the siemens version and was wondering if AB had the same option. If not, whats the best way to pulse a 1 hertz frequency. I know timers is one way. Just looking for a fast way to do so.
 
Hi

It actually depends on which plc you are using
Plc 5 slc 500 micro logix compact or control logix

Donnchadh
 
It should take about thirty seconds to put in a self-resetting timer and a comparison statement; that's what I would do.

Otherwise, all MicroLogix and SLC family controllers have a free-running clock based on the controller's crystal oscillator that is stored in the Status data file in word S:4.

The individual bits of that clock can be used as 50% duty cycle flashers.

Because they're based on the crystal and not on the real-time clock, they don't have an exact 1 Hz period. Bit S:4.07 will be on for 1.28 seconds and off for 1.28 seconds.

Don't try to use the Real Time Clock (RTC) data file for a 1 Hz flasher; the Seconds value is only updated every two seconds so you never see any odd numbers.
 
Hi

If you look at the project tree under s2 data table
If you change the view to binary
Then looks at s:4/x and just replace the x with the time base you want


Donnchadh
 
Hi Ken

Outstanding information

Not only beat my reply time wise but also beat my answer hands down

Donnchadh
 
It should take about thirty seconds to put in a self-resetting timer and a comparison statement; that's what I would do.

Otherwise, all MicroLogix and SLC family controllers have a free-running clock based on the controller's crystal oscillator that is stored in the Status data file in word S:4.

The individual bits of that clock can be used as 50% duty cycle flashers.

Because they're based on the crystal and not on the real-time clock, they don't have an exact 1 Hz period. Bit S:4.07 will be on for 1.28 seconds and off for 1.28 seconds.

Don't try to use the Real Time Clock (RTC) data file for a 1 Hz flasher; the Seconds value is only updated every two seconds so you never see any odd numbers.

Thanks Ken, it looks like I will be sticking with the timers as well. Seems like a safer bet without having to mess around with the setting all that much.
 

Similar Topics

Hello everyone one. I'm using M340 with simulation mode (actually I still don't have the cpu to test the software). I've made a simple counter...
Replies
4
Views
495
I am Using omron cx-programmer. In this programme the 1-sec clock pulse bit timmer is avalable in programme itself.I want to add new 5sec clock...
Replies
1
Views
6,107
We recently purchased a IC693CPU352 module and it appears the internal time clock is static. I can set the time and date but once set it does not...
Replies
5
Views
170
Hello. I cannot change the SendClock settings for a PROFINET IO device. I need to slow down the CODESYS PROFINET IO controller. What am I doing...
Replies
0
Views
199
Hello everyone, I am not a programmer, but I can do some simple programming. So now I want the time to be recorded every time a pump turns on. I...
Replies
35
Views
2,707
Back
Top Bottom