Siemens C - ADAPT - 009 Manual

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

Function 1

Operating principle 2

Adaptations in the OS 3
PCS 7
Time characteristics 4
CEMAT
Adapter C_ADAPT 5
Message characteristics

Module states 6
Function Manual

I/O-bar of C_ADAPT 7

07/2016
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 Copyright © Siemens AG 2016.


Division Process Industries and Drives Ⓟ 07/2016 Subject to change All rights reserved
Postfach 48 48
90026 NÜRNBERG
GERMANY
Table of contents

1 Function........................................................................................................................................................5
1.1 General Function description...................................................................................................6
1.2 Visualization.............................................................................................................................7
2 Operating principle.......................................................................................................................................9
2.1 Input interfaces.........................................................................................................................9
2.2 Group and Object links...........................................................................................................11
2.3 Output interfaces....................................................................................................................14
2.4 Engineering Errors.................................................................................................................15
3 Adaptations in the OS.................................................................................................................................17
4 Time characteristics....................................................................................................................................21
5 Message characteristics.............................................................................................................................23
6 Module states.............................................................................................................................................25
7 I/O-bar of C_ADAPT...................................................................................................................................27

Adapter C_ADAPT
Function Manual, 07/2016 3
Table of contents

Adapter C_ADAPT
4 Function Manual, 07/2016
Function 1
Type/Number

Module name: C_ADAPT


Module no.: FB1018

Calling OBs
All CEMAT Functions must be installed in the same OB, which is preferable OB1. The System
Chart SYSPLCxx contains infrastructure blocks which must be called at the Beginning
(Runtime group OB1_START) and at the End (Runtime group OB1_END) of this OB.
The application program must be called between OB1_START and OB1_END.
Calling of the CEMAT blocks in a cyclic interrupt OB (OB34 or OB35) is possible, but only if the
complete program is called in the same cyclic interrupt OB. In this case the infrastructure blocks
must as well be moved to the cyclic interrupt OB (see Engineering Manual chapter Tips&Tricks)

Adapter C_ADAPT
Function Manual, 07/2016 5
Function
1.1 General Function description

1.1 General Function description


Via C_ADAPT non-CEMAT modules can be connected to CEMAT groups and routes.
In case of faults or warnings of the non-CEMAT module, this information is displayed in the
collective display for group / route.
In the Group Instance list the non-CEMAT module is displayed. With a double-click on the non-
CEMAT module the faceplate is opened.
For more details the non-CEMAT block must have a status word, providing the information
"Device running", "Fault", "Warning" and individual fault/warning definitions. This information
can be seen in the status display and in the status call function of the group.
The status word of the non-CEMAT block must be defined in a configuration file, which has to
follow a certain structure and must be located under D:\CEMAT_CS\Config.
The Group instance list shows the status:
● Device stopped (white)
● Device running (green)
● Device summarizing fault (red)
● Device summarizing warning (yellow)
In case of a fault or warning, the Status call function shows each individual fault/warning with
Tag and Comment from the non-CEMAT block and with the fault/warning text, defined in the
config file.

Adapter C_ADAPT
6 Function Manual, 07/2016
Function
1.2 Visualization

1.2 Visualization
The C_ADAPT block is an invisible link between non-CEMAT modules and CEMAT groups/
routes and it does not appear in the visualization system.

Adapter C_ADAPT
Function Manual, 07/2016 7
Function
1.2 Visualization

Adapter C_ADAPT
8 Function Manual, 07/2016
Operating principle 2
2.1 Input interfaces

DUMMY

DUMMY Dummy Pointer


Format POINTER
This input is not visible and it is not allowed to link this input. The input DUMMY will only be used
for internal functions!

Fault

Fault Fault
Format POINTER
This input must be connected with an output of the non-CEMAT module. The output of the non-
CEMAT module must have the 1-Signal for a fault.

Note
Only FBs with an instance-DB can be interconnected.

DynFlt (FT_NACK)

DynFlt fault (not acknowledged) Basic state 0-Signal


Format BOOL
When the non-CEMAT module has an output that indicates 1-Signal for a non-acknowledged
fault, you can connect this output with DynFlt.
For 1-Signal at DynFlt, a red flashing light indicates a started group / route.

Warning

Warning Warning
Format POINTER
This input must be connected with an output of the non-CEMAT module. The output of the non-
CEMAT module must have the 1-Signal for a warning.

Note
Only FBs with an instance-DB can be interconnected.

Adapter C_ADAPT
Function Manual, 07/2016 9
Operating principle
2.1 Input interfaces

DynWarn

DynWarn Warning not acknowledged Basic state 0-Signal


Format BOOL
When the non-CEMAT module has an output that indicates 1-signal for a non-acknowledged
warning, you can connect this output with DynWarn.
For 1-Signal at DynWarn, a yellow flashing light indicates a started group / route.

GrFltLck (AMZS)

GrFltLck 1 = don't include in group summarizing ind Basic state 0-Signal


Format BOOL
A 1-signal on GrFltLck prevents that the dynamic and static fault is passed to the group. In
the status call the fault/warning of the non-CEMAT block can still be seen. This can be useful
in case of selections. If the device is not selected it is not considered for the summarizing
indications of the group.

GrStaLck (GFSO)

GrStaLck 1 = don't incl. in group sum. ind.+status call Basic state 0-Signal
Format BOOL
1-Signal at GrStaLck completely deselects the non-CEMAT block for the Group Summarizing
fault and for the Group Status Call.
The function is similar to interface GrFltLck but the device is excluded from status call as
well.

Adapter C_ADAPT
10 Function Manual, 07/2016
Operating principle
2.2 Group and Object links

2.2 Group and Object links

Group/Route links
Each drive block, annunciation block or measurement block must be linked to a group or route
in order to collect the status of these objects for summarizing indications. In case of a
non‑CEMAT block the device can be linked to the group or route via block C_ADAPT.
The group link is essential for control and diagnosis and comprises the following functions:
● All objects, linked to the group (or route) are listed in the group (or route) object list.
● All objects, linked to the group (or route) are highlighted in the process picture with button
"Show related objects".
● The faults of all objects, linked to the group (or route) are included in the summarizing fault
indication of the group (or route).
● The warnings of all objects, linked to the group (or route) are included in the summarizing
warning indication of the group (or route).
● In case of a dynamic fault during the startup of the group, the group start will be interrupted.
A C_ADAPT block can be linked to two groups or routes via GR_LINK1 and GR_LINK2. If a
device belongs to more than two groups or routes the additional block C_MUX must be
inserted, which provides 5 additional link interfaces.

Note
The main group (or main route) should be connected to GR_LINK1! This is the one which is
opened with a click on button "Main group" in the device faceplate (if existing).

GR_LINK1

GR_LINK1 Link to group or route


Format STRUCT
The GR_LINK1 interface of the drive must be connected with the R_LINK interface of the route
or with the G_LINK interface of the group.

Note
GR_LINK1 must be used for the main group!

Structure variables:
GR_LINK1.Link Link Default: 0
Format INTEGER
GR_LINK1.Command Group / Route Command Default: 16#00
Format WORD

Adapter C_ADAPT
Function Manual, 07/2016 11
Operating principle
2.2 Group and Object links

GR_LINK2

GR_LINK2 Link to group or route


Format STRUCT
If the drive belongs to two different routes or groups, the GR_LINK2 interface must be con‐
nected with the second route/group.

Structure variables:
GR_LINK2.Link Link Default: 0
Format INTEGER
GR_LINK2.Command Group / Route Command Default: 16#00
Format WORD

MUX_LINK

MUX_LINK Link to C_MUX


Format STRUCT
If the drive belongs to more than two different routes or groups, the C_MUX module must be
series-connected. C_MUX has 5 inputs (GR_LINK1 to GR_LINK5) for connection with the
groups/routes and one output (MUX_OUT) for connection with the MUX_LINK interface of the
drive.

Note
If a C_MUX block is used, the programming order is very important. The C_MUX must be called
before the drive block!
If the same C_MUX block is connected to more than one object (e. g. the drive and
annunciations and measures of the same equipment), it is essential that no different group link
(or C_MUX) is programmed between those objects.

Structure variables:
MUX_LINK.Point_GRL Pointer Default: 0
Format INTEGER
MUX_LINK.Command Group / Route Command Default: 16#00
Format WORD

Adapter C_ADAPT
12 Function Manual, 07/2016
Operating principle
2.2 Group and Object links

Example of a circuit
The non-CEMAT block is assigned to the Group1 via adapter block C_ADAPT.

1RQ&HPDW'HYLFH
$1<B%/2&. 0$,1B7$6.
 $GDSWHUIRU1RQ&HPDW'HYLFH
%2 )DXOW 67$786 ': &B$'$37 0$,1B7$6.
%2 )DXOW 5XQ6LJ %2 
%2 )DXOW )DXOW %2 )DXOW ,167B'%
%2 )DXOW '\Q)DXOW %2 '\Q)DXOW +,*+/,*+
%2 :DUQLQJ :DUQLQJ ': :DUQLQJ (UU1XP
%2 :DUQLQJ '\Q:DUQ %2 '\Q:DUQ
%2 :DUQLQJ
%2 :DUQLQJ
%2 6WDUW
%2 $FN
67 *5B/,1.
67 *5B/,1.
67 08;B/,1.

*URXS
&B*URXS 0$,1B7$6.


*B/,1. 67

Note
Check the runtime sequence! The C_MUX module must be called before the drive. For the
other modules the run sequence is as follows: first the drives/devices, then the associated
routes and finally the associated groups.

Note
Some people use one C_MUX block and connect its output to a number of drives/devices,
annunciations and measurements.
If you do so, make sure that the C_MUX is called before all the other objects and that no other
C_MUX call comes in between.
We don't recommend using the same C_MUX if the blocks are located in different runtime
groups.

Adapter C_ADAPT
Function Manual, 07/2016 13
Operating principle
2.3 Output interfaces

2.3 Output interfaces


Output status for connection to other blocks

INST_DB

INST_DB Instance DB for test


Format INTEGER
You may only switch signals to the Fault or Warning input from FBs that have an instance
DB. The C_ADAPT cannot recognize when you interconnect an FC. To allow you in the case
of any problems to test whether the correct module has been interconnected, the C_ADAPT
displays the number of the instance DB.

HIGHLIGH

HIGHLIGH Highlight (mark) symbol


Format BOOL
With faceplate button "R" (Related objects in picture), all objects linked to the group are marked
for the duration of HiLoObjTi. For this time also output HIGHLIGH is set to 1-signal.
If the Non-CEMAT object has a highlight function, this bit can be used in order do highlight this
object through the related group.

Adapter C_ADAPT
14 Function Manual, 07/2016
Operating principle
2.4 Engineering Errors

2.4 Engineering Errors

ErrorNum

ErrorNum Error Number Default: -1


Format INTEGER
In case of an invalid connection or an invalid feature bit setting the functionality of the block
can not be guaranteed any more. If the error number is different than -1 you have to check the
application program or the feature bits and correct it:

Error number Fault description


1
2
3 The C_ADAPT is not linked (GR_LINK1, GR_LINK2, MUX_LINK, O_LINK)
→ Check GR_LINK1, GR_LINK2, MUX_LINK, O_LINK connections
4
5
6
7
8
9
10
11
12
13
14
15
16 No connection to Fault or Warning or wrong connection (e. g. Input, Output, Memory,
which is not allowed).
17 The signals connected to Fault or Warning don't belong to the same block
18
19

Note
Only one error number can be indicated at a time!

Adapter C_ADAPT
Function Manual, 07/2016 15
Operating principle
2.4 Engineering Errors

Adapter C_ADAPT
16 Function Manual, 07/2016
Adaptations in the OS 3
No additional parameterization is necessary to permit the display of "non‑CEMAT" modules in
the group "status-call" and in the "object-list".
In this case, only the plant identifier and the comment are displayed (no fault type).
But the "non-CEMAT" module must have the attributes S7_m_c = true. And at least one
parameter must have the attribute S7_m_c = true.

Non CEMAT block with status word


When a non CEMAT block has a status word with defined bits the group status-call can display
several faults in detail.
Status call:

The object list displays the status of the block with several color:
● white = not running
● green =running
● red = fault
Object list:

Adapter C_ADAPT
Function Manual, 07/2016 17
Adaptations in the OS

To get this feature you have to provide a config file for each non CEMAT block type.
The status word of the block must have the attribute S7_m_c = true.

Edit CFG file


Config file for the non CEMAT block
In order to display the non-CEMAT block in the same way as a normal CEMAT, it must have
a status word (16 Bit) or double word (32 Bit) which contains a bit for running, summarizing
fault and for each specific fault type.
Example for the definition of a status word in a non-CEMAT block:

Bit No. description Bit No. in Config file


0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11

Adapter C_ADAPT
18 Function Manual, 07/2016
Adaptations in the OS

Bit No. description Bit No. in Config file


11 12
12 13
13 14
14 15
15 16
16 fault 1 17
17 fault 2 18
18 fault 3 19
19 fault 4 20
20 warning 1 21
21 warning 2 22
22 warning 3 23
23 warning 4 24
24 running 25
25 General fault 26
26 Fault not acknowledged 27
27 General warning 28
28 Warning not acknowledged 29
29 30
30 31
31 32

Note
The bits in the config file are counted from 1-32.
Example:
Summarizing fault = FaultBit in Config file = 26

The config file must be located under D:\CEMAT_CS\Config and must be named as follows:
Block name + _ + Language code + .cfg (e. g.: MOTOR_009.cfg)
Together with the Cemat installation you find a block 'SIM_ADAP3' and the corresponding
config file 'SIM_ADAP3_009.cfg'. This config file has the proper format and can be copied,
renamed and modified.
Example of SIM_ADAP3_009.cfg:
; This is an example file for an SIMATIC block of an subcontractor
; to show this object in the CEMAT Group/Route-Status

[Control]
; The name of the variable, which is an equivalent
; to the CEMAT Status variable
StatusVariableName=STA_MAR (Parametername for Status word)

[Run]
; This section is only for the Group Instance List (GRINZ)

Adapter C_ADAPT
Function Manual, 07/2016 19
Adaptations in the OS

; Bit (1-32) from StatusVariableName for Status Run


RunBit=25
; Bit (1-32) from StatusVariableName for Status Fault
FaultBit=26
; Bit (1-32) from StatusVariableName for Status Warning
WarningBit=28

[Fault]
;Visible, Attribut,Comment,Bit,Fault Class,Warning
1,FT1,Störungstext 1,17,P,F
1,FT2,Störungstext 2,18,P,F
1,FT3,Störungstext 3,19,P,F
1,FT4,Störungstext 4,20,P,F
1,WA1,Warnungstext 1,21,P,W
1,WA2,Warnungstext 2,22,P,W
1,WA3,Warnungstext 3,23,P,W
1,WA4,Warnungstext 4,24,P,W
;End of List

Note
Do not delete this line: ";End of List"

A line in sector [Fault] is structured like follows.


Visible = e. g. "1" = visible (entry has to be there, but will not used)
Attribut = e. g. "FT1" = Parameter name (entry has to be there, but will not used)
Comment = e. g. "fault text 1" = Text in status call of group or route module
Bit = e. g. "17" = Bit (1-32) from Status word
Fault Class = e. g. "P" = Fault Class (entry has to be there, but will not used)
Warning = e. g. "F" = Fault (F) or Warning (W) (By a "F" the status call line will be colored red,
by a "W" the status call line will be colored yellow).

Adapter C_ADAPT
20 Function Manual, 07/2016
Time characteristics 4
All Cemat adapter blocks C_ADAPT must be called before the associated route or group.
If C_MUX blocks are used, the C_MUX blocks must be called before the adapter block.

Adapter C_ADAPT
Function Manual, 07/2016 21
Time characteristics

Adapter C_ADAPT
22 Function Manual, 07/2016
Message characteristics 5
Block C_ADAPT does not generate annunciations.

Adapter C_ADAPT
Function Manual, 07/2016 23
Message characteristics

Adapter C_ADAPT
24 Function Manual, 07/2016
Module states 6
There is no block icon for the C_ADAPT block.

Adapter C_ADAPT
Function Manual, 07/2016 25
Module states

Adapter C_ADAPT
26 Function Manual, 07/2016
I/O-bar of C_ADAPT 7
C_ADAPT

Name Description Format Default Type Attr. HMI


DUMMY Dummy pointer to a CFC pool DB POINTER I
Fault Fault POINTER I
DynFault Dynamic fault (not acknowledged) BOOL 0 I
Warning Warning POINTER I
DynWarn Dynamic warning (not acknowledged) BOOL 0 I
GrFltLck 1 = don't include in group summarizing indica‐ BOOL 0 I U
tions
GrStaLck 1 = don't include in group summarizing ind. + BOOL 0 I U
status call
GR_LINK1 Link to group or route STRUCT I
GR_LINK1.Link Link INT 0 I U
GR_LINK1.Com Group/ route command WORD 16#00 I U
mand
GR_LINK2 Link to group or route STRUCT I
GR_LINK2.Link Link INT 0 I U
GR_LINK2.Com Group/ route command WORD 16#00 I U
mand
MUX_LINK Link to C_MUX STRUCT I
MUX_LINK.Poin Pointer INT 0 I U
t_GRL
MUX_LINK.Com Group/ route command WORD 16#00 I U
mand
INST_DB Instance DB for test INT 0 O
HIGHLIGH Highlight (mark) symbol BOOL 0 O
ErrorNum Error Number INT -1 O +

Adapter C_ADAPT
Function Manual, 07/2016 27
I/O-bar of C_ADAPT

Adapter C_ADAPT
28 Function Manual, 07/2016

You might also like