4 posts in this topic

Hi All

I am struggling to get a TON in TIA v15 to work properly (s7_1212). I have tried reading what i can but still dont understand why what i have is not working. 

I have attached a screen shot.

I am trying to achieve a bit that is active for 1 scan cycle and resets every second. Coil1 is just staying active however and not resetting the timer. 

What i have written works in Connected Components Workbench and other plc software i have used. What am i doing wrong?
Thank you in advance.

Trevor

 

Screenshot (1).png

Share this post


Link to post
Share on other sites

Posted (edited)

Do not use "Local Data" use "Global Memory instead" - ie use %M1.0

Edited by Moggie

Share this post


Link to post
Share on other sites

using global memory fixed it

thank you

 

Share this post


Link to post
Share on other sites

Siemens do have built in memory bits that allow you to do just what you are wanting. Called clock bits.

 

 

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