14
The interlocking program is used to inhibit the
close or open command for a controllable object
in certain situations. In practice the interlocking
program of the control module SPTO 6D3
operates according to the permission principle,
i.e. any control operation not enabled by the
interlocking logic is inhibited.
The interlocking program of the control mod-
ule reads the status of input channels 1…7 and
8…17 and enables the opening or closing of a
controllable object when the actual open or
close command is given with the local push-
buttons or obtained via the serial bus or the
input channels 8…17.
Fig. 8. Operation principle of the control func-
tions.
When parameter S198 = 0, the control module
is in the setting mode, and when parameter
S198 = 1, the module is in the operation mode.
When the control module is in the setting mode
and the interlockings are in use the INTER-
LOCK indicator on the front panel is lit. In the
operation mode the interlocking program is
executed and it cannot be changed by the user.
Only those operations enabled by the interlock-
ing program can be executed.
In the setting mode the interlocking program is
not executed and program changes can be made.
In the setting mode the control of the objects is
not allowed, except for the case that the
interlockings are completely out of use.
The interlocking program, when used, is per-
manently operative both in the local and remote
control mode, even when the control com-
mands are given via input channels 8…17. The
interlocking program is executed every 20 ms.
The interlocking program can be taken com-
pletely out of use with setting S199 .
Example 4:
In example 2 a configuration was set. If no
interlockings are to be used the setting conti-
nues with the following commands:
>99WS199:0:XX ; Set interlockings out of
use
>99WV151:1:XX ; Store the set parameters
In this case when the interlocking program is
not used, parameter S198 cannot be given the
value 1. The status indication and object control
is however operating normally.
The interlockings are set via the SPA bus by
using a programming language according to the
DIN 19239 standard. The structure of a pro-
gram command is:
OPERATION OPERAND
LOADN 2
OPERATION is a logic command
OPERAND is the code number of an input or
an output or the number of a temporary or a
special register.
The following logic commands are used:
LOAD
Reads the status of an input or a
register
LOADN Reads the inverted status of an input
or a register
AND
And operation
ANDN And not operation
OR
Or operation
ORN
Or not operation
OUT
Writes to an output or a register
END
End of program
For inputs 1…7 a separate operand code is
defined for each status, open, closed or unde-
fined. The active status of inputs 8…17 can be
used as operands in the logic.
In SPTO 6D3 the following operand values can
be used with the operations LOAD, LOADN,
AND, ANDN, OR, ORN :
1…7
= input channel number
; Input code, if the status " closed"
is used in the logic
101…107 = input channel number + 100
; Input code, if the status
"undefined" is used in the logic
201…207 = input channel number + 200
; Input code, if the status "open" is
used in the logic
8…17
= input channel number
; Input code, if the status "active"
is used in the logic
70…89
; Number of a temporary register
60 and 61
; Number of a special register
62
; Position information of the L/R
key switch
Interlocking
OPEN/CLOSE
COMMAND
ENABLE BY
INTERLOCKING
&
OPEN/CLOSE
OUTPUT
t