Alan Bradley timers

Eric

Member
Join Date
Sep 2002
Location
North Wales
Posts
35
With Mitsubishi I can use a D file to both read to and from a timer. I have tried to do same with Alan Bradley but I can read timer with ACC and put in data registor N7etc but can't seem to do it in reverse. Only way I can find is to make pulses with timer and count the pulses. Is it possible to enter N7:0 etc into timer like I enter [T1 D0] in Mitsubishi? I can't do it directly but maybe there is another way? Using a 1747-L514 5/01 CPU - 4K Mem thought I would go to Uni and learn proper way to do things but not impressed.
 
Hello Eric,

If I am understanding you...use a MOV to load the Pre of the timer

1timer1.jpg


In this example I am loading the value of n7:1 to the preset of timer T4:1, is this what you are trying to do?

EDIT: BTW, I will be going to Mitsubishi school in Feb., then I may understand what you are talking about :D
 
Last edited:
Thanks thought there must be a way. I was reading what people thought were the best PLC's and I thought the best is the one "I" know. When I started at Uni I hated Alan Bradley but now I'm getting use to it I am starting to like it.

Anyway thanks again I'm sure that will work fine.

All best Eric
 
The timer structures in the SLC 500 and Micrologix have fixed locations for the preset (PRE) and the accumulated (ACC) time relative to their control bits. When setting up the timer you specify a preset amount. But you can, at runtime, as geniusintraining suggested, MOV other values into the preset.

But you cannot set an 'N' register as the location of the preset. One way is not the PROPER way to do a timer. It's all up to the PLC designers. But, as in most cases with a sufficiently flexible language, you can do anything with anything.
 
bernie_carlton said:
But you can, at runtime, as geniusintraining suggested, MOV other values into the preset.
You can also move values into the ACC, for whatever reason. I have processes that I control that do this in order to "skip ahead", "skip back", or reset. Works fine.

Moving zero into the ACC is ABOUT the same as a reset. The only difference may be the status of the "done" bit. For example, if the timer is timed out, moving zero into the ACC probably does not reset the done bit to zero. (Someone else can confirm this.)
 

Similar Topics

I have had to reload all of my software on my laptop today as the graphics card died. So, I have spent about the entire day reloading/registering...
Replies
53
Views
21,416
Is it possible to write a message from a SLC 500/5 to a micrologix 1100. In the MSG setup screen I've checked the IP address and everything...
Replies
3
Views
3,813
S
Hi all, I am a new member and I found this website is very useful. I do have a question on Alan Bradley PLC 5 and need some assitant. How do I...
Replies
10
Views
4,796
hello everyone i am P.L.c new commer for instance and i hear about a brand name alan bradly, i spoke to my plc trainer and he didn't told me why...
Replies
30
Views
6,727
Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
12
Views
261
Back
Top Bottom