PAS CFC Bloques Específicos
PAS CFC Bloques Específicos
Getting Started 1
SICAM PAS Basics 2
Commands 3
SICAM
Power Automation System Indications 4
Automation Blocks
Measured and Metered Values 5
Special Blocks 6
Sequence Blocks 7
Example 8
Appendix A
References, Index
Release: 14.01.04
E50417-H8976-C287-A1
Notes on Safety This manual does not constitute a complete catalog of all safety measures required for
operating the equipment (module, device) in question because special operating conditions
might require additional measures. However, it does contain notes that must be adhered
for your own personal safety and to avoid damage to property. These notes are highlighted
with a warning triangle and different keywords indicating different degrees of danger:
Danger
means that death, severe injury, or substantial damage to property will occur if the
appropriate safety measures are not taken.
Warning
means that death, severe injury, or substantial damage to property can occur if the appro-
priate safety measures are not taken.
Caution
means that minor injury or damage to property can occur if the appropriate safety measures
are not taken.
Note
is important information about the project, handling the product, or the part of the documen-
tation in question, to which special attention must be paid.
Qualified Personnel
Commissioning and operation of the equipment (module, device) described in this manual
must be performed by qualified personnel only. As used in the safety notes contained in this
manual, qualified personnel are those persons who are authorized to commission, release,
ground, and tag devices, systems, and electrical circuits in accordance with safety
standards.
Use as Prescribed
The equipment (device, module) must not be used for any other purposes than those
described in the Catalog and the Technical Description. If it is used together with third-party
devices and components, these must be recommended or approved by Siemens.
Correct and safe operation of the product requires adequate transportation, storage,
installation and mounting as well as appropriate use and maintenance.
During operation of electrical equipment, it is unavoidable that certain parts of this
equipment will carry dangerous voltages. Severe injury or damage to property can occur if
the appropriate measures are not taken:
• Before making any connections at all, ground the equipment at the PE terminal.
• Hazardous voltages can be present on all switching components connected to the
power supply.
• Even after the supply voltage has been disconnected, hazardous voltages can still be
present in the equipment (capacitor storage).
• Equipment with current transformer circuits must not be operated while open.
• The limit values indicated in the manual or the operating instructions must not be
exceeded; that also applies to testing and commissioning.
Purpose of This manual is a reference document for the graphical and textual
this manual configuration of the SICAM PAS automation by means of the
SICAM PAS automation blocks. The basic knowledge required for the
work with the SICAM PAS automation blocks is provided in Chapter
Basics. The remaining chapters describe the functionality of the
automation blocks as well as the parameterization and connection of
the block inputs and outputs.
Scope of validity of This manual is valid for SICAM PAS automation blocks, version 5.0.
this manual
Further support If you have any further questions regarding SICAM PAS automation
blocks, please contact your Siemens sales representative.
Training courses If you are interested in our topical training program, please contact our
training center:
Siemens AG
Power Transmission and Distribution
PTD SE Training Center
Humboldtstr. 59
90459 Nuremberg
Germany
Phone: ++49 - 911 - 4 33 70 05
Fax: ++49 - 911 - 4 33 79 29
Internet: [Link]
1 Getting Started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2.4 Pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.2.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.2.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.2.3 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.3.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.3.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.3.3 Others. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.3.4 Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.4.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.4.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3.4.3 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.4.4 Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4 Indications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.2.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4.2.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.2.3 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.2.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.3.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4.3.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.3.3 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.3.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.4.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4.4.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4.4.3 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.4.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.5.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
4.5.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4.5.3 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
4.5.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
4.6.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.6.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.6.3 Others. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
4.6.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.7.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.7.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.8.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4.8.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
4.8.3 Others. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4.8.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4.9.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.9.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
4.9.3 Others. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
4.9.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.10.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
4.10.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4.10.3 Others. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
8 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
A Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
A.3 Data Types of the SICAM PAS Process Data Structure . . . . . . . . . . . . . . 198
The figure below explains the basic steps for the configuration of a
system using the SICAM PAS automation blocks.
Automation editor
Create the program
Automation editor
Compile the program
Requirements The example in this chapter is based on the Getting Started chapter of
the SICAM PAS Configuration and Operation manual. For this reason,
the following requirements must be met before starting the soft PLC:
• A system has been created in SICAM PAS UI - Configuration.
• A soft PLC exists within this system.
[Link]
Opening SICAM • Open SICAM PAS UI - Configuration via the Windows start menu:
PAS UI - SICAM > PAS > PAS UI Configuration.
Configuration
• Click the Mapping tab.
and mapping
values • Click with the left mouse button to select and open SoftPLCMaster in
the mapping tree.
• Map the value monitoring direction and the value command direction.
[Link]
Note:
The CFC variable group and the CFC variable name must be assigned.
They are used as variable names for the PAS interface variables in the
soft PLC.
Opening the soft To change from the map view to the configuration view:
PLC user interface
• To open SICAM PAS PLCUI, select CFC from the configuration tree
and click Open in the context menu.
The SICAM PAS PLCUI window opens with a project including two empty
files:
• [Link]
This is an empty ST program (textual programming).
• [Link]
This file is always generated automatically. It includes the interface
variables selected in SICAM PAS UI - Configuration.
[Link]
[Link]
The CFC editor with the newly created chart "CFCPlan" opens.
[Link]
CFC chart In SICAM PAS, the order of the automation blocks is not specified by any
numbering.
The sequence of execution is determined by the arrangement of the
blocks.
A CFC chart is always processed from top to bottom and from left to right.
Selecting • After creating a project, click with the right mouse button in the CFC
and inserting box of the CFC editor.
a block
• Select Insert block from the context menu to open the corresponding
window.
• Select the desired block from the Insert block window.
• Click OK to confirm.
• Click with the left mouse button to place the CFC block in the CFC
editor.
[Link]
Note:
All PAS block names start with PAS_.
Specifying the PAS Select values specified in SICAM PAS UI - Configuration for the
interface variable automation program.
(global variable)
• Double-click the left-hand margin bar to display the
Insert global variable window.
• Select a global variable and click Insert to confirm.
The Address and Comment columns in the window are not relevant.
[Link]
The values selected in the Insert global variable window have the
following significance:
• Values starting with M_ are master values.
These values are defined by the soft PLC (e. g. group indications,
marker commands).
• Values starting with S_ are slave values.
These values are made available by protocol drivers and further
processed in the soft PLC (e. g. input indications for group indications,
derived commands).
• Values starting with G_ are group values.
Group values are special input values (refer to Slave) for the soft PLC.
They include several individual values. Group values can only be
parameterized in the incoming monitoring direction!
Margin bars in the The left-hand and right-hand margin bars in the CFC editor provide
CFC editor different functions.
The following functions are selected via the left-hand margin bar:
• Commands to the soft PLC
• Incoming indications, metered values and measured values to be
processed
The right-hand margin bar provides the following functions:
• Outgoing commands (command derivation, switching sequence)
• Indications generated by the soft PLC (e. g. group indications,
measured values, metered values)
[Link]
Creating To describe blocks, you can insert text blocks in the CFC chart.
text blocks
• Select Insert Text Block from the menu bar.
• Click with the left mouse button to place the text block at the desired
location in the CFC chart.
If you want to arrange the text block in a different way, move it to the
desired location via Drag & Drop.
• Click the text block and click with the right mouse button.
Select Properties from the context menu to edit the text.
Description The BVALUE output of the PAS_ORI block is connected to the LOCK
input of PAS_COMMCP. The OUT output is connected at
PAS_COMMCP. The REl_on, REL_OFF inputs for the general interlock
are set to 1. The LOCK input has the value 1.
The command always locks if a group indication is present.
[Link]
Grid in the The blocks are arranged in a grid in the CFC chart. They cannot be
CFC editor arranged freely. To simplify parameterization, this grid can be shown.
Select View > Grid (CFC) from the menu bar to show or hide the grid.
Specifying All inputs and outputs of the blocks are always displayed. The default
blocks value of the inputs is 0.
(There are two exceptions, refer to Preassignment of the PAS_SELC,
Table 3-5 on page 58 and PAS_CRCOM blocks, Table 3-1 on page 46).
To assign another value to an input:
• Select the input.
• Click with the right mouse button. Open the Properties window via
the context menu. Next, click the Default Value tab.
• Insert the new value and click OK to confirm.
[Link]
[Link]
Prior to the All programs which are to be processed must be linked first.
compilation
• Select the desired program from the project navigator via the Files
tab.
• Click with the right mouse button and select Link to Resource...
from the context menu.
• Select the Resources tab.
All programs which are to be compiled must be available in the project
navigator.
[Link]
Note:
Each program must be selected individually and assigned to a resource.
Multiple selection is not possible.
This step is important for the soft PLC and must not be forgotten!
Optimizing the The following options are available to optimize the compilation process
compilation and to adapt it to your requirements:
• Speed only
The machine code is generated directly - no debugging is possible
(fast execution).
• Size only
Interpreter code, debugging is possible (slow execution). This is the
default setting and is appropriate for test purposes. When all testing
and commissioning tasks have been completed, switch to the normal
setting.
• normal
This option corresponds to speed only.
This setting is performed via the Resources tab.
• Select Resource from the project navigator.
• Click with the right mouse button and select
Properties from the context menu.
Select the desired option from the Edit Resource Specifications
window which is now displayed.
Note:
As soon as all programming and test steps have been completed, the
system should be switched over to normal for performance reasons.
[Link]
Figure 1-14 Successful compilation, compilation message displayed in the output window
[Link]
[Link]
Figure 1-16 Programming with ST - variables declaration and program code window pane
[Link]
SICAM PAS UI - Config ensures that the variable names are unique.
An incorrect interconnection of process information (indications,
measured values and metered values) is prevented by the blocks.
Processing does not take place in this case.
Task One single task exists in the SICAM PAS soft PLC, which considerably
simplifies parameterization. During each execution of the soft PLC, all
linked programs are computed.
The task start is event-controlled. The following events are possible:
• New input indication/measured value/metered value
• New command/command acknowledgement
• An interlock request (the central distribution component of the
SICAM PAS - DSI server requests whether a command is interlocked;
interlocks are specified via the soft PLC)
• Timeout (e. g. PAS_TIMERSW, PAS_TRANS)
Cyclic sequences can be realized via PAS_TIMERSW.
General Die SICAM PAS process data of the PASDATABLOCK data type are
arranged according to a defined structure, the so-called SICAM PAS
process data structure (refer to Chapter 2.2.1).
The SICAM PAS process data structure is subdivided in individual,
uniquely positioned structure blocks. The structure blocks comprise
information and included additional information such as a time stamp,
status, cause, etc. The unique position of the structure blocks allows a
unique addressing of different items of partial information within the
SICAM PAS process data structure.
The SICAM PAS process data structure is mapped in the main memory
of the PAS hardware by means of a structured area. The information
mapped here and additional information is combined to PAS information
and distributed within the system, i. e. it is available at any location within
the PAS system.
Due to the unique structure, i. e. the unique position of the structure
blocks within the information structure, specific CFC blocks can be used
to filter partial information from PAS information. In this way, they are
available for logical links or additional processing steps.
The sections below provide basic information on the process data
structure.
27 Change marker 28
27 Value 28
27 Time stamp 28
ID number
Additional information
The table below explains the components of the process data structure.
A A(ddress reference) - 0 to 1
determines whether the
information address refers
to the target address or to
the source address.
0: target-oriented
addressing
1: source-oriented
addressing
2.2.4 Pointers
A
Pointer
PD structure
[Link]
Note:
In the following sections, the term pointer designates the address of an
item of PAS information (process data structure blocks) in the main
memory of the soft PLC.
General The inputs and outputs of the SICAM PAS automation blocks process
different data types depending on the type of the incoming or outgoing
signals. The following data types are possible:
BOOL (BO)
BYTE (BY)
WORD (W)
DWORD (DW)
INTEGER (I)
REAL (R)
TIME (TI)
PASDATABLOCK
PASCOMMANDBLOCK
PASGROUP
PASSTATELINK
A variable of the data type BOOL has 1 Bit (internal representation with
32 bits; only one bit is visible for the user). The variable format required
for direct parameterization is indicated in the table below:
0 or 1 0 FALSE
or FALSE
1 TRUE
or TRUE
False 0
True 1
0 to 255 dec. 28 28
-3.456e-3 -3.456e-3
2.573e19 2.573e19
T#123456789ms T#3h25m45s678ms
T#32m5s T#32m5s
Note:
For inputs and outputs of PAS blocks where pointers have been applied
to a PASDATABLOCK, PASCOMMANDBLOCK, PASGROUP or
PASSTATELINK, the compiler issues an error message if incorrect
connections have been programmed.
An error message is only issued in case of an erroneous interconnection
of the structure types. However, the compiler does not check if an
incorrect interconnection exists within the same structure type.
General The inputs and outputs can be parameterized directly. The permitted
variable format depends on the data type and is explained in the specific
data type sections (refer to Chapter 2.3).
Proceed as follows to directly specify the inputs of the SICAM PAS
blocks:
CFC • Select the block input to be parameterized from the CFC editor.
• Click with the right mouse button and select Properties from the
context menu.
• Select the Default Value tab in the displayed window.
• Enter the desired value in the Value input box (refer to Figure 1-11).
• Click OK to confirm your entries.
ST In the program code, the block is programmed via the function call-up.
Note:
When parameterizing and interconnecting block inputs and outputs, be
aware of the instructions provided in the description of the corresponding
automation blocks in Chapter 3 to Chapter 7 or Table A-11 on page 198.
Checking The following section explains how to check PAS information transmitted
to the automation blocks (process data structure block):
Request of the change marker of the incoming PAS information. If no
change exists, the processing is aborted.
Plausibility check of the input variables. The input variable type is
checked. Type errors are fatal errors.
Processing of additional information:
The status byte is required to display warnings and errors. All warnings
and errors are added to the outgoing indication. If the input indication is
marked as INVALID, the output indication is also marked as INVALID.
Each modified item of PAS information starts the processing of the value.
For this reason, the time stamp of the incoming PAS information is
copied to the outgoing information.
The value is calculated if no error status has been stated during the
processing of additional information. An overflow of the calculation is
detected as an error and the corresponding error status is set.
Note:
The interconnection via the margin bar is an integral part of the CFC
chart. It is imported or exported automatically together with the chart.
[Link]
[Link]
Marker commands Marker commands are system-internal commands. They are set for
specifying the information value of system-internal objects, e. g.:
In case of parameter changeovers or a clearing/pre-assignment of
metered values
CFC view
PAS_CRCOM.tif
3.2.1 Function
Create command The command block is created on the output depending on the selected
input:
Depending on the parameterization of the INVERT input, INDIC creates
a command block upon the appeareance (RAISED indication, INVERT =
0) or disappearance (CLEAR indication, INVERT = 1) of a single-point or
double-point indication.
SEND
Creates a command block only with a rising edge, i. e. when the value of
the input changes from 0 to 1.
CHANGE
Always creates a command block when the change marker changes, i. e.
from 0 to 1 or from 1 to 0.
Command To derive the created command, the OUTPUT must be connected with
derivation the COMM input of a downstream block PAS_COMMCP or PAS_ACQ
(restore of metered values) or PAS_SELC (derivation of soft PLC-
internal commands). To connect more than one PAS_CRCOM to a
command block, a PAS_MUXTEL is connected between (refer to
PAS_MUXTEL).
In addition to this, the IN input of this downstream block must be
connected to the left-hand margin bar of the soft PLC.
The OUT output of PAS_COMMCP must be connected to the right-hand
margin bar - CFC/output variable - ST of the automation.
3.2.2 Connections
Inputs
Note:
The indication value does not influence the
command value.
Note:
Must be connected if CHANGE is not
connected and must not be connected if
CHANGE or INDIC are connected!
Note:
Must be connected to the CHANGE output of
another block if SEND is not connected. Must
not be connected if SEND or INDIC are
connected!
Note: (With
command 19)
Must be parameterized!
Note:
Must be parameterized!
If the value of the command derivation is not
determined via the created indication (INDIC).
Caution:
BO_VALUE
influences the
least-value bit
of DW_VALUE!
Note:
The internal system time is entered if the input
is not assigned.
Outputs
Note:
Must be connected to the COMM input of a downstream
command block!
3.2.3 Examples
Command In the example below, the Boolean logic controls the command
derivation derivation. When the Boolean signal rises, a switch ON or OFF occurs
after each second Boolean signal.
[Link]
[Link]
CFC view
PAS_COMMCP.tif
3.3.1 Function
In SICAM PAS, the central DSI server monitors the command execution.
It ensures a consistent command execution and has a monitoring time
(PAS UI parameterization). Monitoring times are not parameterized in the
soft PLC!
The PAS_COMMCP block ensures the processing of command
interlocks. The interlock is independent of the command processing. If a
command which is to be connected as "to be locked" has been
parameterized in the PAS system, the DSI server transmits a request to
the soft PLC to find out whether the command has been released. A
PAS_COMMCP block must be specified for this command in the
automation. It processes the request and checks the OCK, REL_ON and
REL_OFF inputs. If they allow switching, the DSI server gets a positive
release. Otherwise, the response is negative. It is not relevant for the
interlock function whether a command is active or not.
Note:
All slave commands and interlocks are specified using
the PAS_COMMCP block.
3.3.2 Connections
Inputs
Note:
For the general interlock, the LOCK input must be
connected to one of the ION, IOFF or NOT_DBI
outputs of an INDIC block (depending on the circuit
logic) which determine the current status of a switch.
If 1 is present on the LOCK input, it is locked and an
incoming command job gets a negative
acknowledgement.
All commands are accepted if the LOCK input is not
connected.
Note:
Must be parameterized!
Note:
Can be connected to the OUTPUT of a
PAS_CRCOM block.
Outputs
Note:
Must be interconnected, i. e. the output is connected to the
right-hand margin bar of the CFC!
3.3.3 Others
Error handling Inputs without any connection are checked. If inputs which must be
connected to ensure the functionality of the block are not linked or linked
incorrectly, no information is processed in the block. The error
information is output on the DIAG diagnostic output (refer to
Appendix A.2).
3.3.4 Example:
Issuing the For a PROFIBUS FMS bay device, a command must be derived for 2
switching switching sequences. The command derivation is connected via
command the COMM input and PAS_MUXTEL.
[Link]
Note:
The derived commands are only issued if the interlock conditions do not
prevent this (LOCK, REL_ON, REL_OFF).
Each slave command mapped to the soft PLC automatically uses the DSI
server interlock check. Consequently, no interlock check can be
performed if a slave command is mapped to the soft PLC without being
connected to a PAS_COMMCP block.
The following rule applies: All slave commands of the soft PLC must be
interconnected with a PAS_COMMCP in a program.
CFC view
PAS_SELC.tif
3.4.1 Function
3.4.2 Connections
Inputs
Note:
May be interconnected with the ACTIVE
output of other command blocks!
Note:
Must be parameterized!
Note:
Must be parameterized!
Note:
Can be connected to the OUTPUT of a
PAS_CRCOM block!
Note:
Must be connected!
Outputs
3.4.3 Others
Error handling Inputs without a connection are checked. If inputs which must be
connected to ensure the functionality of the block are not linked or linked
incorrectly, no information is processed in the block. The error
information is output on the DIAG diagnostic output (refer to
Appendix A.2).
3.4.4 Example:
Jobs Indication processing in the field of soft PLC includes the following
functions:
Derivation of indications
Splitting of indications
Conversion of indications
Linkage of indications (formation of group indications)
OR operation
AND operation
Inversion of indications
Delay of indications
Comparison of indications
Transformer tap indications
Bit pattern indications
Derivation of interlocks
CFC view
PAS_CRI.tif
4.2.1 Function
4.2.2 Connections
Inputs
Note:
Must be connected if CHANGE is not connected and
must not be connected if CHANGE is connected!
Note:
Must be connected if SEND is not connected and
must not be connected if SEND is connected!
Note:
Must be parameterized!
TIMEHIGH WORD Time stamp (bit 32 to 47) If the inputs are left 0
free, the internal system
time is entered.
TIMELOW DWORD Time stamp (bit 0 to 31) 0
Outputs
Note:
Must be connected, i. e. the output is connected to the right-
hand CFC margin bar or set as an output variable in the ST
program!
4.2.3 Others
Error handling If you specify an incorrect indication type, the default value is set for the
type. The INVALID bit is set to TRUE in the status byte.
4.2.4 Example
Bsp_ANDI_CRI.tif
Block PAS_CRI
An indication is created if the signal on the SIGNAL_1 input changes.
After its creation, this indication is connected to the right-hand margin bar
(or to the input of the downstream block).
Further examples Refer to Example of a PAS_CMPT and PAS_CRI block, page 90,
refer to Example of a PAS_CMPT and PAS_CRI block, page 96.
CFC view
PAS_TSP.tif
4.3.1 Function
4.3.2 Connections
Inputs
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Outputs
Note:
Must be connected, i. e. the input is linked to an item of
PAS information!
4.3.3 Others
Error handling A fatal error is output if the inputs are connected to the incorrect
indication type (e. g. event indication).
4.3.4 Example
Bsp_ANDI_TSP.tif
PAS_TSP block
The indication structure block on the output of the PAS_ANDI block is
connected to the IN input of the PAS_TSP block. The incoming double-
point indication is converted to a single-point indication and output as
PAS information via the INDIC output.
CFC view
PAS_ANDI.tif
PAS_ORI.tif
4.4.1 Function
PAS_ANDI The PAS_ANDI block realizes AND operations for group indications of
single-point and/or double-point indications. The block can perform an
AND operation of maximally 4 indications at the same time. If several
indications exist, it can be cascaded.
PAS_ORI OR operation
The group indication is set as soon as the first linked indication is present
(RAISED). When the last of the linked indications disappears, the group
indication is cleared, i. e. set to CLEAR. The time of the indication which
rises first or is cleared last is applied for the result indication.
The startup indication is transmitted as soon as the startup indications of
all inputs have been received.
4.4.2 Connections
Inputs
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Maximally up to
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Outputs
Table 4-6 Outputs of the PAS_ANDI and PAS_ORI (Forts.) link blocks
INDIC PASDATABLOCK The address of the result indication is present on this output.
DP
Note:
Must be connected, i. e. the input is linked to an item of
PAS information!
4.4.3 Others
4.4.4 Example
CFC view
PAS_INVER.tif
4.5.1 Function
With the PAS_INVER block, you can invert single-point and double-point
indications, i. e. RAISED indications are inverted to CLEAR indications
and vice-versa. Incoming indications are checked for validity before they
are processed.
4.5.2 Connections
Inputs
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Outputs
INDIC PASDATABLOCK The address of the result indication is present on this output.
SP, DP
Note:
Must be connected, i. e. the input is linked to an item of
PAS information!
4.5.3 Others
4.5.4 Example
The example below shows a logical link of five error indications. The
logical result of the outgoing indication may only be TRUE (1) if the
following conditions are met:
At least one of the first four error indications is set to TRUE.
The fifth error indication must be set to FALSE.
Bsp_ANDI_ORI_INVER.tif
PAS_INVER block
The PAS_INVER block is activated with EN = TRUE. The IN input of the
PAS_INVER block is connected to the fifth error indication. The inverted
indication is present on the INDIC output, i. e. the logical value of the
indication is inverted.
PAS_ANDI block
The PAS_ANDI block checks whether both above-mentioned conditions
are met. If the conditions are met, the output indication on the INDIC
output gets the logical value TRUE; otherwise it is FALSE.
CFC view
PAS_DELAYI.tif
4.6.1 Function
4.6.2 Connections
Inputs
Note:
The data type of the input indication
(protocol type SP or DP) must correspond to the
data type of the result indication on the INDIC
output.
Must be connected, i. e. the input is linked to an item
of PAS information!
Note:
Responds to specified filter criteria.
Note:
Only valid for double-point indications.
UDF_MODE BYTE This input specifies how the fault position is output: 0
0 = Display fault position without change
1 = Display fault position as 00
2= Display fault position as 11
Outputs
INDIC PASDATABLOCK The address of the result indication is present on this output.
SP, DP
Note:
The data type of the result indication
(protocol type SP or DP) must correspond to the data type of
the input indication on the IN output.
Must be connected, i. e. the input is linked to an item of
PAS information!
4.6.3 Others
4.6.4 Example
Bsp_PAS_DELAYI.tif
CFC view
PAS_GROUPI.tif
4.7.1 Function
4.7.2 Connections
Inputs
Outputs
CFC view
PAS_CMPT.tif
PAS_CMPTC.tif
4.8.1 Function
4.8.2 Connections
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
CONST BYTE This parameter specifies the constant with which the 0
transformer tap indication is compared.
Note:
Must be parameterized!
4.8.3 Others
Error handling Indications with an incorrect type or non-connected inputs cause a fatal
error. Indications with the correct type cause an error if they include
incorrect information. The Boolean outputs are set to 0 in both cases.
4.8.4 Example
Bsp_PAS_CMPT_CRI.tif
PAS_CRI block
The EQUAL output of the PAS_CMPT block is connected to
the SIGNAL_1 input of the PAS_CRI block. Via the TIMEHIGH and
TIMELOW inputs, it gets the time stamp of the transformer tap indication
which was received last in the PAS_CMPT block.
The type of the derived indication (single-point indication = 3) is
parameterized on the INDICTYP input. The indication is issued on
the INDIC output.
CFC view
PAS_CMPB.tif
PAS_CMPB.tif
4.9.1 Function
The following blocks are used to compare bit pattern indications. The
comparison can be performed both between two bit pattern indications
and between a bit pattern indication and a constant:
PAS_CMPB: Comparison of two bit pattern indications
The absolute values of bit pattern indications are
compared. As an example, bit pattern 1001 (= 9) is
greater than 0111 (= 7).
PAS_CMPBC: Comparison of the bit pattern indication with a constant.
Depending on the comparison status, the Boolean outputs are set to
1 or 0 (1-active).
To derive an indication from the result of the evaluation, connect a
PAS_CRI block downstream. The time stamp is applied by the bit pattern
indication which has been received last.
4.9.2 Connections
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
CONST BYTE This parameter specifies the constant with which the 0
bit pattern indication is compared.
Note:
Must be parameterized!
4.9.3 Others
Error handling Indications with an incorrect type or non-connected inputs cause a fatal
error. Indications with the correct type cause an error if they include
incorrect information. The Boolean outputs are set to FALSE in both
cases.
4.9.4 Example
Bsp_PAS_CMPB_CRI.tif
PAS_CRI block
The EQUAL output of the PAS_CMPB block is connected to
the SIGNAL_1 input of the PAS_CRI block.
The CHANGE input is parameterized with 1, i. e. an indication is created
if the signal on the SIGNAL_1 input changes. Via the TIMEHIGH and
TIMELOW inputs, it gets the time stamp of the bit pattern value which
arrived last in the PAS_CMPB block.
The type of the derived indication (single-point indication = 3) is
parameterized on the INDICTYP input. The indication is issued on the
INDIC output.
CFC view
PAS_INDIC.tif
4.10.1 Function
The status and the state of single-point and double-point indications are
displayed via the PAS_INDIC block. Interlock links are realized with the
Boolean outputs by means of Boolean logic blocks.
The IOFF, ION, NOT_DBI, DBI0 and DBI1 outputs are set to 1 or to 0
depending on the state of the indication on the input of the PAS_INDIC
block (e. g. indication via the switching state of a switching device).
If the input indication is a single-point indication, the DBI0 and DBI1
outputs are not assigned, i. e. they are set to 0.
4.10.2 Connections
Inputs
Note:
Must be connected, i. e. the input is linked to an item
of PAS information!
Outputs
4.10.3 Others
Error handling Non-connected inputs are checked. If inputs which must be connected to
ensure the functionality of the block are not linked, no information is
processed in the block.
4.10.4 Example:
Switchgear In the example below, Boolean signals are derived from a pulse
interlock command for the logical control of an interlock.
[Link]
Description PAS_INDIC
An input indication is present on the INDIC input of each of the two
PAS_INDIC blocks. The EN input is assigned with 1 for each of them.
The ION output of the first and the second PAS_INDIC block is
connected to the IN0 or IN1 input of the Boolean block.
AND block
The input indications of this blocks are subject to an AND operation, i. e.
• if both indications = 1, the command to the PAS_COMMCP block is
locked.
• if one or no indication = 1, switching is still possible.
PAS_COMMCP
The Boolean signal is received on the LOCK input and output via
the OUT output.
OFF10 OFF= 1 ON = 0
DBI0 = 0
DBI1 = 0
Fault00 DBI0= 1 ON = 0
OFF= 0
DBI1 = 0
Fault11 DBI1= 1 ON = 0
OFF= 0
DBI0 = 0
Bay and protection Bay and protection devices of the SIPROTEC series as well as bay and
devices protection devices connected via PROFIBUS FMS transmit the
measured values normalized to a defined 100% reference value:
Transmission: − 240.0 to + 240.0
100% absolute The 100% absolute value corresponds to the maximum value range of
value the output variable, e. g.:
Value range of the Input parameter
output level
100 V 100
20 mA 20
100% acquisition The parameterization of the 100% acquisition value depends on the
value maximum transmission value and on the reference variable of the
acquisition device.
CFC view
PAS_NLC.tif
5.3.1 Function
Stretched start
range
mvOUTPUT
120%
1320
100%
KP3
20%
KP2
mvINPUT
Stretched
end range
mvOUTPUT
120%
1320
100%
KP3
80%
KP2
mvINPUT
Zero offset
mvOUTPUT
120%
1320
100%
KP2
80%
mvINPUT
5 salient points
mvOUTPUT
120%
1320
100% KP5
55% KP4
28%
KP3
6% KP2 mvINPUT
5.3.2 Connections
Inputs
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be parameterized!
Note:
Must be parameterized!
Note:
Must be parameterized!
Note:
Must be parameterized!
Outputs
Note:
Must be connected, i. e. the output must be connected to the
right-hand CFC margin bar or set as an output variable in the
ST program!
5.3.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
CFC view
PAS_ACQI.tif
5.4.1 Function
Note:
Exception: When parameterizing the WITH_CLR input with 1 (number of
the restore processes = 1), the counter content is cleared after each
restore.
5.4.2 Connections
Inputs
Note:
Must be connected, i. e. the input is connected
with the left-hand CFC margin bar or indicated
as a call parameter within the framework of the
ST programming!
Note:
Can be connected to the OUTPUT of
a PAS_CRCOM block.
Note:
Must be connected if COMM, CYCLE is not
parameterized!
Note:
The internal metered value can be predefined
during operation.
Note:
Must be parameterized if SEND, COMM is not
connected!
Outputs
5.4.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
5.4.4 Example
Bsp_PAS_ACQ.tif
CFC view
PAS_LIMU.tif
PAS_LIML.tif
5.5.1 Function
The PAS_LIMU and PAS_LIML blocks are used for limit value
monitoring. If the blocks exceed the specified limit, a limit value indication
(single-point indication) is triggered or a Boolean value is produced.
Limit value overranges are output as RAISED indications (otherwise
CLEAR) or with the Boolean value 1 (otherwise 0).
A hysteresis can be specified for limit value processing.
PAS_LIMU This block monitors the parameterizable upper limit. If a hysteresis has
been parameterized, the limit value overrange is only reset when the
measured value or metered value falls below the limit value, reduced by
the hysteresis value.
The diagram displays the functioning of the PAS_LIMU block:
IN_100_ABS
LIMVALUE
1050
HYSVALUE
1000
SIGNAL
PAS_LIML This block monitors the parameterizable lower limit. If a hysteresis has
been parameterized, the limit value underrange is only reset when the
measured value or metered value has exceeded the limit value,
increased by the hysteresis value.
The diagram displays the functioning of the PAS_LIML block:
IN_100_ABS
HYSVALUE
1050
LIMVALUE
1000
SIGNAL
5.5.2 Connections
Inputs
Table 5-5 Inputs of the PAS_LIMU and PAS_LIML limit value blocks
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be parameterized!
Note:
Must be parameterized!
Note:
Must be parameterized for measured values and is
irrelevant for metered values!
Note:
Must be parameterized for measured values and is
irrelevant for metered values!
Outputs
Table 5-6 Outputs of the PAS_LIMU and PAS_LIML limit value blocks
SIGNAL BOOL Output for the derivation of the limit value indication:
1 = Limit value exceeded
INDIC PASDATABLOCK Output for limit value indication with time stamp of the incoming
SP measured value or metered value (pointer to PAS information).
Note:
Must be connected, i. e. the output must be connected to the
right-hand CFC margin bar or set as an output variable in the ST
program!
5.5.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
5.5.4 Example
Bsp_PAS_LIMU.tif
CFC view
PAS_AVG.tif
5.6.1 Function
This block provides a mean value formation. Either periodic mean values
(mean value formation after N values each) or continuous mean values
(mean value formation over the last N values) can be determined with a
fix number N. The number N is parameterized on the MEAN_NO input,
whereas the mean value type (periodic or continuous) is parameterized
on the CONTIN input.
To read in a new measured value for the mean value formation, a valid
measured value must be connected to the INPUT and a Boolean pulse
must be triggered on the VAL_TRIG input. In this context, the block does
not evaluate the rising edge, but only the value 1. As a rule,
the VAL_TRIG input should be triggered at cyclic intervals (e. g. via the
TIMER_SW block).
If a bay blocking is defined on the device which produces the measured
value, the PAS_AVG block transmits a new mean value with the value 0
and the bay blocking status. When the bay blocking is undone, another
mean value is transmitted with the value 0, but with the OK status. The
internal mean value formation is reset and restarted.
The current sum and number of read-in values are visualized the
VAL_SUM and VAL_CNT outputs (e .g. for diagnosis or further
processing).
With each new mean value which is not transmitted via a reset or a bay
blocking, a Boolean pulse is output on the VAL_NEW output.
5.6.2 Connections
Inputs
Outputs
VAL_NEW BOOL Outputs a Boolean pulse when a new mean value is formed
(not for reset or bay blocking).
5.6.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
CFC view
PAS_NRP.tif
5.7.1 Function
You can realize a slave pointer function via the PAS_NRP block. This so-
called slave pointer function saves the current maximum or minimum of
the corresponding measured or metered value
The slave pointer value is reset via the Boolean RESET input and can
be triggered via a marker command (siehe Kapitel 3.4), an indication, etc.
For this purpose, the slave pointer value is determined as follows:
with the maximum function to the smallest possible value
with the minimum function to the highest possible value
5.7.2 Connections
Inputs
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
When 1 is present, the slave pointer is set to the
current value.
Outputs
Note:
Must be connected, i. e. the output is connected to the right-
hand CFC margin bar or set as an output variable in the ST
program!
5.7.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
5.7.4 Example
Bsp_PAS_INDIC_PAS_TIMERSW_PAS_NRP.tif
CFC view
PAS_ADD.tif
PAS_ADDC.tif
PAS_SUB.tif
PAS_SUBC.tif
PAS_MUL.tif
PAS_MULC.tif
PAS_DIV.tif
5.8.1 Function
PAS_ADD This block adds 2 to max. 4 metered or measured values in the REAL
format (value type 28) or in the INTEGER format (value type 30).
In the sequence of execution, PAS_ADD must always follow the blocks
generating the measured or metered values. This means that the values
must have been processed before the addition. Otherwise, a connection
error is created. The first value specifies the output data type.
PAS_ADDC This block adds a metered or measured value in the REAL format (value
type 28) or INTEGER format (value type 30) with a constant.
In the sequence of execution, PAS_ADDC must always follow the blocks
generating the measured or metered values. This means that the values
must have been processed before the addition. Otherwise, a connection
error is created.
PAS_SUB The PAS_SUB block can subtract two measured or metered values and
create an item of PAS information. The data type of the created
PAS information corresponds to the data type of the PAS information
which is present on the MINU input.
PAS_SUBC This block subtracts a metered or measured value in the REAL format
(value type 28) or INTEGER format (value type 30) with a constant.
In the sequence of execution, PAS_SUBC must always follow the blocks
generating the measured or metered values. This means that the values
must have been processed before the subtraction. Otherwise, a
connection error is created.
PAS_MULC The PAS_MULC block can multiply a measured or metered value with a
constant and create an item of PAS information. The data type of the
created PAS information corresponds to the data type of the
PAS information which is present on the INPUT input.
PAS_DIV The PAS_DIV block can divide two measured or metered values and
create an item of PAS information. The data type of the created
PAS information corresponds to the data type of the PAS information
which is present on the NUMER input.
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Maximally up to
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be parameterized!
Note:
Must be connected, i. e. the output must be connected to the
right-hand CFC margin bar or set as an output variable in the ST
program!
5.8.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
CFC view
PAS_CMP.tif
PAS_CMPC.tif
5.9.1 Function
PAS_CMP This block compares 2 metered or measured values in the REAL format
(value type 28) or INTEGER format (value type 30). The result of the
comparison is output on the corresponding Boolean output (value = 1).
5.9.2 Connections
Inputs
Note:
Must be connected, i. e. the input is connected to the
left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Note:
Must be connected, i. e. the input is connected to the
left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
Inputs
Note:
Must be connected, i. e. the input is connected to the
left-hand CFC margin bar or indicated as a call
parameter within the framework of the ST
programming!
CONST REAL 0
Outputs
5.9.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the corresponding block.
Tasks Special blocks are required for the internal processing of process data
and signals in the SICAM PAS and provide the following functions:
Creating PAS information from process data structure blocks
Dividing PAS information into process data structure blocks
Realizing a timer
CFC view
PAS_SASC.tif
6.2.1 Function
6.2.2 Connections
Inputs
Note:
Must be connected if CHANGE is not connected and
must not be connected if CHANGE is connected!
Note:
Must be connected if SEND is not connected and must
not be connected if SEND is connected!
DW_VALUE DWORD The value is interpreted as a double word (32 bits) and 0
the command is updated for this value.
Note:
The use depends on the parameterized value type.
Note:
The use depends on the parameterized value type.
Note:
The internal system time is used if the input is not
assigned.
Outputs
6.2.3 Others
Error processing Non-connected inputs are checked. If inputs which must be connected to
ensure the functionality of the block are not linked, no information is
processed in the block.
CFC view
PAS_SASS.tif
6.3.1 Function
6.3.2 Connections
Inputs
Note:
Must be connected, i. e. the input is connected with
the left-hand CFC margin bar of the CFC editor or
connected with an upstream PAS block!
Outputs
Note:
The use depends on the parameterized value type.
Note:
The use depends on the parameterized value type.
6.3.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
6.3.4 Example
View
PAS_TIMERSW.tif
6.4.1 Function
The PAS_TIMERSW block provides a timer block for the soft PLC. With
every sequence of the timer, the task is initiated again to perform
potential calculations.
To start the PAS_TIMERSW block already during the startup of SICAM
PAS, the START input must be specified to 1 (TRUE). In this case, the
TIMER is started within the framework of the startup process.
The PAS_TIMERSW block makes available 4 different modes: As long
as the START input is set to 1, a pulse is generated at cyclic intervals in
the Cyclic Pulse mode. In addition to this, the pulse interval is set to 0:00
h in case of a Synchronous Pulse. The Start/Reset Timer mode
describes a timer with start and a possible reset signal. If the Delay is
used, it is checked whether a signal is present without interruption during
a parameterized time.
Synchronized
pulse mode
Start/Reset Timer
mode
Delay mode
6.4.2 Connections
Inputs
Outputs
CHANGE BOOL The value changes from 0 to 1 with each successful timer
sequence.
OUT BOOL The output for the current sequence is set to 1 with every
successful timer run.
ERR BOOL The output for the current sequence is set to 1 with every incorrect
timer run (reset or abortion).
6.4.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
CFC view
PAS_TIMES.tif
6.5.1 Function
6.5.2 Connections
Inputs
Note:
Active when T_Mode = 3 !
Note:
Must be connected if T_Mode = 2 !
Note:
Must be connected if T_Mode = 1 !
Note:
Must be connected if T_Mode = 1 !
Outputs
6.5.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
CFC view
PAS_MUXTEL.tif
6.6.1 Function
6.6.2 Connections
Inputs
Maximally up to
Outputs
Note:
Must be connected!
6.6.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
CFC view
PAS_STATE.tif
7.1.1 Function
7.1.2 Connections
Inputs
Note:
Only one PAS_STATE block should be defined as
start state.
Outputs
ACTIVE BOOL Indicates which state is active or has been activated via the
START or ACTIVATE input.
7.1.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
7.1.4 Example:
CFC view
PAS_TRANS.tif
7.2.1 Function
7.2.2 Connections
Inputs
Note:
The transition can only switch if the upstream state is
active.
Outputs
7.2.3 Others
Error handling If inputs which must be connected to ensure the functionality of the block
are not linked, no information is processed in the block.
7.2.4 Example:
Busbar SS1
Busbar SS2
Disconnector Q1 Disconnector Q2
Circuit breaker Q0
Switching The following switching conditions must be met for the busbar change represented
conditions in Figure 8-1:
The Q0 circuit breaker may only be switched if the Q1 and Q2 disconnectors are
not in a fault position.
The Q1 and Q2 disconnectors may only be switched if the Q0 circuit breaker is
switched OFF.
Logical equations The following logical equations apply for the above-mentioned switching
conditions:
➊ ➏
➋ ➐
➌ ➑
[Link]
AND
The AND block performs an AND operation of the logical equation (I).
For this purpose, an AND operation of fault position indications is
performed via the PAS_INDIC Q1 and Q2 blocks and assigned to the
REL_ON enable input of the PAS_COMMCP Q0 block.
PAS_INDIC Q1/PAS_INDIC Q2
If required, these blocks derive the fault position indication of the Q1 and
Q2 disconnectors. For this purpose, the PAS_INDIC inputs are
connected to the INDIC outputs of the PAS_COMMCP Q1 and
PAS_COMMCP Q2 blocks.
The fault position indication is output on the NOT_DBI outputs.
8.2.1 Overview
Several block types are used to specify a switching sequence in the soft
PLC. The following information must be specified by means of these
blocks within the framework of parameterization:
Information on the execution of the switching sequence
Control of the switching sequence, check of switching conditions and
generation of the commands
Issue of the commands
This chapter explains how these items are implemented in the soft PLC.
The example Release Circuit Breaker for Maintenance is used for this
purpose. Table 8-1 illustrates the structure on which this example is
based.
Description A function block is written in ST or CFC (see Figure 8-3, see Figure 8-4).
This block corresponds to the processing of a command of a switching
sequence. It has a OUT command output for the connection of the
command.
After the termination of the command (positive or negative) the
corresponding output is triggered to initiate another step or to terminate
the switching sequence (CONT, ERR).
A small switching sequence with a switching sequence start command
(PAS_SELC block) including two command steps (see Figure 8-5) is
included in the switching sequence. In the two steps, two commands are
switched OFF consecutively (CACTION = 0, refer to SACTION for
PAS_STATE).
[Link]
[Link]
[Link]
Figure 8-5 Example of a switching sequence with a switching sequence start command
Method of The switching is distributed to the individual sheets of the CFC chart
operation according to the corresponding basic function:
Sheet 1 (see Figure 8-6):
Main chart: Command or indication preprocessing and control logic
for the transformer tap
Sheet 2 (see Figure 8-7):
Transformer tap command with value conversion: Chart-in-chart
technology.
This is the TR_SET block of the main chart.
Sheet 3 (see Figure 8-8):
Read in of the current transformer indication and comparison with the
step value. Logic for evaluation purposes. Chart-in-chart technology.
This is the TR_CHECK block of the main chart.
Sheet 4 (see Figure 8-9):
Step-down of the transformer and evaluation of the process feedback:
Chart-in-chart technology.
This is the TR_DOWN block of the main chart.
Sheet 5 (see Figure 8-10):
Step-up of the transformer and evaluation of the process feedback:
Chart-in-chart technology.
This is the TR_UP block of the main chart.
Sheet 1 On sheet 1 of the main chart (see Figure 8-6), the set command for the
transformer tap is transmitted to the CFC logic (TR_SET block). The set
command remains active until the process is terminated with a negative
or positive result. The setpoint value of the transformer tap is transmitted
to the TR_CHECK block via the TR_SET output (TR_SET block).
In the TR_CHECK block, the setpoint value is further processed for a
value comparison with the actual value. The resulting action is initiated.
The transformer tap is controlled via the PAS_MUXTEL and
PAS_COMMCP blocks. The TR_DOWN and TR_UP blocks trigger the
transformer commands and TR_CHECK evaluates the new process
feedback.
Sheet 3 On sheet 3 (see Figure 8-8), the current transformer indication is read in
and the comparison with the setpoint value is realized. The sequence is
started via the PAS_STATE block. The PAS_INDIC block reads out the
transformer indication, whereas the comparison is performed via
the PAS_CMPTC block. The scheduled value and the actual value are
evaluated here. Depending on the tap position, additional blocks are
activated with the output signals (TR_DOWN, TR_UP) or the switching
sequence is terminated.
Four switching conditions (transitions):
TAP TOO SMALL
TAP TOO LARGE
TAP OK
TAP NOT TOPICAL.
A TRANS block is used for each switching condition.
The switching conditions are checked when the CHECK TAP state
becomes active. Depending on the switching condition met, the
STEP UP status (on sheet 5) or the STEP DOWN status (on sheet 4)
is activated or the command is terminated:
POSITIVE: SETPOINT=ACTUAL reached or
NEGATIVE:ERROR DURING SWITCHING SEQUENCE.
Sheet 4 The logic for the step down of the transformer tap is realized on sheet 4
(see Figure 8-9) with the STEP DOWN state. The STATE block is used
for this purpose.
Two switching conditions (transitions) exist in the STEP DOWN state:
CMD OK and CMD_ERROR. A TRANS block is used for each switching
condition.
If the STEP DOWN state becomes active, the STATE block performs
the action which has been previously parameterized on the ACTION
input: The transformer tap is controlled via the OUT output.
Next, the switching conditions (transitions) are checked. Depending on
the switching condition met, the CHECK STEP state (on sheet 3) is
activated.
Sheet 5 The logic for the step-up of a transformer tap is implemented with the
STEP UP state. The STATE block is used for this purpose.
Two switching conditions (transitions) exist in the STEP UP state:
CMD OK and CMD_ERROR. A TRANS block is used for each switching
condition.
When the STEP UP state becomes active, the STATE block performs
the action parameterized on the ACTION input: The transformer tap is
controlled via the OUT output.
Next, the switching conditions (transitions) are checked. Depending on
the switching condition met, the CHECK STEP state (on sheet 3) is
activated.
[Link]
Figure 8-6 Command or indication preprocessing and control logic for the transformer tap
[Link]
[Link]
Figure 8-8 Read in of the current transformer indic. & comparison with the step value. Evaluation logic.
[Link]
[Link]
A.3 Data Types of the SICAM PAS Process Data Structure 198
A.1.1 Cause
Data 0 Irrelevant
1 Spontaneous
2 Cyclic, periodic
3 Initialized/default
9 Interrogation
10 Metered-value interrogation
19 Command execution
25 Cancellation
26 Cancellation positive
27 Cancellation negative
0 Irrelevant
3 Remote operation
10 DIGSI operation
0 No error
96 Interlock found
98 Parameter error
A.1.4 Status
Table A-4 Values of the status bytes
Value Significance
Bit 6 Invalid
Bit 7 Overflow
Value Significance
Bit 0 --
Bit 1 --
Bit 2 --
Bit 3 --
1 Organizational indication
2 Double-point indication
3 Single-point indication
4 Event indication
11 Organizational acknowledgement
12 Metered value
15 Continuous command
25 GI request
26 Restore command
27 Organizational command
31 Sequence
0 Time irrelevant
3 Fault number
4 Timer event
5 Output error
11 Overflow (underflow)
13 Division by zero
Table A-11 Data types in the SICAM PAS PD structure and their use
Table A-11 Data types in the SICAM PAS PD structure and their use
Command - PAS_SELC
PAS_COMMCP
Numerics C
100 % absolute value CFC chart 8
Analog value normalization 106 Setting the grid 14
100 % acquisition value Text blocks 12
Analog value standardization 106 CFC chart-in-chart technology
Compund Block 38
A CFC editor
Additional information 195 Margin bars 10
Analog value normalization CFC Variable Group 4
100 % absolute value 106 CFC Variable Name 4
Analog value processing Checking PAS information 37
Analog value standardization 105 Command authorization 44
Analog value standardization Command blocks
100 % acquisition value 106 PAS_COMMCP 52
Analog values 106 PAS_CRCOM 44
Bay and protection devices 105 PAS_SELC 57
Measuring Ranges 105 Command interlock 13
Arithmetical blocks Command processing
Diagnosis 196 Commands to the process 42
PAS_ADD 132 Concept 42
PAS_ADDC 132 System-internal commands 43
PAS_DIV 133 Commands
PAS_MUL 133 PD structure 29
PAS_MULC 133 Comparison blocks
PAS_SUB 132 Diagnosis 196
PAS_SUBC 132 Comparison of measured or metered
Automation Block values 138
Inserting 9 Compilation
Selecting 9 of the project 18
Specifying 9 Compile
Automation block project data 16
Connecting 11 Compiling project data 16
Components
B PD structure 188
Bay and protection devices Compund Block
Analog value standardization 105 CFC chart-in-chart technology 38
Bit pattern comparison Configuration Procedure 2
PAS_CMPB 91 Connection of a group indication with
PAS_CMPBC 91 PAS_ORI 11
Blocks Converting
Parameterizing 14 Double-Point to Single-Point
BOOL 31 Indications 69
BYTE 32 Create
PAS information 145
V
Value type 193
Variable Name 4
W
Warnings 37
WORD 32
From:
Your name : ..........................................................................................................
Your title : ..........................................................................................................
Your company : ..........................................................................................................
Department : ..........................................................................................................
Street : ..........................................................................................................
City, State : ..........................................................................................................
☎: ..........................................................................................................
FAX : ..........................................................................................................
Your comments and suggestions will help us to improve the usability of our
documentation. Please fill out this questionnaire and mail or fax it back to Siemens
(FAX number +49 911 433-8518).
Please answer the following questions by giving a rating between 1 = good and 5 =
poor.
If you have encountered any specific problems, please give us a concise description
below:
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................









