Branches...

psuath

Member
Join Date
Jul 2011
Location
In Hotels
Posts
7
I may be wrong, but i can't find a good explination on this one.

Is there a difference between using a "New branch" and "Next Branch Level" in RSLogix 5000?

I thought that if there were no "additional" conditions on a branch, a new "level" for the current branch should be used, but if there are more conditions a new branch should be used.



+--||-----+
| |
| |
++-||----++
| |
| |
+-||----+



or


+--||-----+
| |
| |
+--||-----+
| |
| |
+--||-----+

 
Yes there is a difference. You cannot nest branches indefinitely. You can extend branches almost indefinitely.

Nested branches also require more instructions.

Your first example requires the following instructions:
BST XIC NXB BST XIC NXB XIC BND BND

While the second requires only:
BST XIC NXB XIC NXB XIC BND

In Logix5000 you are limited to six nested branches. In Logix500 the limit is four.

See this thread http://www.plctalk.net/qanda/showthread.php?t=43027

Also note that in a L5K you don't have to nest output instructions if there aren't extra conditions. You can place outputs in series.
---( )-----{ }------{ )---
 
Last edited:

Similar Topics

Does anyone finds any benefit on having bit B_10.14 repeated on so many rungs instead of having just one single rung unlatching all these outputs...
Replies
9
Views
2,223
In old program of a I have found some parallel branches at output please conform mi these are normal parallel branch or having some difference in...
Replies
20
Views
6,259
I got called to do some updates on a pump control panel for a waste treatment system and found a few lines in the running PLC (SLC5/04 1747-L542B)...
Replies
12
Views
6,026
I understand how rungs are scanned in the AB PLC world. But what I am unclear on is how branches are scanned, and how bits are updated. Consider...
Replies
8
Views
4,884
Hi. I'm more familiar with other programming software than RSLogix. I can branch down with the rung branch button, but I need to connect a line...
Replies
5
Views
7,419
Back
Top Bottom