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]
(Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...")
 
 
(3 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 37: Line 37:
 
<div style="min-height:100%;display:block;">
 
<div style="min-height:100%;display:block;">
 
<div style="float:left;width:70px;">
 
<div style="float:left;width:70px;">
[[Изображение:5_7_1_1.png|left|Иконка]]
+
[[File:5_7_1_1.png|left|Icon]]
 
</div>
 
</div>
  
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