0% found this document useful (0 votes)
22 views2 pages

031 Funcd

The Test Quality Function Code 31 checks the quality of four inputs, outputting a logic 0 if all inputs are good and a logic 1 if any input is bad. It can assess both analog and digital I/O, but quality is not propagated through module function blocks. The document includes specifications for input addresses and an output truth table for reference.

Uploaded by

fxv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

031 Funcd

The Test Quality Function Code 31 checks the quality of four inputs, outputting a logic 0 if all inputs are good and a logic 1 if any input is bad. It can assess both analog and digital I/O, but quality is not propagated through module function blocks. The document includes specifications for input addresses and an output truth table for reference.

Uploaded by

fxv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Test Quality

Function Code 31
S1 The test quality function code checks the point quality of up to
S2
S3 T ST Q
(3 1 ) four inputs. It is a four input logical OR function that sets the
N
S4 output to a logic 0 if all tested points are good, and to a logic 1
if one or more tested inputs are bad.

Analog and digital I/O and Cnet inputs can be tested for qual-
ity. Quality is not propagated through module function blocks.
All internal points will have good quality.

Outputs

Blk Type Description


N B Point quality:
0 = all inputs good
1 = at least 1 input bad

Specifications

Spec Tune Default Type Range Description


S1 N 0 I Note 1 Block address of first input
S2 N 0 I Note 1 Block address of second input
S3 N 0 I Note 1 Block address of third input
S4 N 0 I Note 1 Block address of fourth input
NOTES:
1. Maximum values are: 9,998 for the BRC-100, IMMFP11/12
31,998 for the HAC

Applications
The example shown in Figure 31-1 shows four analog points
transferred from Controlway addresses three, four, five and
seven into Controlway address six. The test quality block
checks the point quality of all four analog points. If one or
more of the points are bad quality, the output of the test qual-
ity block (block 220) is a logic 1. When all points are good, the
output is a logic 0.

WBPEEUI210504C0 31 - 1
CONTROLWAY ADDRESS 6

PID TO OTHER
AI/B S2 (19) ANALOG
SP
CONTROLWAY (25) S1 (7) S1 215 PROCESS
PV BLOCKS
ADDRESS 3 205 210 S3
BLOCK 210 TR
S4
TS
S1 = 3 S2 = 10
S2 = 210 S5 = 1.000
S6 = 1.000
C AI/B S7 = 0.000
CONTROLWAY (25) S8 = 0.000
ADDRESS 4
O
206 S9 = 105.000
BLOCK 210 N S10 = -5.000
T S1 S11 = 0
R S1 = 4 S12 = 0 TO DIGITAL
S2
(31) OUTPUT OR
O S2 = 210 S3 TSTQ
220 PROCESSING
L S4 BLOCK
W DI/B
CONTROLWAY A (41)
ADDRESS 5
BLOCK 210 Y 207

S1 = 5
S2 = 210
TO OTHER
DI/B ANALOG
CONTROLWAY PROCESS
ADDRESS 7 (41)
BLOCKS
BLOCK 210 208

S1 = 7
S2 = 210

TEST QUALITY
(FUNCTION CODE 31)
OUTPUT TRUTH TABLE
S1 S2 S3 S4 OUT
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 1 1 1
T01631A

Figure 31-1. Test the Quality of Analog and Digital Inputs

31 - 2 WBPEEUI210504C0

You might also like