S.B.C. Elettronica S.p.A. - Engineering Division
HPDxxN – High Power User’s Manual
71
1 2 4 8 C
1 2 4 8 C
1 2 4 8 C
1 2 4 8 C
x1000
x100
x10
x1
12
13
14
15
12
13
15
14
X3
X2
CONNECTION OF 4-DIGIT PRESELECTOR
Example 15: programmable zero speed window
Assume you want the value of the main analogue reference to remain below a programmable
threshold when it is cancelled. In practice, a speed window around zero rpm is defined within which
speed is set to zero. The value of the threshold is set in parameter Pr88 in rpm; parameter Pr89 is
used as an auxiliary memory area.
The required pico-PLC program is as follows:
LD
99.13
ADD
07.72.89
LD
89.15
MUL
89.71.89
LD
99.13
SUB
89.88.72
AND
99.2
OUT
40.6
Copy analogue reference value in Pr89
if Pr89 < 0 invert Pr89 to obtain the
modulus
calculate difference between Pr89 and
Pr88:
if negative, set drive to stop
ADD
99.13
99.13
40.6
07 72 89
89.15
99.2
MUL
89 71 89
SUB
89 88 72