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

Page 112

Advertising
background image

Function Block Library

4–50

1336 FORCE — 5.9 August 1995

T-FF

BLOCK TYPE 11 decimal 0B hexadecimal

Toggle Flip Flop

ID =

Exec =

Out 2

NODE 0

Clock

NODE 2

Out 1

NODE 1

DEFINITION

A flip-flop function block that toggles the rising edge of the Clock
input.

INPUT

Clock — A logic input.

OUTPUTS

Out 1 — A logic output.

Out 2 — A logic output.

FUNCTION

When Clock signal changes from false to true:

Out 1 changes to the opposite state.

Out 2 is the inverse of Out 1.

PARAMETERS

DATA TYPE

LINKABLE

DEFAULT VALUE

RANGE

Clock

Logic Input

Yes

False

True/False

Out 1

Logic Output

No

False

True/False

Out 2

Logic Output

No

True/False

CLOCK

TRUE

TRUE

TRUE

FALSE

FALSE

FALSE

Example

OUT1
OUT2

0

1

2

3

4

5

6

7

8

Advertising