Memory
Function Code 34
S1
S
(3 4 ) This function memorizes its previous output when both inputs
N
are logic 0. Specification S1 is the set (S) input, and S2 is the
S2
R reset (R) input. When both inputs have the value logic 1, the
S3 output assumes the override state specified by S4. Specifica-
I
tion S3 is the initial state flag. The value specified in <S3> will
be the output after power up or a controller reset.
Table 34-1 shows that the initial state depends solely on the
value of <S3>. The values of <S1>, <S2> and S4 have no effect
on initial output.
Table 34-2 shows the output for all other input
combinations.
Outputs
Blk Type Description
N B Refer to Tables 34-1 and 34-2
Specifications
Spec Tune Default Type Range Description
S1 N 0 I Note 1 Block address of set input
S2 N 0 I Note 1 Block address of reset input
S3 N 0 I Note 1 Block address of initial state
S4 N 0 B 0 or 1 Override value:
0 = reset
1 = set
NOTES:
1. Maximum values are: 9,998 for the BRC-100, IMMFP11/12
31,998 for the HAC
Table 34-1. Power Up or Controller Reset Truth Table
Inputs Override Initial Output
<S1> <S2> S4 <S3> N
0 0 X 0 0
WBPEEUI210504C0 34 - 1
Table 34-2. Normal Operation Truth Table
Inputs Override Initial Output
<S1> <S2> S4 <S3> N
0 0 X X No change from previous output
1 0 X X 1
0 1 X X 0
1 1 0 X 0
1 1 1 X 1
Applications
This function code creates deadbands and retains signals. Fig-
ure 34-1 shows how to control a fan in the following manner:
1. When air temperature reaches 21°C, the fan will turn on.
2. When air temperature goes below 15°C, the fan will shut
off.
3. The fan will turn on when it receives a logic 1 signal, and it
will turn off when it receives a logic 0 signal.
4. Use a function code 12 (high/low compare) block to acti-
vate the <S1> (S) input when the air temperature reaches or
exceeds 21°C. Use the same function code 12 block to activate
the <S2> (R) input when air temperature is 15°C or lower. Fig-
ure 34-1 illustrates this configuration.
If T ≥ 21° C, <S1>=1, <S2>=0, output=1, fan turns on.
If T is between 15° and 21°C (15°C < T < 21°C), <S1>=0,
<S2>=0, output = no change from previous output (1), fan
remains on.
If T ≤15°C, <S1>=0, <S2>=1, output=0, fan shuts off.
H//L S1 (34)
S
S1 (12) 225
H
220 S2
L R
221
S2 = 21 O C S3
S3 = 15 O C I
S4 = 0
T01637A
Figure 34-1. Regulatory Control
34 - 2 WBPEEUI210504C0