Content: 13 Locking Functions and Operating Modes .............................................................. 3
Content: 13 Locking Functions and Operating Modes .............................................................. 3
Content 13
13 Locking functions and operating modes ..............................................................3
13.1 Learning target....................................................................................................................... 3
13.2 Interlock ................................................................................................................................. 3
13.2.1 Overview of the locking functions .......................................................................................... 3
13.2.2 Locking logic .......................................................................................................................... 5
13.2.3 The interlock blocks ............................................................................................................... 6
13.2.4 The interlock faceplate........................................................................................................... 7
13.2.5 Bypassing interlocks .............................................................................................................. 9
13.2.6 Interpretation of the status displays..................................................................................... 10
13.2.7 Evaluation of the signal status "Simulation" in the technological block ............................... 14
13.2.8 Task and Checkpoint ........................................................................................................... 15
13.3 Local/Remote control and other operating modes............................................................... 16
13.3.1 Overview of the operating modes of APL ............................................................................ 16
13.3.2 Status diagram for the operating modes of APL.................................................................. 17
13.3.3 Operating mode "On"........................................................................................................... 18
13.3.4 Operating mode "Out of service" ......................................................................................... 18
13.3.5 Operating mode "Manual" and "Automatic"......................................................................... 19
13.3.6 Operating mode "Program mode" for controllers................................................................. 20
13.3.7 Operating mode "Local"....................................................................................................... 21
13.3.8 LocalSetting = 0 ................................................................................................................... 22
13.3.9 LocalSetting = 1 ................................................................................................................... 22
13.3.10 LocalSetting = 2 ................................................................................................................... 23
13.3.11 LocalSetting = 3 ................................................................................................................... 24
13.3.12 LocalSetting = 4 ................................................................................................................... 25
13.3.13 Deactivating interlocks......................................................................................................... 25
13.3.14 Forcing operating states ...................................................................................................... 26
13.3.15 Rapid stop for motors .......................................................................................................... 27
13.3.16 Priorities of operating modes and control functions............................................................. 28
13.3.17 Task and Checkpoint ........................................................................................................... 28
13.2 Interlock
13.2.1 Overview of the locking functions
Permission:
Activation (On) enable
Interlock:
Interlock without reset
Protection:
Interlock with reset
For locking drives (e.g.: “MotL” = motor control) there are three connections for the
corresponding blocks:
• "Permit" Switch on enable (enable),
• "Protect" Locking with reset (protection),
• "Intlock" Locking without reset (lock),
The function “Resetting the interlock via input signals” can only be
used in case of a feedback error or an interlock of the type "Protect".
ATTENTION!
The interlocking logic in the PCS7 standard library is the exact opposite:
A logic “0” means that the Interlock is not active and everything OK is (Good
state).
A logic “1” means that the Interlock is active (i.e. fail safe).
1
2
3
4
5
6
7
Bypassing means that the signal is excluded from the logic. If all input parameters are
bypassed the output value is defined via the “DefaultOut” parameter.
3
7 2
1
4
5 6
ATTENTION!
“NotUsed” is now used to change the color to gray. All other functions of the Interlock
block are not affected by this. This is meant to indicate to the user that this interlock
has currently no effect on the drive.
One possible application could be the interconnection of the “Motor runs” feedback
from the drive block to the NotUsed of the Interlock block which controls the enable.
If the motor runs the enable has no further meaning.
“Interconnected” faceplates can be called via the arrow keys in the Interlock faceplate.
For example, the faceplate of the MonAnL block which is interconnected with the
Interlock or the faceplate for “evaluating” MotL blocks.
Open bypass
operation
Open interlock
Valve is faceplate
locked
Result: valve is
Input is bypassed unlocked
• Interlock status:
If the locking signals are bypassed, the interlock status changes to unlocked.
• Signal Status:
If one of the interlock signals is bypassed, the signal status of the interlock block
changes to "Simulation".
• Bypass information:
If one of the interlock signals is bypassed, the signal status of the interlock block
changes to "Simulation" and the symbol for the bypass is shown instead of a signal
status.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 6.9.8.2 VlvL standard
view and 7.1.3 Intlk02 functions for more details
Furthermore the Signal Status of the respective process signals is displayed in the
Interlock block and passed on to the technological block according to priority.
The block determines the signal status of the output signal, based on the signal status
of the input values from the configured logic operation according to the following table
(highest priority is 0):
General rules
• The best/worst signal status is generated according to the priority table for
technological blocks.
• The signal status of the output is generated from the best (lowest priority) or worst
(highest priority) signal status of those input signals (highest priority is 0), which are
interconnected and not excluded (relevant input signals) in accordance with the logic
operation and its result.
• If all inputs are excluded or not interconnected, the signal status of the output is set to
simulation 16#60).
Logical OR operation
• If the output value is 1, it has the signal status with the lowest priority of all interconnected input signals,
which have a value of 1.
• If the output value is 0, it has the signal status with the highest priority of all interconnected input signals.
• If the output value is 0 and at least one input is excluded, the signal status of the output is set to
simulation at best (16#60).
Feature Bit 23
If the Interlock block passes on the Signal Status 16#28 (bad, process-specific, red
factory) or 16#00 (bad, device-specific, red wrench), the interlock will be evaluated as
bad in any case (padlock closed, interlock effective).
You can use the Feature bit 23 (Evaluation of signal status) to specify if the signal
status of the inputs is to be checked for the values 16#00 or 16#28. The signal status of
the inputs itself remains unchanged here.
The default setting is 0.
• Bit = 0: No evaluation of the signal status. The status display within the interlock
block is always shown as "0".
• Bit = 1: the signal status is determined, an input with ST = 16#00 or 16#28 is
forwarded with value = 0. The "Negate signal" function at the input of the block has
no influence on the reaction in this case.
ST = 16#00
ST = 16#28
• If the output value is 0, it has the best signal status (lowest priority) of the relevant
input signals with a value of 0.
Example:
ST = 16#00
ST = 16#28
ST = 16#28
• If the output value is 1 and at least one input is excluded (bypassed), the signal
status of the output is set to simulation (16#60).
ST = 16#00
ST = 16#28
OR gate with
output value 1
ST = 16#28
• If the output value is 0, it has the worst signal status (highest priority) of all relevant
input signals.
Example:
ST = 16#00
ST = 16#28
OR gate with
output value 0
ST = 16#00
• If the output value is 0 and at least one input is excluded, the signal status of the
output is set to simulation (16#60).
Interlock condition is
regarded as a
bypassed signal
If the interlock signal has the status 16#60 ("Simulation") and the interlock condition is
fulfilled (e.g. Intlock = 1), the interlock is regarded as bypassed and displayed with
the icons for “bypassed” – in the faceplate.
Interlock condition is
regarded as a
simulated signal
If the interlock signal has the status 16#60 ("Simulation") and the interlock condition is
not fulfilled (e.g. Intlock = 0), the interlock is regarded as simulated and displayed
with the icons for "simulated” – in the faceplate.
If the Interlock block is interconnected with a driver block and the Interlock block
displays a yellow hand as the signal status, this will not necessarily indicate a
simulation. If the process value is faulty at the channel driver and a substitute value
was parameterized, the driver will also pass on the signal status simulation to the
interlock block and the symbol will be displayed in the OS.
Goal
Preventing to have more than one dose valves opened
Checkpoint
Controller
Automatic mode
Manual mode
Program operation
Out of service
ModLiOp = 0 ModLiOp = 1
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.10 for a description
of these „Feature“-Bits. Also check the online help.
13.3.8 LocalSetting = 0
13.3.9 LocalSetting = 1
Remote 0
Local 1 No operation
Off
On
No switchover
Motor control
For LocalSetting = 1 the control signals are from the field (remote, off, on) via
channel blocks to interconnectable parameters of the motor block.
The motor block forwards the start signal via channel blocks to the MCC (Motor-Control-
Center) which switches the motor on.
The feedback of the running motor is forwarded from the MCC at the motor block via the
interconnectable parameter FbkRun.
In Local mode, no operation is possible from the faceplate. Switching to other modes is
also not possible.
13.3.10 LocalSetting = 2
Remote 0
No operation
Local 1
Off No switchover
Motor control
On
In this case the Local switch is directly connected with the MCC which can directly
switch the motor on or off.
The motor block is controlled via a tracking of the feedback message. The control of the
input signals StartLocal and StopLocal is ineffective in this case. Switching over
into another mode is not possible here, since it is switched over via LocalLi. I.e. the
Local mode is controlled from the field.
The output parameter LocalAct, which is connected to the MCC via a channel driver
Pcs7DiOu, sees to it that switching on and off locally is also only possible in Local
mode.
13.3.11 LocalSetting = 3
No operation
Off
On
Motor control
In case of LocalSetting = 3 the control signals are coming from the field level
(on/off). This setting works as in LocalSetting = 1.
The difference is that the Local mode is selected via the faceplate.
13.3.12 LocalSetting = 4
No operation
Off
Motor control
On
In case of LocalSetting = 4 the control signals are from the field (on/off).
This setting case works as in LocalSetting = 2. The difference is that the Local mode
is selected via the faceplate.
The output parameter LocalAct, which is connected to the MCC via a channel driver
Pcs7DiOu, sees to it that switching on and off locally is also only possible in Local
mode.
Via the input parameter BypProt (bypass protection) it can be specified whether
interlocks are taken into account in Local mode or not. This functionality applies for all
LocalSettings in Local mode. A “0” at the input means that interlocks are taken into
account in Local mode and a value “1” means that the interlock has no effect.
The interlock is displayed as a lock next to the Protection button in the faceplate. A
crossed-out lock refers to an interlock which is not in effect (BypProt = 1).
In case the control signals go directly to the MCC, an interlock to the MCC can become
effective through the output parameter LockAct at the motor block.
Block icon A forced operating state is shown in the block icon for motors,
valves and dose blocks by means of a red F and a crossed out
padlock.
There is no indication for controller blocks.
Activated with
feature bit 14
Rapid stop has the highest priority in all operating modes (manual and automatic mode
as well as local mode) and operating states (such as the forcing of states). It is activated
via the faceplate. This depends on the setting at the Feature bit 14 (Enabling rapid
stop via faceplate).
You issue the command for rapid stop state using the RapidStp = 1 input parameter.
When you click on the "Rapid Stop" button in the faceplate, the drive stops immediately,
shown as follows in the faceplate:
The R_StpAct = 1 output parameter is set to implement the rapid stop function for
local mode. You need to interconnect this parameter to the corresponding driver block
and in the I/O to realize the rapid stop function in the hardware.
Rapid stop is unlocked for all operating modes with the "Reset" button in the faceplate
(ResetOp = 1); in CFC it is unlocked with the ResetLi = 1 input parameter.
Rapid stop can be selected even with the motor in stop state. In this case, the motor
start is prevented.
Out of Service
BypProt = 0
Local mode LockAct
Priority
Localsetting = 2/4)
Forced operating
State
(Forcing)
Goal
Local operation of M316 using the Signal Box
Checkpoint