0% found this document useful (0 votes)
112 views50 pages

Simatic Process Control System PCS 7 APG Block Icons For Optimized Process Visualization

Uploaded by

Mauro Cellupica
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views50 pages

Simatic Process Control System PCS 7 APG Block Icons For Optimized Process Visualization

Uploaded by

Mauro Cellupica
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 50

General functionality,

operation and configuration 1

Bar graph objects 2

Degree indicator object 3


SIMATIC
APG/APL objects 4
Process Control System PCS 7
APG Block Icons for Optimized Faceplate call objects 5
Process Visualization
Spider chart objects 6
Function Manual
Connector block 7

02/2013
A5E32100066-AA
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.

DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION
indicates that minor personal injury can result if proper precautions are not taken.

NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified
personnel are those who, based on their training and experience, are capable of identifying risks and avoiding
potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:

WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

Siemens AG A5E32100066-AA Copyright © Siemens AG 2013.


Industry Sector Ⓟ 05/2014 Subject to change All rights reserved
Postfach 48 48
90026 NÜRNBERG
GERMANY
Table of contents

1 General functionality, operation and configuration.......................................................................................5


2 Bar graph objects.........................................................................................................................................7
2.1 Properties of bar graph objects.....................................................................................................7
2.2 Display of bar graph objects..........................................................................................................9
2.3 Displaying limits and operating ranges........................................................................................10
2.4 Limit indicator colors....................................................................................................................11
2.5 Display for "Out of Service" status..............................................................................................13
2.6 Opening a faceplate via a bar graph object.................................................................................13
2.7 Creating a line chart over multiple bar graph objects..................................................................14
3 Degree indicator object...............................................................................................................................17
3.1 Properties of degree indicator objects.........................................................................................17
3.2 Displaying degree indicator objects.............................................................................................18
3.3 Opening a faceplate via a degree indicator object......................................................................18
4 APG/APL objects........................................................................................................................................19
5 Faceplate call objects.................................................................................................................................21
6 Spider chart objects....................................................................................................................................23
6.1 Properties of spider chart objects................................................................................................23
6.2 Attributes.....................................................................................................................................24
6.3 Displaying spider chart objects....................................................................................................26
6.4 Creating spider charts.................................................................................................................29
6.5 Configuration of different display types of the spider chart.........................................................30
7 Connector block..........................................................................................................................................33
7.1 Properties of the connector block................................................................................................33
7.2 Parameters of the connector block..............................................................................................35
7.3 Effects of the "Out of Service" mode...........................................................................................48
7.4 Connector block error response..................................................................................................49

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 3
General functionality, operation and configuration 1
The APG concept and the blocks and graphic objects developed for it are used to optimize
process visualization in PCS 7.
Visualization with APG is based on a block (APG connector block) which collects all necessary
data in the AS. The data can either be read by a data block, can be connected via CFC
interconnection to the block, or permanently set as parameters at the block.
In the OS, various graphic objects can access the block and use the collected data for
visualization.
The collection of data and the visualization on the OS is independent of the block library being
used.
However, the address data of the most important technological blocks of the Advanced
Process Library (APL) regarding APG, for example, is already integrated in the APG connector
block, which makes it particularly easy to collect the data related to the APL.
There are also several objects in the OS for visualization which are tailored to the APL and
cannot be used in conjunction with other libraries.
There are two APG template pictures:

@Template_APG.pdl: Contains all APG objects


@Examples_APG.pdl: Contains trend controls which are configured in APG design and
serve as examples. In addition, there are control objects which
can be used to change the time range of the trend control during
runtime. The name of the trend object must be entered at the
TrendObjectName attribute in the corresponding control object for
this.

Connecting an APG object to a process tag


APG objects are connected to a process tag using the dynamic wizard "Connect faceplates to
process tag".
You can find the dynamic wizard in the "Standard dynamics" tab.
Due to the special nature of the tag connection to the APG objects, it is not possible to connect
an APG object using drag-and-drop from the tag toolbar.

Exporting, importing, and updating the picture objects in the project


Exporting, importing, and updating APG picture objects can be performed in the 'Picture
functions' tab using the appropriate dynamic wizard.

Exporting
Dynamic wizard: "Export picture objects"
Configuration file: TemplateControlAPG.cfg

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 5
General functionality, operation and configuration

Importing
Dynamic wizard: "Import picture objects"
Template: @Template_APG.pdl

Updating
Dynamic wizard: "Update the picture objects"
Configuration file: TemplateControlAPG.cfg
Template: @Template_APG.pdl

"Loop in Tag" function


All APG graphic objects that can be operated have the 'Loop in Tag' function. This is activated
by right-clicking on the APG object or by clicking on the process tag number of the APG/APL
object, and opens the process picture with the group-relevant block icon of the technological
block connected with the connector block. The corresponding block icon is highlighted.

APG Block Icons for Optimized Process Visualization


6 Function Manual, 02/2013, A5E32100066-AA
Bar graph objects 2
2.1 Properties of bar graph objects
APG bar graph objects are used to visualize a process value or to visualize a process value
and its setpoint.
The APG bar graph objects are supplied with data from the APG connector block (Page 33).
The following bar graph objects are available:
● Vertical bar graph with scale label that can be displayed or hidden
● Horizontal bar graph with scale label that can be displayed or hidden
● Vertical bar graph for combination with adapted APL objects
Each bar graph is available with and without a setpoint indicator.

Attributes
The various functions of the APG bar graph objects are enabled via settings at the appropriate
attributes.
All attributes relevant for the function can be found at the respective object under the
"Configurations" sub-item. The settings under "Configurations" are retained when importing
and updating the APG bar graph objects.

Attribute name Meaning


PolyLineObjectName Name of the polygon object from which a point is to be pulled along
PolyLineObjectIndex Number of the point of the polygon line that should be pulled long
FaceplateLinkedObject Object to which the user is redirected at a mouse click to open a
faceplate
OutputFormat Format of the scale label
ShowDisplayRange Show scale label Yes/No

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 7
Bar graph objects
2.1 Properties of bar graph objects

Attribute name Meaning


ShowOperationRange Show operating range (the area with blue background on the bar
graph) Yes/No
SetOperationRangeObject Not yet used

APG Block Icons for Optimized Process Visualization


8 Function Manual, 02/2013, A5E32100066-AA
Bar graph objects
2.2 Display of bar graph objects

2.2 Display of bar graph objects


The bar graph objects can be operated in 'Normal' and 'Difference' display mode. The various
bar graphs are shown below in different states in the 'Normal' display mode and the 'Difference'
display mode. The display mode is set at the APG connector block at the ViewMode parameter.
The display of the operating range (area with blue background) can be enabled and disabled
via the "ShowOperationRange" attribute (see Properties of bar graph objects (Page 7)).
You can define the format and the display of the display range at the attributes "OutputFormat"
and "ShowDisplayRange" (see Properties of bar graph objects (Page 7)).

Vertical bar graph, normal Vertical bar graph, normal Vertical bar graph, normal
view, and difference view view, and difference view view, and difference view
exceeded measuring range undershot of measuring range

Horizontal bar graph, normal Horizontal bar graph, normal Horizontal bar graph, normal
view, and difference view view and difference view with view and difference view with
exceeded measuring range undershot measuring range

See also
Connector block (Page 33)

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 9
Bar graph objects
2.3 Displaying limits and operating ranges

2.3 Displaying limits and operating ranges


The bar graph objects can show the current process value, all limits, and the operating range.
When bar graphs have setpoint indicators, the setpoint can also be displayed.
The limit indicators show a limit violation by changing color.
If there is a limit indicator outside of the display range, it is not visible as long as the high or
low limit is not violated.
If a limit is violated, the edge of the bar is made visible.

Limit Enabler Color


12  (1) PV_AH_LIM PV_AH_EN = inactive
= active
1
11
2
(2) PV_WH_LIM PV_WH_EN = inactive
3
10
= active

(3) PV_TH_LIM PV_TH_EN = inactive


= active
9
8 4
(4) PV_TL_LIM PV_TL_EN = inactive
5
= active
6

7  (5) PV_WL_LIM PV_WL_EN = inactive


= active

(6) PV_AL_LIM PV_AL_EN = inactive


= active

(7) Display range: low limit DispRange.Low


(8) Process value: PV_Out.Value
(9) Operating range: low limit: PV_OL_Lim
(10) Operating range: high limit PV_OH_Lim
(11) Setpoint: SP.Value
(12) Display range: high limit DispRange.High

Prioritization of limit indicators


The limit indicators are arranged in order of priority.
That means that, if limits have the same value or the distance between the two limits is so low
that the representation of the limit indicators overlap, the higher-ranking limit indicator is
displayed before the limit indicator ranked lower.

APG Block Icons for Optimized Process Visualization


10 Function Manual, 02/2013, A5E32100066-AA
Bar graph objects
2.4 Limit indicator colors

The following prioritization applies here: An example for different prioritizations for limit
indicator overlaps:
High priority
1. Alarm high enabled
2. Alarm low enabled
3. Warning high enabled
4. Warning low enabled
5. Tolerance high enabled
6. Tolerance low enabled
7. Alarm high disabled
8. Alarm low disabled
9. Warning high disabled
10.Warning low disabled
11.Tolerance high disabled
12.Tolerance low disabled
Low priority

2.4 Limit indicator colors


You can define the color of a limit indicator on the block icon with the relevant attributes "*Prep"
(e.g. "AlarmColorHighPrep").

Colors set for specific instances are overwritten with the standard colors of the object from the
@TemplateAPG picture when the block icons are updated.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 11
Bar graph objects
2.4 Limit indicator colors

Colors of limit indicators using user-configurable message classes (UCMC)


If you use UCMCs within the project, the color of a limit indicator depends on various factors:
● With a supported APL block (BlockType 1..4):
If the APG connector block is connected with a supported APL block (PIDConL, PIDConR,
PIDStepL, MonAnL), the colors are derived from the message class of the connected block:
– Indicator "AlarmHigh" has the color of the message class of Alarm8P 1, Sig. 1
– Indicator "WarningHigh" has the color of the message class of Alarm8P 1, Sig. 2
– Indicator "ToleranceHigh" has the color of the message class of Alarm8P 1, Sig. 3
– Indicator "ToleranceLow" has the color of the message class of Alarm8P 1, Sig. 4
– Indicator "WarningLow" has the color of the message class of Alarm8P 1, Sig. 5
– Indicator "AlarmLow" has the color of the message class of Alarm8P 1, Sig. 6
● With a block that has the appropriate message order (BlockType 99):
If a block has the appropriate message order (see "Supported APL block" above), the color
of the indicator can also be derived from the message class, just like with the supported
APL block.

To derive the color of the indicator from the message class, set the type "99" at the
connection "BlockType" at the APG connector block.
● With other blocks:
With other blocks, UCMC has no influence. The colors are copied from the set color
attributes.

APG Block Icons for Optimized Process Visualization


12 Function Manual, 02/2013, A5E32100066-AA
Bar graph objects
2.6 Opening a faceplate via a bar graph object

2.5 Display for "Out of Service" status


If the input is ".OosAct#Value = 1", the bar graph objects respond to this in the following way:
● The bar for the current value is hidden.
● The limit indicators are hidden.
● The "Out of Service" symbol is shown for bar graph objects that are not designed for use
in combination with an APL icon.
Example

"Out of Service" with vertical bar graph objects"Out of Service" with horizontal bar graph
objects

2.6 Opening a faceplate via a bar graph object


You cannot open a faceplate directly via a bar graph object. However, it is possible to redirect
a click on the bar graph icon to another object in the picture and to then open a faceplate from
there.
To redirect a mouse click to another object, you must specify the name of the target object in
the "FaceplateLinkedObject" attribute on the bar graph object (see Properties of bar graph
objects (Page 7)). This function is only possible in conjunction with APL icons.

See also
Faceplate call objects (Page 21)

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 13
Bar graph objects
2.7 Creating a line chart over multiple bar graph objects

2.7 Creating a line chart over multiple bar graph objects


When multiple bar graphs are used, the bar graph icon can "pull along" a point of a polygon
line.
This allows you to create a line chart for visualizing multiple process tags, for example, for a
column or a tube reactor.
Vertical bar graphs pull the points only in a vertical direction, whereas horizontal bar graphs
pull the points only in a horizontal direction.
Example

To create a polygon line over multiple bar graph objects, define the following attributes (see
also Attributes of the bar graph object):
● Attribute "PolyLineObjectName": Name of the polygon line
● Attribute "PolyLineObjectIndex": Number of point to be pulled along

APG Block Icons for Optimized Process Visualization


14 Function Manual, 02/2013, A5E32100066-AA
Bar graph objects
2.7 Creating a line chart over multiple bar graph objects

Example

1
2

3
4

Polyline
(1) Polyline point with index 3
(2) Polyline point with index 2
(3) Polyline point with index 1
(4) Polyline

Note
You can create the polygon line more easily and effectively if you select all the bar graphs
that the polygon line is to form at the same time and then define the attribute
"PolyLineObjectName".
Then you define the attribute "PolyLineObjectIndex" for each bar graph.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 15
Degree indicator object 3
3.1 Properties of degree indicator objects

Function
The APG degree indicator object is used to show the rate of change of a measured value.
Here, the range between the high and low limit of the rate of change is equated to an angle of
180°. With a maximum positive rate of change, the degree indicator object points upwards;
with a maximum negative rate of change, the degree indicator object points downwards. (See
Display of degree indicator objects (Page 18))
The angle is calculated using the following formula and limited to the values ±90°:

Attributes
The functions of the APG degree indicator object are activated via settings at the appropriate
attributes.
All the attributes relevant in each case can be found at the respective object under the
"Configurations" sub-item.
The settings under "Configurations" are retained when importing or updating the APG degree
graph objects.

Attribute name Meaning


FaceplateLinkedObject Object to which the user is redirected at a mouse click to open a
faceplate

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 17
Degree indicator object
3.3 Opening a faceplate via a degree indicator object

3.2 Displaying degree indicator objects


During operation, the rates of change are displayed in three levels:

Maximum positive rate of change

Normal rate of change

Maximum negative rate of change

"Out of Service" status


If the input is ".OosAct#Value = 1", the degree indicator object responds by showing the "Out
of Service" icon ( ).

"Out of Service" status

3.3 Opening a faceplate via a degree indicator object


You cannot open a faceplate directly through a degree indicator object. However, it is possible
to redirect a click on the degree indicator icon to another object in the picture and to open a
faceplate from there.
To redirect a mouse click to another object, you must specify the name of the target object in
the "FaceplateLinkedObject" attribute at the degree indicator object (see Properties of degree
indicator objects (Page 17)). This function is only possible in conjunction with APL icons.

See also
Faceplate call objects (Page 21)

APG Block Icons for Optimized Process Visualization


18 Function Manual, 02/2013, A5E32100066-AA
APG/APL objects 4
Function
APG / APL objects are APL objects which have been prepared with respect to their appearance
for combination with APG bar graph objects
The APG / APL object is placed in front of the bar graph object so that normal operation is
possible in accordance with the APL standard.
The controller objects have been adapted in such a way that a right-click on the process value
opens the input dialog for the setpoint.
Example

Adapted MonAnL APL icon for Adapted APL icon for Adapted APL icon for
combination with the bar graph combination with the bar graph combination with the bar graph
object without setpoint indicatorobject without setpoint object with setpoint indicator.
indicator. This object is available for the
This object is available for the following APL blocks:
following APL blocks: ● PIDConL
● PIDConL ● PIDStepL
● PIDStepL ● PIDConR
● PIDConR ● DoseL
● DoseL

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 19
APG/APL objects

Combination of APL/APG icon and bar graph object

APG Block Icons for Optimized Process Visualization


20 Function Manual, 02/2013, A5E32100066-AA
Faceplate call objects 5
Function
As explained previously, you cannot call faceplates directly through most APG objects. This
is because, when an APL faceplate is opened, various attributes of the APG object are read
that are not available there.
In addition, the APG object is connected to an APG connector block, when usually the faceplate
of a technological block should be opened. This is why the APG faceplate call object is
available. It possesses all the attributes that are necessary for opening an APL faceplate.
The faceplate object is invisible in runtime, variable in size, and can be placed over any area
within a picture. Clicking on this area then opens the faceplate in question. Similar to a block
icon, the area is indicated by a turquoise-colored border when the faceplate is open.

Configuration via a faceplate call object


To configure any APL faceplate using the faceplate call object, proceed as follows:
1. Copy the faceplate call object.
2. Transfer all the attribute settings from a corresponding APL block icon to the faceplate call
object.
In so doing, you can define instance-specific settings that affect the faceplate, if required
(as with the APL block icon. You can find more detailed information on this in the APL
documentation).
3. Connect the faceplate call object with the desired process tag using the dynamic wizard.

Note
In principle, you must only adjust the attributes "Type" and "Server name" to open the
faceplate.
However, no additional settings will then be available (e.g. for the trend view in the faceplate).

Suitably prepared faceplate call objects are available in the APG template for the "MonAnL",
"PIDConL", "PIDStepL" and "PIDConR" APL blocks directly supported by APG.
Connect these to the process tag and adjust them according to the instance-specific
requirements.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 21
Spider chart objects 6
6.1 Properties of spider chart objects

Function
Using APG spider chart objects, a spider chart can be formed for three or more measured
values. The measured values are displayed in the form of a polygon with the appropriate
number of vertices.
Larger values are represented by more outward points, smaller values by points further inward.

The values here are scaled to the operating range. That means that the area in the spider
chart colored in blue corresponds to the limits "PV_OH_Lim" and "PV_OL_Lim" that are set on
the connector block.
The positions of polygon vertices (process values) and limit indicators are calculated
accordingly.
You should set the operating range in such a way that an even polygon is shown during normal
operation in which all measured values are within the area with the blue background.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 23
Spider chart objects
6.2 Attributes

6.2 Attributes
The various functions of the APG spider chart objects are enabled via settings at the
appropriate attributes. All attributes relevant for the function can be found at the respective
object under the "Configurations" sub-item.
The settings under "Configurations" are retained when importing or updating the spider chart
objects.

Spider chart main object

Attribute name Meaning


ValuePointCount Number of values in the spider chart
OuterRadius Radius of the outer circle
OH_Radius Radius of the outer circle of the operating range (area with blue
background)
OL_Radius Radius of the inner circle of the operating range (area with blue
background)
InnerRadius Radius of the inner circle

APG Block Icons for Optimized Process Visualization


24 Function Manual, 02/2013, A5E32100066-AA
Spider chart objects
6.2 Attributes

Spider chart process tag object

Attribute name Meaning


AlarmIndicatorSize Length of limit indicator in the spider chart
SpiderChartName Name of the spider chart object with which the object should
interact
SpiderChartValueIndex Position of the object on the spider chart
FaceplateLinkedObject Name of an object to which a mouse click for opening a faceplate
should be diverted, or the name of the faceplate call object, or the
name of the object to be moved.
UsingCallFaceplateObject Faceplate call object is used Yes/No
AdaptFaceplateObjectPosition The object specified in "FaceplateLinkedObject" should be shown
on the spider chart in place of the spider chart process tag object
Yes/No
SetOperationRangeObject Not yet used

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 25
Spider chart objects
6.3 Displaying spider chart objects

6.3 Displaying spider chart objects


The APG spider chart consists of the spider chart main object and several spider chart process
tag objects as needed.
The number of process tags here can vary and is limited primarily by space requirements.
The individual process tag objects are positioned automatically during runtime. Depending on
the configuration, other objects can be displayed instead of the spider chart process tag
objects.
Example

Displaying limits and operating ranges


Similar to bar graph objects, the current process value, all limits, and the operating range are
displayed in the spider chart. The limit indicators show a limit violation by changing color.

(1) Process value: PV_Out.Value


Limit Enabler Color

APG Block Icons for Optimized Process Visualization


26 Function Manual, 02/2013, A5E32100066-AA
Spider chart objects
6.3 Displaying spider chart objects

(2) PV_AH_Lim PV_AH_En = inactive


= active

(3) PV_WH_Lim PV_WH_En = inactive


= active

(4) PV_TH_Lim PV_TH_En = inactive


= active

(5) PV_TL_Lim PV_TL_En = inactive


= active

(6) PV_WL_Lim PV_WL_En = inactive


= active

(7) PV_AL_Lim PV_AL_En = inactive


= active

(8) Operating range: low limit PV_OL_Lim


(9) Operating range: high limit PV_OH_Lim
The priorities of the limit indicators are similar to those in the bar graph objects (see limit
indicator).

Colors of limit indicators with and without using user-configurable message classes (UCMC)
Regarding the color, the spider chart process tag object behaves like the bar graph objects
(see color for limit indicators).

Display for "Out of Service" status


If the input is ".OosAct#Value = 1", the bar graph objects respond in the following way:
● The corresponding polygon point is set to the lowest value.
● The limit indicators are hidden.
● If the process tag object is visible, the "Out of Service" icon is displayed ( ).
Example

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 27
Spider chart objects
6.3 Displaying spider chart objects

APG Block Icons for Optimized Process Visualization


28 Function Manual, 02/2013, A5E32100066-AA
Spider chart objects
6.4 Creating spider charts

6.4 Creating spider charts


An APG spider chart consists of the spider chart main object and several spider chart process
tag objects. Various settings need to be made in order for these objects to interact with each
other.
To construct a spider chart, proceed as follows:
1. Place the spider chart main object.
2. Optional: Configure the graphic settings on the spider chart main object. To do this, edit
the attributes "OuterRadius", "OH_Radius", "OL_Radius", and "InnerRadius".
3. Set the desired number of process tags on the spider chart main object with the
"ValuePointCount" attribute (see Attributes of the spider chart main object).
4. Place the spider chart process tag object.

Note
Place the spider chart process tag object in such a way that you have sufficient space
around it. In runtime, all objects are arranged around the main object (see Attributes of
the spider chart process tag object).

5. Using the dynamic wizard, connect each of the spider chart process tag objects with the
desired process tag.
6. Select all the spider chart process tag objects together and copy the object name of the
spider chart main object to the "SpiderChartName" attribute.
7. Optional: Select all the spider chart process tag objects together and configure the desired
settings for the size of the limit indicator on the "AlarmIndicatorSize" attribute.
8. Select each spider chart process tag object individually and set the position where the object
should be placed at runtime on the "SpiderChartValueIndex" attribute each time.
Object 1 appears above the main object at position 0°; subsequent objects are placed in a
clockwise manner.
The spider chart is now ready for use.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 29
Spider chart objects
6.5 Configuration of different display types of the spider chart

6.5 Configuration of different display types of the spider chart


Each spider chart process tag can interact with other objects, as is the case with other APG
objects. In comparison to other APG objects, there are even more possibilities for interaction.
The behavior of the spider chart process tag object depends on the settings for the
"UsingFaceplateCallObjekt" and "AdaptFaceplateObjectPosition" attributes.
Various applications are possible for this:

Application 1

The spider chart process tag object appears at the set position and is visible. Mouse clicks
on the process tag object are diverted to the object name located in the picture.
Settings:
● FaceplateLinkedObject = Name1
● UsingFaceplateCallObject = No
● AdaptFaceplateObjectPosition = No
1
Name stands for the object name of an object located in the picture – typically an APL object.

Application 2
The spider chart process tag object appears at the set position and is visible.
The faceplate call object "Name" located in the picture is pushed to the same position as the
spider chart process tag object and scaled to the same size.
As the faceplate call object is a level higher than the spider chart process tag object, you can
open the faceplate of the process tag that is connected to the faceplate call object by clicking
on the spider chart process tag object in runtime. Technically speaking, you click on the
invisible faceplate call object.
Settings:
● FaceplateLinkedObject = Name
● UsingFaceplateCallObject = Yes
● AdaptFaceplateObjectPosition = Ineffective if UsingFaceplateCallObject = Yes

APG Block Icons for Optimized Process Visualization


30 Function Manual, 02/2013, A5E32100066-AA
Spider chart objects
6.5 Configuration of different display types of the spider chart

Example:
Configuration view (Graphics Designer): Runtime view:

2
3

(1) Spider chart main object


(2) Spider chart process tag object
(3) Faceplate call object

Application 3
The spider chart process tag object remains invisible.
The "Name" object located in the picture is placed at the configured position in place of the
spider chart process tag object. This allows you, for example, to place APL block icons next
to the spider chart main object.
Settings:
● FaceplateLinkedObject = Name
● UsingFaceplateCallObject = No
● AdaptFaceplateObjectPosition = Yes

Example:
Configuration view (Graphics Designer): Runtime view:

(1) Spider chart main object


(2) Spider chart process tag object
(3) APL block icon

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 31
Connector block 7
7.1 Properties of the connector block
The APG connector block is used to collect data from the AS for visualization with APG objects.
In conjunction with familiar blocks such as "MonAnL", "PIDConL", "PIDStepL", and "PIDConR",
the APG connector block can read most of the required data via a pointer from the connected
block. The remaining values can either be configured at the APG connector block or connected
via an interconnection in the CFC.

Setting the address


If a block is unknown (for example, because it comes from another library), application-specific
addresses can be set on the APG connector block for all required data.
The following applies here:
● If the configured address = -1, the block does not read any value and the value can be
configured at the appropriate block I/O or interconnected in the CFC.
● If the address is greater than -1, the value is read from the connected block ("ReadPointer"
I/O) of the configured address and written to the corresponding I/O.

Limit switch
The APG connector block also serves as a limit switch.
Settings can be made for various limits to determine whether these limits should be read by
the connected block, or whether the APG connector block itself should monitor the limit for
high and low violations. The limit is formed as follows in this case:
● High limit violation at "Value ≥(HighLimit)"
● High limit violation ends at "Value < (HighLimit - Hysteresis)"
● Low limit violation at "Value ≤ (LowLimit)"
● Low limit violation ends at "Value > (LowLimit + Hysteresis)"

Calling OBs
Cyclic interrupt OB in which the block is installed (e.g. OB32).

Messaging
The APG connector block does not send messages.

Startup characteristics
The APG connector block has no special startup characteristics.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 33
Connector block
7.1 Properties of the connector block

Called blocks
● SFC24 TEST_DM
● SFB35 ALARM_8P

See also
Parameters of the connector block (Page 35)

APG Block Icons for Optimized Process Visualization


34 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

7.2 Parameters of the connector block

Parameter "BlockType"
The "BlockType" parameter is used to set which block type is connected at the "ReadPointer"
I/O. Various I/Os are read via "pointers", depending on the block type. The remaining I/Os can
be configured or interconnected.
The following table shows the possibilities based on the block type:

Block I/O I/O


Block type MonAnL
Block type PIDConL
Block type PIDStepL
Block type PIDConR
Block type DoseL
Block type
User block
PV.Value I X X X X X cust / para
PV.ST I X X X X X cust / para
PV_Unit I X X X X X cust / para
SP.Value I para X X X X cust / para
SP.ST I para X X X X cust / para
PV_Grad.Value I X para para para para cust / para
PV_Grad.ST I X para para para para cust / para
PV_Hyst I X X X X para cust / para
PV_AH_Lim I X X X X X1 cust / para
PV_WH_Lim I X X X X para cust / para
PV_TH_Lim I X X X X para cust / para
PV_OH_Lim I para para para para para cust / para
PV_OL_Lim I para para para para para cust / para
PV_TL_Lim I X X X X para cust / para
PV_WL_Lim I X X X X para cust / para
PV_AL_Lim I X X X X X2 cust / para
GradHUpLim I X para para para para cust / para
GradHDnLim I X para para para para cust / para
PV_AH_En I X X X X X cust / para
PV_WH_En I X X X X para cust / para
PV_TH_En I X X X X para cust / para
PV_OH_En I para para para para para cust / para
PV_OL_En I para para para para para cust / para
PV_TL_En I X X X X para cust / para
PV_WL_En I X X X X para cust / para
PV_AL_En I X X X X X cust / para
PV_GradHUpEn I X para para para para cust / para

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 35
Connector block
7.2 Parameters of the connector block

Block I/O I/O


Block type MonAnL
Block type PIDConL
Block type PIDStepL
Block type PIDConR
Block type DoseL
Block type
User block
PV_GradHDnEn I X para para para para cust / para
PV_OpSkale.High I X X X X X cust / para
PV_OpSkale.Low I X X X X X cust / para
DispRange.High I para para para para para cust / para
DispRange.Low I para para para para para cust / para
OosAct.Value I X X X X X cust / para
OosAct.ST I X X X X X cust / para
PV_AH_Act.Value O X X X X X false / cust /
lim
PV_AH_Act.ST O X X X X X 0x80 / PV.ST
PV_WH_Act.Value O X X X X false false / cust /
lim
PV_WH_Act.ST O X X X X 0x80 0x80 / PV.ST
PV_TH_Act.Value O X X X X false false / cust /
lim
PV_TH_Act.ST O X X X X 0x80 0x80 / PV.ST
PV_TL_Act.Value O X X X X false false / cust /
lim
PV_TL_Act.ST O X X X X 0x80 0x80 / PV.ST
PV_WL_Act.Value O X X X X false false / cust /
lim
PV_WL_Act.ST O X X X X 0x80 0x80 / PV.ST
PV_AL_Act.Value O X X X X X false / cust /
lim
PV_AL_Act.ST O X X X X X 0x80 / PV.ST
PV_GradHUpAct.Val O X false false false false false / cust
ue
PV_GradHUpAct.ST O X 0x80 0x80 0x80 0x80 0x80 / PV.ST
PV_GradHDnAct.Val O X false false false false false / cust
ue
PV_GradHDnAct.ST O X 0x80 0x80 0x80 0x80 0x80 / PV.ST
PV_OH_Act.Value O false / false / false / false / false / lim false / cust /
lim lim lim lim lim
PV_OH_Act.ST O 0x80 / 0x80 / 0x80 / 0x80 / 0x0 / PV.ST 0x80 / PV.ST
PV.ST PV.ST PV.ST PV.ST
PV_OL_Act.Value O false / false / false / false / false / lim false / cust /
lim lim lim lim lim
PV_OL_Act.ST O 0x80 / 0x80 / 0x80 / 0x80 / 0x80 / PV.ST 0x80 / PV.ST
PV.ST PV.ST PV.ST PV.ST

APG Block Icons for Optimized Process Visualization


36 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

1
Formed from the setpoint and the High tolerance value of the setpoint
2
Formed from the setpoint and the Low tolerance value of the setpoint
● false: Fixed Boolean value '0'
● lim: Block forms limit
● 0x80: Fixed status value 'Good'
● cust: User-specific address value
● para: Adjustable or interconnectable value
● x: Known address value

"ViewMode" parameter
In the "ViewMode" parameter, you can determine whether the APG bar graph shows a normal
bar ("ViewMode = 0") or a difference bar ("ViewMode = 1").
With normal bars, the origin is located at the low limit of the bar graph, whereas with difference
bars, the origin of the bar is located in the middle between the high and low limit of the operating
range ("PV_OH_Lim, PV_OL_Lim").
The parameter has no effect on the operation of the AS block.

"ViewRange" parameter
The display range is calculated depending on the setting of the ViewRange parameter. The
individual parameters have the following meaning:

ViewRange = 1 (measuring range)


The display range is based on the measuring range:

ViewRange = 2 (display range)


The display range remains unchanged.

ViewRange = 3 (alarm range)


The display range is derived from the alarm limits and the "DisplayRatio" parameter. The
"DisplayRatio" parameter indicates the proportion of the bar that corresponds to the range
between the "Highalarm" and "Lowalarm". The limits are calculated as follows:

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 37
Connector block
7.2 Parameters of the connector block

ViewRange = 4 (operating range)


The display range is derived from the operating range and the DisplayRatio parameter.
DisplayRatio indicates the proportion of the bar that corresponds to the range between the
high limit and low limit of the operating range. The limits are calculated as follows:

Input parameters

Parameter Category OCM Description


EN BOOL 0
EV_ID DWORD 0 Event ID for Alarm8P
BlockType INT 0 Read Mode: 0=Another block, 1=MonAnL,
2=PIDConL, 3=PIDConR, 4=PIDStepL,
5=DoseL
ViewMode INT 1 1 = Absolute Bargraph, 2 = Differential
Bargraph
ViewRangeMode INT 0 1 = Measuring Range, 2 = Display Range, 3
= Alarm Range, 4 = Operating Range
ReadPointer ANY 0 Connected block ReadPointer
Adr_PV STRUCT 0 Address to read process value
Adr_PV.DBWord INT 0
Adr_PV.Bit INT 0
Adr_PV_ST STRUCT 0 Address to read status of process value
Adr_PV_ST.DBWord INT 0
Adr_PV_ST.Bit INT 0
Adr_PV_Unit STRUCT 0 Address to read unit of process value
Adr_PV_Unit.DBWord INT 0
Adr_PV_Unit.Bit INT 0
Adr_SP STRUCT 0 Address to read setpoint
Adr_SP.DBWord INT 0
Adr_SP.Bit INT 0
Adr_SP_ST STRUCT 0 Address to read status of setpoint
Adr_SP_ST.DBWord INT 0
Adr_SP_ST.Bit INT 0
Adr_PV_Grad STRUCT 0 Address to read gradient of process value
Adr_PV_Grad.DBWord INT 0
Adr_PV_Grad.Bit INT 0

APG Block Icons for Optimized Process Visualization


38 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


Adr_PV_Grad_ST STRUCT 0 Address to read status of gradient of process
value
Adr_PV_Grad_ST.DBWord INT 0
Adr_PV_Grad_ST.Bit INT 0
Adr_PV_OpSkale_High STRUCT 0 Address to read scale of process value high
Adr_PV_OpSkale_High.DBWor INT 0
d
Adr_PV_OpSkale_High.Bit INT 0
Adr_PV_OpSkale_Low STRUCT 0 Address to read scale of process value low
Adr_PV_OpSkale_Low.DBWor INT 0
d
Adr_PV_OpSkale_Low.Bit INT 0
Adr_DispRange_High STRUCT 0 Address to read display range high
Adr_DispRange_High.DBWord INT 0
Adr_DispRange_High.Bit INT 0
Adr_DispRange_Low STRUCT 0 Address to read display range low
Adr_DispRange_Low.DBWord INT 0
Adr_DispRange_Low.Bit INT 0
Adr_PV_Hyst STRUCT 0 Address to read hysteresis of process value
Adr_PV_Hyst.DBWord INT 0
Adr_PV_Hyst.Bit INT 0
Adr_PV_AH_Lim STRUCT 0 Address to read high alarm limit of process
value
Adr_PV_AH_Lim.DBWord INT 0
Adr_PV_AH_Lim.Bit INT 0
Adr_PV_WH_Lim STRUCT 0 Address to read high warning limit of process
value
Adr_PV_WH_Lim.DBWord INT 0
Adr_PV_WH_Lim.Bit INT 0
Adr_PV_TH_Lim STRUCT 0 Address to read high tolerance limit of
process value
Adr_PV_TH_Lim.DBWord INT 0
Adr_PV_TH_Lim.Bit INT 0
Adr_PV_OH_Lim STRUCT 0 Address to read high operating limit of
process value
Adr_PV_OH_Lim.DBWord INT 0
Adr_PV_OH_Lim.Bit INT 0
Adr_PV_OL_Lim STRUCT 0 Address to read low operating limit of process
value
Adr_PV_OL_Lim.DBWord INT 0
Adr_PV_OL_Lim.Bit INT 0
Adr_PV_TL_Lim STRUCT 0 Address to read low tolerance limit of process
value
Adr_PV_TL_Lim.DBWord INT 0
Adr_PV_TL_Lim.Bit INT 0

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 39
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


Adr_PV_WL_Lim STRUCT 0 Address to read low warning limit of process
value
Adr_PV_WL_Lim.DBWord INT 0
Adr_PV_WL_Lim.Bit INT 0
Adr_PV_AL_Lim STRUCT 0 Address to read low alarm limit of process
value
Adr_PV_AL_Lim.DBWord INT 0
Adr_PV_AL_Lim.Bit INT 0
Adr_GradHUpLim STRUCT 0 Address to read high limit of rising gradient
Adr_GradHUpLim.DBWord INT 0
Adr_GradHUpLim.Bit INT 0
Adr_GradHDnLim STRUCT 0 Address to read high limit of falling gradient
Adr_GradHDnLim.DBWord INT 0
Adr_GradHDnLim.Bit INT 0
Adr_PV_AH_En STRUCT 0 Address to read enable bit of alarm high
Adr_PV_AH_En.DBWord INT 0
Adr_PV_AH_En.Bit INT 0
Adr_PV_WH_En STRUCT 0 Address to read enable bit of warning high
Adr_PV_WH_En.DBWord INT 0
Adr_PV_WH_En.Bit INT 0
Adr_PV_TH_En STRUCT 0 Address to read enable bit of tolerance high
Adr_PV_TH_En.DBWord INT 0
Adr_PV_TH_En.Bit INT 0
Adr_PV_OH_En STRUCT 0 Address to read enable bit of operating limit
high
Adr_PV_OH_En.DBWord INT 0
Adr_PV_OH_En.Bit INT 0
Adr_PV_OL_En STRUCT 0 Address to read enable bit of operating limit
low
Adr_PV_OL_En.DBWord INT 0
Adr_PV_OL_En.Bit INT 0
Adr_PV_TL_En STRUCT 0 Address to read enable bit of tolerance low
Adr_PV_TL_En.DBWord INT 0
Adr_PV_TL_En.Bit INT 0
Adr_PV_WL_En STRUCT 0 Address to read enable bit of warning low
Adr_PV_WL_En.DBWord INT 0
Adr_PV_WL_En.Bit INT 0
Adr_PV_AL_En STRUCT 0 Address to read enable bit of alarm low
Adr_PV_AL_En.DBWord INT 0
Adr_PV_AL_En.Bit INT 0
Adr_PV_GradHUpEn STRUCT 0 Address to read enable bit of high rising
gradient
Adr_PV_GradHUpEn.DBWord INT 0
Adr_PV_GradHUpEn.Bit INT 0

APG Block Icons for Optimized Process Visualization


40 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


Adr_PV_GradHDnEn STRUCT 0 Address to read enable bit of high falling
gradient
Adr_PV_GradHDnEn.DBWord INT 0
Adr_PV_GradHDnEn.Bit INT 0
Adr_PV_AH_Act STRUCT 0 Address to read active bit of alarm high
Adr_PV_AH_Act.DBWord INT 0
Adr_PV_AH_Act.Bit INT 0
Adr_PV_WH_Act STRUCT 0 Address to read active bit of warning high
Adr_PV_WH_Act.DBWord INT 0
Adr_PV_WH_Act.Bit INT 0
Adr_PV_TH_Act STRUCT 0 Address to read active bit of tolerance high
Adr_PV_TH_Act.DBWord INT 0
Adr_PV_TH_Act.Bit INT 0
Adr_PV_OH_Act STRUCT 0 Address to read active bit of operating limit
high
Adr_PV_OH_Act.DBWord INT 0
Adr_PV_OH_Act.Bit INT 0
Adr_PV_OL_Act STRUCT 0 Address to read active bit of operating limit
high
Adr_PV_OL_Act.DBWord INT 0
Adr_PV_OL_Act.Bit INT 0
Adr_PV_TL_Act STRUCT 0 Address to read active bit of tolerance low
Adr_PV_TL_Act.DBWord INT 0
Adr_PV_TL_Act.Bit INT 0
Adr_PV_WL_Act STRUCT 0 Address to read active bit of warning low
Adr_PV_WL_Act.DBWord INT 0
Adr_PV_WL_Act.Bit INT 0
Adr_PV_AL_Act STRUCT 0 Address to read active bit of alarm low
Adr_PV_AL_Act.DBWord INT 0
Adr_PV_AL_Act.Bit INT 0
Adr_PV_GradHUpAct STRUCT 0 Address to read active bit of high rising
gradient
Adr_PV_GradHUpAct.DBWord INT 0
Adr_PV_GradHUpAct.Bit INT 0
Adr_PV_GradHDnAct STRUCT 0 Address to read active bit of high rising
gradient
Adr_PV_GradHDnAct.DBWord INT 0
Adr_PV_GradHDnAct.Bit INT 0
Adr_Oos STRUCT 0 Address to read OosAct value
Adr_Oos.DBWord INT 0
Adr_Oos.Bit INT 0
Adr_Oos_ST STRUCT 0 Address to read status of OosAct value
Adr_Oos_ST.DBWord INT 0
Adr_Oos_ST.Bit INT 0

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 41
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


PV STRUCT 1 Process value
PV.Value REAL 1
PV.ST BYTE 0
PV_Unit INT 1 Unit of PV
SP STRUCT 1 Setpoint
SP.Value REAL 1
SP.ST BYTE 0
PV_Grad STRUCT 1 Gradient of PV
PV_Grad.Value REAL 1
PV_Grad.ST BYTE 0
PV_OpSkale STRUCT 1 Measuring range
PV_OpSkale.High REAL 1
PV_OpSkale.Low REAL 1
DispRange STRUCT 1 Display range
DispRange.High REAL 1
DispRange.Low REAL 1
DispRatio REAL 0 Display ratio
PV_HYST REAL 1 Hysteresis of PV
PV_AH_Lim REAL 1 Alarm limit high
PV_WH_Lim REAL 1 Warning limit high
PV_TH_Lim REAL 1 Tolerance limit high
PV_OH_Lim REAL 1 Operating range limit high
PV_OL_Lim REAL 1 Operating range limit low
PV_TL_Lim REAL 1 Tolerance limit low
PV_WL_Lim REAL 1 Warning limit low
PV_AL_Lim REAL 1 Alarm limit low
GradHUpLim REAL 1 Positive gradient high limit
GradHDnLim REAL 1 Negative gradient high limit
PV_AH_EN BOOL 0 Alarm high limit enable
PV_WH_EN BOOL 0 Warning high limit enable
PV_TH_EN BOOL 0 Tolerance high limit enable
PV_OH_EN BOOL 0 Operating range high limit enable
PV_OL_EN BOOL 0 Operating range low limit enable
PV_TL_EN BOOL 0 Tolerance low limit enable
PV_WL_EN BOOL 0 Warning low limit enable
PV_AL_EN BOOL 0 Alarm low limit enable
PV_GradHUpEn BOOL 0 Gradient limit up enable
PV_GradHDnEn BOOL 0 Gradient limit down enable
OosAct STRUCT 1 Out of service is active
OosAct.Value REAL 1
OosAct.ST BYTE 0
OS_Perm STRUCT 0 Operator permissions
OS_Perm.Bit0 BOOL 0 Reserved

APG Block Icons for Optimized Process Visualization


42 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


OS_Perm.Bit1 BOOL 0 Reserved
OS_Perm.Bit2 BOOL 0 Reserved
OS_Perm.Bit3 BOOL 0 Reserved
OS_Perm.Bit4 BOOL 0 Reserved
OS_Perm.Bit5 BOOL 0 Reserved
OS_Perm.Bit6 BOOL 0 Reserved
OS_Perm.Bit7 BOOL 0 Reserved
OS_Perm.Bit8 BOOL 0 Reserved
OS_Perm.Bit9 BOOL 0 Reserved
OS_Perm.Bit10 BOOL 0 Reserved
OS_Perm.Bit11 BOOL 0 Reserved
OS_Perm.Bit12 BOOL 0 Reserved
OS_Perm.Bit13 BOOL 0 Reserved
OS_Perm.Bit14 BOOL 0 Reserved
OS_Perm.Bit15 BOOL 0 Reserved
OS_Perm.Bit16 BOOL 0 Reserved
OS_Perm.Bit17 BOOL 0 Reserved
OS_Perm.Bit18 BOOL 0 Reserved
OS_Perm.Bit19 BOOL 0 Reserved
OS_Perm.Bit20 BOOL 0 Reserved
OS_Perm.Bit21 BOOL 0 Reserved
OS_Perm.Bit22 BOOL 0 Reserved
OS_Perm.Bit23 BOOL 0 Reserved
OS_Perm.Bit24 BOOL 0 Reserved
OS_Perm.Bit25 BOOL 0 Reserved
OS_Perm.Bit26 BOOL 0 Reserved
OS_Perm.Bit27 BOOL 0 Reserved
OS_Perm.Bit28 BOOL 0 Reserved
OS_Perm.Bit29 BOOL 0 Reserved
OS_Perm.Bit30 BOOL 0 Reserved
OS_Perm.Bit31 BOOL 0 Reserved
Feature STRUCT 0 Status of various features
Feature.Bit0 BOOL 0 Reserved
Feature.Bit1 BOOL 0 1 = OosLi can switch to Out of Service
Feature.Bit2 BOOL 0 Reserved
Feature.Bit3 BOOL 0 Reserved
Feature.Bit4 BOOL 0 Reserved
Feature.Bit5 BOOL 0 Reserved
Feature.Bit6 BOOL 0 Reserved
Feature.Bit7 BOOL 0 Reserved
Feature.Bit8 BOOL 0 Reserved
Feature.Bit9 BOOL 0 Reserved
Feature.Bit10 BOOL 0 Reserved

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 43
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


Feature.Bit11 BOOL 0 Reserved
Feature.Bit12 BOOL 0 Reserved
Feature.Bit13 BOOL 0 Reserved
Feature.Bit14 BOOL 0 Reserved
Feature.Bit15 BOOL 0 Reserved
Feature.Bit16 BOOL 0 Reserved
Feature.Bit17 BOOL 0 1 = Detect Alarm High
Feature.Bit18 BOOL 0 1 = Detect Warning High
Feature.Bit19 BOOL 0 1 = Detect Tolerance High
Feature.Bit20 BOOL 0 1 = Detect Operating Range High
Feature.Bit21 BOOL 0 1 = Detect Operating Range Low
Feature.Bit22 BOOL 0 1 = Detect Tolerance Low
Feature.Bit23 BOOL 0 1 = Detect Warning Low
Feature.Bit24 BOOL 0 1 = Detect Alarm Low
Feature.Bit25 BOOL 0 1 = Use tolerance limits for operation range
Feature.Bit26 BOOL 0 1 = Reset switching points if switching to Out
of Service
Feature.Bit27 BOOL 0 Reserved
Feature.Bit28 BOOL 0 1 = Disable switching points
Feature.Bit29 BOOL 0 1 = Signal value = 0 (0 active) if limit is violated
Feature.Bit30 BOOL 0 Reserved
Feature.Bit31 BOOL 0 Reserved
BatchEn BOOL 1 Batch enabled
Occupied BOOL 1 Occupied by batch
BatchID DWORD 1 Batch ID
BatchName STRING[3 1 Batch name
2]
StepNo DWORD 1 Step number of batch
OosAct_Out STRUCT 1 Out of service is active
OosAct_Out.Value REAL 1
OosAct_Out.ST BYTE 0

Output parameters

Parameter Category OCM Description


ENO BOOL 0
GrpErr STRUCT 0 1 = Group error is active
GrpErr.Value BOOL 0
GrpErr.ST BYTE 0
DBLenErr STRUCT 0 1 = DB length of connected block is incorrect
DBLenErr.Value BOOL 0
DBLenErr.ST BYTE 0

APG Block Icons for Optimized Process Visualization


44 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


DBAdrErr STRUCT 0 1 = Invalid address used
DBAdrErr.Value BOOL 0
DBAdrErr.ST BYTE 0
PV_Out STRUCT 1 Actual process value;
PV_Out.Value REAL 1
PV_Out.ST BYTE 0
SP_Out STRUCT 0 Actual setpoint;
SP_Out.Value REAL 1
SP_Out.ST BYTE 0
PV_Grad_Out STRUCT 0 Actual gradient;
PV_Grad_Out.Value REAL 1
PV_Grad_Out.ST BYTE 0
PV_AH_ACT STRUCT 0 PV- Alarm High Active
PV_AH_ACT.Value BOOL 0
PV_AH_ACT.ST BYTE 0
PV_WH_ACT STRUCT 0 PV- Warning High Active
PV_WH_ACT.Value BOOL 0
PV_WH_ACT.ST BYTE 0
PV_TH_ACT STRUCT 0 PV- Tolerance High Active
PV_TH_ACT.Value BOOL 0
PV_TH_ACT.ST BYTE 0
PV_OH_ACT STRUCT 0 PV- Operating Range High Active
PV_OH_ACT.Value BOOL 0
PV_OH_ACT.ST BYTE 0
PV_OL_ACT STRUCT 0 PV- Operating Range Low Active
PV_OL_ACT.Value BOOL 0
PV_OL_ACT.ST BYTE 0
PV_TL_ACT STRUCT 0 PV- Tolerance Low Active
PV_TL_ACT.Value BOOL 0
PV_TL_ACT.ST BYTE 0
PV_WL_ACT STRUCT 0 PV- Warning Low Active
PV_WL_ACT.Value BOOL 0
PV_WL_ACT.ST BYTE 0
PV_AL_ACT STRUCT 0 PV- Alarm Low Active
PV_AL_ACT.Value BOOL 0
PV_AL_ACT.ST BYTE 0
GradHUpACT STRUCT 0 HUp Gradient Active
GradHUpACT.Value BOOL 0
GradHUpACT.ST BYTE 0
GradHDnACT STRUCT 0 HDn Gradient Active
GradHDnACT.Value BOOL 0
GradHDnACT.ST BYTE 0
PV_AH_Lim_Out STRUCT 0 PV – Alarm High

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 45
Connector block
7.2 Parameters of the connector block

Parameter Category OCM Description


PV_AH_Lim_Out.Value REAL 0
PV_AH_Lim_Out.ST BYTE 0
PV_WH_Lim_Out STRUCT 0 PV – Warning High
PV_WH_Lim_Out.Value REAL 0
PV_WH_Lim_Out.ST BYTE 0
PV_TH_Lim_Out STRUCT 0 PV – Tolerance High
PV_TH_Lim_Out.Value REAL 0
PV_TH_Lim_Out.ST BYTE 0
PV_OH_Lim_Out STRUCT 0 PV – Operating Range High
PV_OH_Lim_Out.Value REAL 0
PV_OH_Lim_Out.ST BYTE 0
PV_OL_Lim_Out STRUCT 0 PV – Operating Range Low
PV_OL_Lim_Out.Value REAL 0
PV_OL_Lim_Out.ST BYTE 0
PV_TL_Lim_Out STRUCT 0 PV – Tolerance Low
PV_TL_Lim_Out.Value REAL 0
PV_TL_Lim_Out.ST BYTE 0
PV_WL_Lim_Out STRUCT 0 PV – Warning Low
PV_WL_Lim_Out.Value REAL 0
PV_WL_Lim_Out.ST BYTE 0
PV_AL_Lim_Out STRUCT 0 PV – Alarm Low
PV_AL_Lim_Out.Value REAL 0
PV_AL_Lim_Out.ST BYTE 0
GradHUpLim_Out STRUCT 0 HUp gradient
GradHUpLim_Out.Value REAL 0
GradHUpLim_Out.ST BYTE 0
GradHDnLim_Out STRUCT 0 HDn gradient
GradHDnLim_Out.Value REAL 0
GradHDnLim_Out.ST BYTE 0
Status1 DWORD 1 Status 1 word
Status2 DWORD 1 Status 2 word
Status3 DWORD 1 Status 3 word
OS_PermOut DWORD 1 Operator permission: Output for OS
OS_PermLog DWORD 1 Operator permission: Output for OS

Status word allocation for Status1 parameter

Status bit Parameter


0 Occupied
1 BatchEn
2 -

APG Block Icons for Optimized Process Visualization


46 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.2 Parameters of the connector block

Status bit Parameter


3 OosAct.Value
4...31 -

Status word allocation for Status2 parameter

Status bit Parameter


0 -
1 PV_AH_Act.Value 1
2 PV_WH_Act.Value
3 PV_TH_Act.Value
4 PV_TL_Act.Value
5 PV_WL_Act.Value
6 PV_AL_Act.Value
7 PV_AH_En
8 PV_WH_En
9 PV_TH_En
10 PV_TL_En
11 PV_WL_En
12 PV_AL_En
13 PV_OH_Act.Value
14 PV_OL_Act.Value
15 PV_OH_En
16 PV_OL_En
17...18 -
19 GradHUpAct.Value
20 GradHDnAct.Value
21 -
22 PV_GradHUpEn
23 PV_GradHLoEn
24...31 -
1
The actual signal is shown, regardless of Feature.bit28/29. This applies to all limits (…_Act) in
status word2

Status word allocation for Status3 parameter

Status bit Parameter


0...31 -

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 47
Connector block
7.3 Effects of the "Out of Service" mode

7.3 Effects of the "Out of Service" mode


The APG connector block has no "Out of Service" mode in the APL sense.
The input "OosAct" is read in the same way as the input PV, for example. However,
"OosAct" has an effect on the following limit outputs:
● PV_AH_Act
● PV_WH_Act
● PV_TH_Act
● PV_OH_Act
● PV_OL_Act
● PV_TL_Act
● PV_WL_Act
● PV_AL_Act
● GradHUpAct
● GradHDnAct
If "OosAct#Value = 1", the outputs are processed depending on "Feature.Bit26".
● With "Feature.Bit26 = 0", the outputs are not updated.
● With "Feature.Bit26 = 1", the outputs are set to inactive.

APG Block Icons for Optimized Process Visualization


48 Function Manual, 02/2013, A5E32100066-AA
Connector block
7.4 Connector block error response

7.4 Connector block error response


The APG connector block recognizes two different errors:

Instance data block length errors (DBLenErr)


The APG connector block knows a variety of APL blocks (MonAnL, PIDConL, PIDStepL,
PIDConR, DoseL).
All the required addresses for reading the block values are stored in the APG connector block.
The APG connector block is thus connected to certain (interface) versions of this block.
The APG connector block (HMIpConn V1.4 for PCS7 V8.1) requires the following APL block
versions:
● MonAnL V3.0
● PIDConL V3.0
● PIDStepL V3.0
● PIDConR V3.0
● DoseL V3.0
The correct version of the block is checked using the instance data block length.
If the instance data block length does not match the expected length, the "DBLenErr" block
output is set.
The block processing is immediately interrupted and no values are read.

Address errors (DBAdrErr)


The APG connector block can read unknown parameters from user-defined addresses. The
configured address is checked for validity by verifying whether it is within the data block length
(see above) and, when a binary value is involved, whether the position of the bit is set between
0 and 7.
If either of these conditions is not met, the "DBAdrErr" output is set and the corresponding
value is not read.
If one of the two errors described above occurs, the "GrpErr" output is set.

APG Block Icons for Optimized Process Visualization


Function Manual, 02/2013, A5E32100066-AA 49

You might also like