![ABB SPAC 536 C User Manual Download Page 47](http://html.mh-extra.com/html/abb/spac-536-c/spac-536-c_user-manual_5356047.webp)
15
For the control module SPTO 6D3 the follow-
ing operand values can be used with the OUT
operation:
20…31
; Output code number
70…89
; Number of a temporary register
The input channel numbers and the output
codes are the same as those defined when the
configuration was set.
The two special registers, 60 and 61 have con-
stant values; register 60 is always zero and
register 61 is one. With register 62 the interlock-
ing program is informed of the position of the L/
R key switch. In the position L (Local) the value
of the register is 0 and in the position R (Re-
mote) the value is 1. The registers 70...89 are
used as temporary data storages during the ex-
ecution of an interlocking program.
Example 5:
How to store the result of a logic operation into
a temporary register.
>99WM200:LOAD 201:XX
; Read the open status of an object wired
to input 1
>99WM201:AND 202:XX
; Read the open status of an object wired
to input 2
>99WM202:OUT 70:XX
; Write the result of the logic operation into
register 70
After these commands the value of register 70
is 1, if both objects are open.
Example 6:
How to use input channels 8…17 in the logic.
>99WM200:LOAD 1:XX
; Read the closed status of an object wired
to input 1
>99WM201:AND 8:XX
; Read the active status of input channel 8
>99WM202:OUT 20:XX
; Enable output 20
After these commands the output OPEN1 (code
20) is enabled if object 1 is closed and input
channel 8 is active.
Syntax rules for setting the interlocking logic for
the control module SPTO 6D3:
1. The setting has to be done in the setting
mode.
2. With the interlocking program the user de-
fines when it is allowed to open and close
an object.
3. The setting parameters M200…M300 are
used. A setting parameter is equal to the line
number of the interlocking program.
4. The interlocking program always begins with
M200. No empty lines are permitted.
5. The interlocking program always starts with
a LOAD or LOADN command.
6. The last command of the program must be
END.
7. One operand can be used only once with the
OUT command.
8. Before the LOAD and LOADN commands,
except for the first one, the OUT command
should be used.
9. Before the END command the command
OUT should be used
Example 7:
Setting of the interlocking logic. The configu-
ration is the same as in example 2. The dis-
connectors 1 and 2 and the circuit breaker are to
be controlled.
Opening of disconnector 1 is allowed only when
the circuit breaker and disconnector 2 are open.
Closing of disconnector 1 is allowed only when
disconnector 2 is closed and the external input
channel 8 is active.
Opening of disconnector 2 is allowed only when
the circuit breaker and disconnector 1 are open.
Closing of disconnector 2 is allowed only when
disconnector 1 is closed and the external input
channel 8 is active. This logic is not shown
below because it is almost the same as that of
disconnector 1.
Opening of the circuit breaker is always allowed.
Circuit breaker closing is allowed when the
status of disconnector 3 is not undefined and the
earth switch is open.