One Shot in Step 7

sapoleon

Member
Join Date
Aug 2003
Location
salta, salta
Posts
315
Sorry for the silly question, but i don't get to understand what is the diference in the Siemens Step 7 in using the:

---| |------(P)------------( )

or:


---| |----- POS -----------( )


being (P): Positive RLO Edge Detection
and POS: Address Positive Edge Detection

I have to make some changes online in a running plant, and i need the one shot to act with a sensor input.

Which one should I use?
and what is the difference between them?
and... what is RLO?

thanks for the answers.
 
rlo is the result of logic operation

for sensor positive edge
a i0.0
fp m0.0
=m0.1


which corresponds to to (p)


i don't know what is the other for
 
In first, RLO is result of logic operation. For example, if you connect in series 2 NO contacts I0.0 and I0.1, RLO will be 1 only if both I are 1 and 0 in another case after this contacts executing.
I translated your (P) and POS to STL to show difference. As you can see, both operators use same STL operator FP - positive edge detection. But in case of (P) positive edge of RLO is detected (RLO = M0.0). In second case positive edge of M0.4 is detected (through RLO too, but for you it's not important). And result is 1 only if Enable input M0.3 = 1.
So, operation principle is the same - edge detection. You can use either method.
Code:
	 A	 M	 0.0
	 FP	M	 0.1
	 =	 M	 0.2
 
	 A	 M	 0.3
	 A(	
	 A	 M	 0.4
	 BLD 100
	 FP	M	 0.5
	 )	 
	 =	 M	 0.6
 
The operation of (P) and POS are not quite the same.

For (P) the edge detection is applied to the all of the logic prior to the (P) using the RLO, this means that any of the logic bits feeding the (P) will be detected as a rising edge (in effect the last bit that rises will cause the edge to be detected)

For POS, the edge detection is only applied to the one bit that you specify.

If you only use one bit, they do indeed reduce to the same, but POS shows a BLD to allow the correct ladder to display.

POS
Code:
	  A	 I	  0.0
	  BLD   100
	  FP	M	  0.0
	  =	 Q	  0.0
(P)
Code:
	  A	 I	  0.0
	  FP	M	  0.0
	  =	 Q	  0.0
 
Last edited:

Similar Topics

I am looking for software that will allow me to take a "snapshot" of all the variables of a program running on a Siemens 300 PLC. There are...
Replies
1
Views
1,470
Hello all. This is a very lonnnnnnng shot but worth a try. I have an OMS Group Impact100 metering machine. At this customer it blows foam into 3d...
Replies
0
Views
181
Howdy Everyone, So I have been retrofitting a cell to run different fixtures and updating it with new drives and a few other things. It runs...
Replies
15
Views
1,494
Hi all, I am working on a ladder program in AS and I was to trigger a reading on my IO link sensor every .5 s, and use that value to run a...
Replies
1
Views
534
Hello Everybody, Someone must be familiar with Horner Cscape, I wrote a program on a overhead door with a 3 button station,I'm working on a...
Replies
2
Views
1,438
Back
Top Bottom