S.B.C. Elettronica S.p.A. - Engineering Division
HPDxxN – High Power User’s Manual
57
Example 4: filtered digital input at 60 msec
Example 5: correlation between parameter values
LD
90.1
ANDN 90.10
ADD
72,75,92
RES
99.0
LDN
90.1
AND
90.10
ADD
72,75,92
RES
99.0
LD
90.1
OUT
90.10
LD
90.1
AND
99.0
SET
90.11
LDN
90.1
AND
99.0
RES
90.11
if digital input 1 is low, load 60 msec on
counter;
if digital input 1 is high for 60 msec
b99.0 will be set to 1 and b90.11=1
if digital input 1 is high, load 60 msec on
counter
if digital input 1 is low for 60 msec,
b99.0=1 and b90.11=0
b90.11 is the status of filtered digital
input 1
RST
ADD
90.1
90.10
99.0
72 75 92
90.1
SET
90.11
90.1
90.10
RST
ADD
99.0
72 75 92
99.0
90.1
90.10
90.1
RST
90.11
99.0
calculate difference between Pr0 and
Pr80 to set b99.2 and b99.3
if Pr0=Pr80 then b81.0=1
if Pr0<Pr80 then b81.1=1
if Pr0<>Pr80 then b81.2=1
if Pr0>Pr80 then b81.3=1
if Pr0>=Pr80 then b81.4=1
if Pr0<=Pr80 then b81.5=1
LD
99.13
SUB
0,80,72
LD
99.3
OUT
81.0
LD
99.2
OUT
81.1
LDN
99.3
OUT
81.2
LDN
99.2
ANDN
99.3
OUT
81.3
LDN
99.2
OUT
81.4
LD
99.3
OR
99.2
OUT
81.5
SUB
99.13
99.3
99.3
81.3
00 80 72
99.3
81.0
81.2
99.2
81.1
99.3
81.5
99.2
81.4
99.2
99.2