This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

Difference between revisions of "SR latch"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
|-
 
|-
 
|style="padding-left:1em;"|Input S:
 
|style="padding-left:1em;"|Input S:
|style="padding-left:1em;"|[[CFD Language#Data|Numeric]]
+
|style="padding-left:1em;"|[[CFD Language#Data|Integer]]
 
|-
 
|-
 
|style="padding-left:1em;"|Input R:
 
|style="padding-left:1em;"|Input R:
 
|style="padding-left:1em;"|[[CFD Language#Data|Logical]]
 
|style="padding-left:1em;"|[[CFD Language#Data|Logical]]
 
|-
 
|-
!colspan="2" style="background-color:#AFEEEE;"|
+
!colspan="2" style="background-color:#AFEEEE;"|Outputs
 
|-
 
|-
 
|style="padding-left:1em;"|Output:
 
|style="padding-left:1em;"|Output:
|style="padding-left:1em;"|[[CFD Language#Data|Numeric]]
+
|style="padding-left:1em;"|[[CFD Language#Data|Integer]]
 
|-
 
|-
 
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]]
 
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]]
Line 55: Line 55:
 
|[[File:5_7_1_3.png|thumb|Step 1]]
 
|[[File:5_7_1_3.png|thumb|Step 1]]
 
|
 
|
|[File:5_7_1_4.png|thumb|Step 2]]
+
|[[File:5_7_1_4.png|thumb|Step 2]]
 
|-
 
|-
 
|[[File:5_7_1_5.png|thumb|Step 3]]
 
|[[File:5_7_1_5.png|thumb|Step 3]]

Latest revision as of 10:10, 23 November 2015

Appearance
5 7 1 2.png
Symbol
TSR
Group
Flip-flops / Latches
Inputs
Input S: Integer
Input R: Logical
Outputs
Output: Integer
Version CANNY Lab
from 0.6b
Icon

The latch, that does not change the output value if inputs are zero . At presence of a non-zero value at the input «S» (from Set), this value is copied to the output. And with a non-zero value on the input «R» (from Reset), the output state becomes zero.

Features

In a situation, when both inputs are set to non-zero values, priority is given to the input «S» (input value «S» is copied to the output).

Examples

Step 1
Step 2
Step 3
Step 4

See also

RS latch

D flip-flop

T flip-flop

JK flip-flop

Built-in Function Blocks