Function Block - Reset dominant bistable.

Inputs

Input

Data type

Description

SET

BOOL

Condition for forcing to TRUE.

RESET1

BOOL

Condition for forcing to FALSE (highest priority command).

Outputs

Output

Data type

Description

Q1

BOOL

Output to be forced.

Truth table

SET

RESET1

Q1 prev

Q1

0

0

0

0

0

0

1

1

0

1

0

0

0

1

1

0

1

0

0

1

1

0

1

1

1

1

0

0

1

1

1

0

Remarks

The output is unchanged when both inputs are FALSE. When both inputs are TRUE, the output is forced to FALSE (reset dominant).

ST Language

MyRS is declared as an instance of RS function block:

MyRS (SET, RESET1);
Q1 := MyRS.Q1;

FBD Language

Fixed_Image

LD Language

The SET command is the rung - the rung is the output:

Fixed_Image

Fixed_Image See also

R  S  SR


Created with the Personal Edition of HelpNDoc: Easily create EPub books