simatic S7 help

sayahan2003

Member
Join Date
Jun 2006
Location
Calgary
Posts
185
Dear friends,
i have a question about first scan of PLC. When i write a program, how can i initialize some state. I mean, during first scan, i dont know what is the situation of the states. if i want to force the PLC to goes to a specific state in first scan, without pressing any inputs and just by powering on the PLC, what can i do? i hope u undrestand my problem.
 
Search in the online help for imformation on blocks OB100,OB101 and OB102 these blocks are called during CPU restart. I believe tghat you should be able to use one or all of these to initialize any values .
 
Hello sahayan?

Didn't we discuss this point (initializing of values for S7 PLCs) just 2 days ago?

What is different in this question?

Daniel Chartier
 
thank u.
but plz look at the following ladder:
quest..jpg

i cant undrestand what is the "first scan" and how it will active. can u explain that?
 
First scan means that whenever the PLC goes from stop to run in first processes OB100 (OB 100 is called first scan) In this OB you can set any bit to initialize your prog. These bits can then be reset in for exeample OB1 (cycle).

hope this helpes you.
 
First scan

Hi,

well if you want the "first scan" to be up for the whole duration of the first scan, you will have to set it to "1" in OB100 and then reset it to "0" in the end of the OB1(last rung). You could reset it also in the second rung of OB1.
 
You can reset it best in the last network of your OB1, then you know that your complete program in OB1 has been "scanned".
 

Similar Topics

Hi to all, Our company does not usually use Siemens PLCs, but have a press with one in it. We are trying to change the IP address in our Simatic...
Replies
2
Views
1,061
Hi all, Got a call from a client that has several small water systems, asked me to take a look at one I've never programmed, just troubleshot a...
Replies
22
Views
5,936
I had a system running WinCC v7.0 SP3 and SIMATIC Net V8.1 SP2. The WinCC Runtime project was reading symbolic tags (e.g. D435.HMIVars.Start) from...
Replies
1
Views
1,669
If anyone knows how to connect Wonderware to a Siemens S7-400 please let me know.
Replies
5
Views
1,995
Hello All, I have a system of 2 PLCs Siemens CPU 315 - 2PN/DP (with a program Simatic S7 V5.5) and PC station runs Siemens OPC server Simatic net...
Replies
20
Views
7,277
Back
Top Bottom