PCS7 Block icon and Faceplates

A

Thread Starter

Anil

Hi,

Say in Simatic Manager we have created a FB with OCM enabled & when compiled all the variables are getting created in WinCC. My question is: How do we create a block icon & faceplate, and link all the variables of the FB created in Simatic Manager to the block icon/faceplate?

Thanx,
Anil
 
R

Ronald Nijssen

Anil,
Standard Block Icons can be found in the PCS 7 OS graphic @@PCS7Typicals.pdl.

Create your own library graphic and name it: @PCS7Typicals<MyExtension>.pdl (where <MyExtension> is a comprhensive identifier)
Copy one of the standard symbols that matches from a lay-out perspective from the @@PCS7.. graphic into your graphic.

Modify the "Type" property to match: "@<FB-NAME>/1" where <FB-NAME> is the name of your FB. If multpiple Block Icons should exist for your FB use the text behind the slahs (/) to define how they are named (e.g. "PUMP-RIGHT" instead of "1")

The symbol will now be picked up by the Create Update Block Icon tool or compiler. Prerequisites are:

1. Graphic that is supposed to automatically get this symbol must have the property set that it does want symbols to be added. (default = TRUE)

2. The FB must be in a CFC chart that sits in or under the folder of that graphic.

3. You have set the search depth appropriatly (e.g. if the FB resides 3 folders down it is set to 3 or higher)

4. The CFC FB call has its property that a Block Icon should be placed for it set (default = TRUE)

5. The Block Icon identifier in the FB call in the CFC is either empty (resulting in block icon identied with "1" to be placed) or points to an existing block icon (e.g. PUMP-RIGHT).

You can also copy the block manually to the target graphic and run the available wizard to link it up with one mouse-click. Wizards can be found under the "Standard" tab in the Wizard view in the Graphics Designer

I hope this helps, if you have more of this type of detailed questions then I can have your sales person provide you with a comprehensive book. Please send me an e-mail on ronald.nijssen @ siemens.com if you are interested

Ronald
 
Top