Forums.MrPLC.com: Step 7 first scan bit ? - Forums.MrPLC.com

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Step 7 first scan bit ? Rate Topic: -----

#1
Guest_Arne_*

  • Group: Guest
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 ?
0

#2
Guest_Arne_*

  • Group: Guest
By the way - the book is this free e-book mainly based on ladder programming:

http://claymore.engi...ckh/books/plcs/
0

#3
Guest_Arne_*

  • Group: Guest
I found this info reg the first scan bit. Don't know if this is an ok answer ..

http://www.plctalk.n...pic/8412-1.html
0

#4
User is offline   DesertDog 

  • Sparky
  • PipPipPip
  • Group: MrPLC Member
  • Posts: 41
  • Joined: 12-August 03
  • Location:North of Los Angeles
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.
We all live in a yellow subroutine
Glenn
0

#5
Guest_Arne_*

  • Group: Guest
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 :clap:
0

#6
User is offline   HoaiThi 

  • Sparky
  • PipPipPip
  • Group: MrPLC Member
  • Posts: 13
  • Joined: 10-December 04
  • Location:Viet Nam
  • Interests:Programming Visual Basic and PLC Omron.<br><br>Like download ActiveX Component free and crack of it.<br>
Siemens is so difficult to use.

Omron is very good. You can do anything easily with CX-prorammer.
.


Thanks :-1
0

#7
User is offline   Arne 

  • Sparky
  • PipPipPip
  • Group: MrPLC Member
  • Posts: 20
  • Joined: 26-January 05
  • Location:Stavanger, Norway
  • Interests:Automation, Linux, computer security, traveling.
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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users