Does AB has special internal instructions like the SP4 (1 second timer) in Automatio

piscis

Member
Join Date
May 2003
Posts
241
Does AB has special internal instructions like the SP4 (1 second timer) in AutomationDirect? They are great for flashing pilot lights.
 
Yes they do!...

Originally posted by Ron in THIS post...

AB SLC:
Free Running Clock S:4

Status Only the first 8 bits (byte value) of this word are assessed by the processor. This value is zeroed at powerup in the REM Run mode. You can use any individual bit of this byte in your user program as a 50% duty cycle clock bit. Clock rates for S:4/0 to S:4/7 are: 20, 40, 80, 160, 320, 640, 1280, and 2560 ms.The application using the bit must be evaluated at a rate more than two times faster than the clock rate of the bit. This is illustrated in the example below for SLC 5/02 and higher processors.

Micrologix:
Free Running Clock S:4

All 16 bits of this word are assessed by the controller. The value of this word is zeroed upon power up in the REM Run mode or entry into the REM Run or REM Test mode. It is incremented every 10 ms thereafter.

[Application note: You can write any value to S:4. It will begin incrementing from this value. You can use any individual bit of this word in your user program as a 50% duty cycle clock bit. Clock rates for S:4/0 to S:4/15 are: 20, 40, 80, 160, 320, 640, 1280, 2560, 5120, 10240, 20480, 40960, 81920, 163840, 327680, and 655360 ms The application using the bit must be evaluated at a rate more than two times faster than the clock rate of the bit.



RSLogix 500 - Copyright Rockwell Software 2000, 2001


beerchug

-Eric
 
You can't get exactly 1 second that way, but close enough for blinking lights - 1.28 seconds on and off. For exactly one second you need to create a 1 second timer and have it reset itself. Here is an example:

scratch.jpg
 

Similar Topics

Hi all. I am interested does anyone know does the faceplate for SFC exist for FTVIew? Thanks
Replies
0
Views
1,239
Does anyone know if AB1500 PLC has an instruction like this one in AD “Filter Over Time - BCD (FILTER) IB-422” Or may know how to accomplish the...
Replies
5
Views
2,420
I've been struggling with this for a while now. Somehow, I've got some "old" tags that something in the HMI is trying to reference, and dutifully...
Replies
3
Views
4,704
I am trying to connect with a Schneider plc which has a firmware version only available in Somachine v4.2. In Machine expert After taking upload...
Replies
0
Views
106
Back
Top Bottom