OSR instruction?

plcsnet

Member
Join Date
Apr 2005
Posts
1
I read the explaination of the OSR instruction on this site, but I can't seem to get it to work as it is explained. On Scan 1 how can NC 1001 (Rung 2) AND NO 1001 (Rung 3) BOTH be True at the same time? I can see why NC 1001 on rung 2 remains True, but what makes NO 1001 on rung 3 go True? They both can't be True at the same time can they since one is a NO and the other is a NC? I can't see anything that has changed to cause the NO on rung 3 to go True.
If the NO 1001 on Rung 2 is False how can the NO 1001 on Rung 3 be True at the same time? This doesn't make sense!
The explaination also says that NO 0000 goes False after 100 scans. Why is this? Nothing in the instruction or on any rung I see will make it go False after 100 scans.
 
plcsnet said:
...but what makes NO 1001 on rung 3 go True?
Since rung 2 solved as true, bit 1001 is turned ON by the output instruction, therefore 'NO 1001' is now TRUE when rung 3 is analyzed.

plcsnet said:
The explaination also says that NO 0000 goes False after 100 scans. Why is this? Nothing in the instruction or on any rung I see will make it go False after 100 scans.
It might make more sense if you replace the sentence "After 100 scans, NO 0000 turns off (becomes false)." with "Let's say, after 100 scans, NO 0000 turns off (becomes false)."

🍻

-Eric
 

Similar Topics

I have a program (written by others) at a customer of ours, which is using a poor mans shift register as a method of tracking items on a long...
Replies
11
Views
5,608
HI EVERYONE please read if I understood correctly : I have a rung consist of one input and one output(OSR instruction), when input on and then...
Replies
5
Views
6,483
This is an allen bradley slc 5/05 processor. This is not homework, this is actually job related. Trying to keep track of jars for seperator...
Replies
5
Views
6,737
I am confused with the OSR (one shoot instruction). On the RS500 is very simple OSR (a bit). On the RSLogix 5000, it has a "storage bit"...
Replies
3
Views
2,496
Hi I have an application where I have cascaded a ONS instruction and a OSR instruction. The ONS instruction preceeds OSR instruction. Is it...
Replies
5
Views
7,640
Back
Top Bottom