Sign in to follow this  
Followers 0
Guest Arne

Step 7 first scan bit ?

7 posts in this topic

I am using a plc tutor with some programming examples. (Not a Siemens book.) The programming examples is using a "first scan bit" setting the state of the program at the initial start up. In this way bitmemories etc be set to the wanted values for a start up condition. Is it possible to set up such a "first scan bit" for a s-7 300 / Step 7 5.2 ?

Share this post


Link to post
Share on other sites
By the way - the book is this free e-book mainly based on ladder programming: http://claymore.engineer.gvsu.edu/~jackh/books/plcs/

Share this post


Link to post
Share on other sites
I found this info reg the first scan bit. Don't know if this is an ok answer .. http://www.plctalk.net/qanda/arch/topic/8412-1.html

Share this post


Link to post
Share on other sites
There is a OB100 in Siemens that only runs on the first scan before starting to cycle OB1. This is intended for all such setup functions instead of using a first scan bit. I prefer the style used in most other PLC's so my OB100 only has: SET S     "First Scan" S     "Always On" R     "Always Off" SAVE and the last line in OB1 is SET R     "First Scan" S     "Always On" R     "Always Off" SAVE This can also be done in ladder but it is quick and easy in STL so it's one of the few instances of STL I use. Now if there was a way to get Last Scan such as GE has.

Share this post


Link to post
Share on other sites
Thanks a lot for your answer. I actually found out a part of it myself using a physical address and Ladder, but your soulution for the allways_on allways_off ant the first_scan and use of symbolic adress were fare much more elegant ! I will be using this from now

Share this post


Link to post
Share on other sites
Siemens is so difficult to use. Omron is very good. You can do anything easily with CX-prorammer. . Thanks

Share this post


Link to post
Share on other sites
I do agree that my impression of Omron is that it is a lot easier to get started with. One thing about Siemens, I think, is also that things are explained in a more difficult way than it had to be, trough manuals, books, etc. Siemens can also be easy if explained (My opinion). Have tried Omron with Syswin, but never the new CX. Does it contain a simulator, so you can train programming on your laptop without the PLC ? Best reg Arne.

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
Sign in to follow this  
Followers 0