aLL

s7 300 AND WINCC flex

2 posts in this topic

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

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now