Jump to content

Recommended Posts

Posted

Hello guys,

Hardware :

            Laptop  with step7, WINCCFLEX  ip 192.168.0.223

            CPU 315  IP 192.168.0.1

            3x 8 input modules

            3x 8 output modules

           program in OB1 :  NO CONTAT I0.0 -> COIL Q0.0

I want to create a GUI in WINCCFlex  that contains a "start" button that when it's pressed to trigger i0.0 so I can turn on coil Q0.0 via laptop not a mechanical button.

So far I created a new empty project in wincc flex. Than  I went to connections and selected Ethernet ,for wincc runtime I ve put 192.168.0.223 and for station 192.168.0.1.

Than PROJECT -> INTEGRATE IN STEP 7 all good.

Now in winccflex under button events I chosed  "click" and action " setbit" and selected i0.0 from step 7 project.

COMPILE AND GENERATE everything but when I click button nothing happens :(?

 

Any help will be much appreciated!

thanks

Posted

If you want to use a "push button" or a "retentive button " from GUI to activate the output , you have to use a memory bit.

You may not activate directly an output from WinCC, it must be trough a memory.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...