Technical Forum

Process Control Systems SIMATIC PCS 7

APL Faceplate

Thread Starter: gk_apci   Started: 3/22/2011 4:08 PM   Replies: 14

« Previous thread Next thread »
Page 1 of 1 (15 items)
  3/22/2011, 4:08 PM
Joined 3/9/2010
Last visit: 3/25/2013
Posts: 6
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,
I'm trying to create an APL-style faceplate to match a custom block.  I've been following the APL Style Guide, but can't figure out how the block icon calls the faceplate .PDL.  I've created a block icon out of the existing Templates and changed the Type and Servername text to match the custom block.  I've also created screens @PG_MyAPLBlock.PDL, etc.  When I left-click on the block icon, I get the original faceplate (OpDi03) where the block icon was derived.  My understanding is that I don't need to modify the OnLButtonDown event to specifically refer to the screen that I want to call, that's it's taken care of by the Type and Servername.
Any help on how the faceplates are called would be appreciated.
Thanks
Top
  3/22/2011, 4:47 PM
Joined 1/21/2009
Last visit: 5/30/2011
Posts: 183
Rating:
Rated: Outstanding [4 out of 5 / rated 8 time(s)]. (8) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello GK_APCI;
The block icon has an attribute called Servername. If you write in this attribute:
 PCS7 MyAPLFaceplate Control then when left button is clicked over the icon the system will open  the faceplate with type  'MyAPLFaceplate'. This is very important if you need to use an alternative Faceplate for your icon.
Top
  3/22/2011, 6:14 PM
Joined 3/9/2010
Last visit: 3/25/2013
Posts: 6
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Thanks for the response.  I've done what you've explained and it still opens the @PG_OpDi03_Standard.pdl.  There must be something else I'm missing.
Thanks.
Top
  3/23/2011, 4:56 PM
Joined 5/18/2006
Last visit: 5/16/2013
Posts: 147
Rating:
Rated: Excellent [4.26 out of 5 / rated 34 time(s)]. (34) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
The best way is to copy/paste the orginal APL FPs (i.e @pg_OpDi03*.pdl) and rename to new name (@pg_MyAPLBlock*.PDL).  Open each new FP PDL file in graphic designer and select all objects (CNTRL-A) and select Link>Tags and perform a search and replace ALL with FIND=Old block type (i.e. OpDi03) and REPLACE=New Block Type (MyAPLBlock).  Repeat for Link>Text.  Again do this for every new FP PDL File. 

cabreytj
Top
  3/23/2011, 9:32 PM
Joined 3/9/2010
Last visit: 3/25/2013
Posts: 6
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Thanks.  There were no references (that I could find) to the OpDi03 block.  I did the same find/replace at the block icon and no references there either; I can't understand where it is getting the reference back to the copied icon.  Any other thoughts?

Top
  3/30/2011, 5:31 PM
Joined 5/18/2006
Last visit: 5/16/2013
Posts: 147
Rating:
Rated: Excellent [4.26 out of 5 / rated 34 time(s)]. (34) 
Rated: Excellent [5 out of 5 / rated 1 time(s)]. (1) 
Sorry for the delay in following-up, I was tied up in 2 plant shutdowns the past 2 weeks.

Anyway, on the main FP File (@PG_<Blocktype>.pdl or ), make sure you select all via Control A keyboard shortcut.  There are hidden objects in the picture.  In particular, the ObjCollection Object has a property BlockType which is set equal to <BlockType> or OpDi03.  This needs to be replaced with the new block/FP name.  The Link/Texts Search/Replace I described in my previous post should found this.

cabreytj
Top
Thank you for this post from:
  4/7/2011, 3:10 PM
Joined 3/9/2010
Last visit: 3/25/2013
Posts: 6
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Thanks!  That was the problem, the hidden links at the top of the screen with links to the original faceplate.
Top
  8/15/2011, 7:00 AM
Joined 8/9/2011
Last visit: 11/6/2011
Posts: 2
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

I have the same problem as gk_apci but mine is an APL VlvL faceplate. I did what cabreytj had instructed but it is not working. The faceplate appears once i clicked on the icon block what it is not showing anything. Can you help identify what i am missing.
Thanks..
Top
  8/15/2011, 2:59 PM
Joined 5/18/2006
Last visit: 5/16/2013
Posts: 147
Rating:
Rated: Excellent [4.26 out of 5 / rated 34 time(s)]. (34) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Please run apdiag (C:\Program Files\Siemens\WinCC\uTools\apdiag.exe, then open output window).  What does apdiag show when you attempt to open faceplate by clicking on block icon?

cabreytj
Top
  8/16/2011, 1:45 PM
Joined 8/9/2011
Last visit: 11/6/2011
Posts: 2
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Thanks cabreytj.
The faceplate is now working fine, I only did replaced the name in objcollection before, i did not realized that there are still two properties to be changed., thanks to you and one kind guy from customer support.grin
Top
  3/6/2012, 6:59 PM
Joined 6/16/2011
Last visit: 5/17/2012
Posts: 5
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
I have a modified/renamed version of MonAnL, and I've created a new block icon, based on the MonAnL block icon, following the steps in this thread.  I compile my OS, and I get my block icon, and I move the block icon to where I want it on the graphic.  The block icon does bring up the faceplate in WinCC.  All good.

However, if I compile the OS again, then the compiler deletes the custom block icon, and recreates it and puts it back in the upper left corner of the graphic. 

What might I have missed that is causing the OS compiler to delete and re-create my block icon?

Thanks!
Top
  3/9/2012, 11:40 AM
Joined 3/15/2008
Last visit: 5/15/2013
Posts: 88
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
hi talleman
The one known by me is uncheck field "Create block icon" in Properties of block in CFC.
Top
  3/12/2012, 7:01 PM
Joined 3/9/2010
Last visit: 3/25/2013
Posts: 6
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
In the block in CFC, if the block icon variant (the number under the 'Create block icon' checkbox) does not match the variant in the PDL, it will be regenerated.  If you are changing the variant on the PDL under the System\Type property, then leave the block icon blank in the CFC so it won't be regenerated.
Top
  3/15/2012, 11:30 AM
Joined 3/15/2008
Last visit: 5/15/2013
Posts: 88
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi,
I did some tests and here is my result (it concerns v 6.1):
 - if you want to avoid replacing modyfied block icon by new one you have to change Attribute "type" in General Properties in block icon in  Graphic Designer and deselect field "Create block icon" in Properties of block in CFC.
If you do what I wrote without deselect field "Create block icon" it results with two block icons, the one modiefied by you and the second one created by the PCS7.

Thera are to ways to Create/Update block icons: (perhaps more?)
 - during compilation OS
 - in Plant View, Option -> Plant Hierachy -> Create/Update block icons.



=== Edited by irb6 @ 3/15/2012 11:31 AM [GMT ] ===


Top
  3/23/2012, 7:29 PM
Joined 6/16/2011
Last visit: 5/17/2012
Posts: 5
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
My original approach was to create a block icon in the PCS7 Typicals file in WinCC, so that compilation would automatically deploy the block icon on the graphic.  In line with irb6's suggestion, I de-delected 'create block icon' in the block in the CFC, and created a block icon in the 'templates' WinCC file, and placed the block icon onto the graphic manually.  This appears to be working correctly.

I only have 3 instances of the modified MonAnL in my project, so this approach isn't too painful.

Thanks for the help and suggestions.
Top
Page 1 of 1 (15 items)
Actions