[?]: Buttons on PCS7 v7.1 icon

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
cabrca
Posts: 7
Joined: Thu Jul 01, 2010 6:01 am

[?]: Buttons on PCS7 v7.1 icon

Post by cabrca »

Hi all,

With PCS7 v7.1 SP2, I've developed a custom scl code to generate a FB block with several information to show on an icon (that is located on a custom @TypicalsXXX.pdl) as status bits, values an so on, and I would like to introduce also on the icon a button on it.
I can get all data (analog values, bits an so on) to be displayed on the icon, but I can't get the buttons works.
If I put all the same information and buttons into a faceplate called from the icon it works included the buttons ??!!

Does anyone knows if buttons can be located on an icon and make them work??

Best regards,
Janosch07
Posts: 19
Joined: Sun Oct 22, 2006 9:12 am

Re: [?]: Buttons on PCS7 v7.1 icon

Post by Janosch07 »

Hi

Yes you can add several events for the one BI.(like APL BI). All what you have to do is add several events for the objects in your block icon and write whatever code you need for that. The best and quickest way to learn that is: have a look at the MotL BI and see how Siemens created it.