Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 73

Advertising
background image

Function Block Library

4–11

1336 FORCE — 5.9 August 1995

DELAY

BLOCK TYPE 6 decimal 6 hexadecimal

Delay

ID =

Exec =

Out Not

NODE 0

Input

NODE 1

NODE 5

Out

NODE 4

Enable

NODE 2

On (ms)

NODE 3

Off ms.

IN

OUT

DEFINITION

The output echoes the logical input after a specified time delay.
Separate time delays of On (ms) and Off ms. are provided for rising
and falling edges. The resolution of the on and off delay times are
calculated and limited by the 20 mS task interval.

INPUTS

Input — A logic input.

Enable — When true, enables the delay function. When false,
holds the output at it’s last state.

On (ms) — On time delay, entered in 20mS increments.

Off ms. — Off time delay, entered in 20mS increments.

OUTPUTS

Out — A logical output that follows Input if Enable is true.

Out Not — A logical output that is the complement of Out.

FUNCTION

1. If Enable

0 0:

— For the rising edge of Input, the on delay is in progress and

the On (ms) counter = mS

÷

20.

— For the falling edge of Input, the off delay is in progress and

the Off ms. counter = mS

÷

20.

2. For the On (ms) delay:

Decrement the On (ms) counter
If On (ms) counter = 0, then Out is true and Out Not is false.

3. For the Off ms. delay:

Decrement the Off ms. counter
If Off ms. counter = 0, then Out is false and Out Not is true.

Advertising