Function Block - Set dominant bistable.

Inputs

Input

Data type

Description

SET1

BOOL

Condition for forcing to TRUE (highest priority command).

RESET

BOOL

Condition for forcing to FALSE.

Outputs

Output

Data type

Description

Q1

BOOL

Output to be forced.

Truth table

SET1

RESET

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

1

1

1

1

1

Remarks

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

ST Language

MySR is declared as an instance of SR function block:

MySR (SET1, RESET);
Q1 := MySR.Q1;

FBD Language

Fixed_Image

LD Language

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

Fixed_Image

Fixed_Image See also

R  S  RS


Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?