Parallel branches

Join Date
Sep 2018
Location
Puerto Rico
Posts
7
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 in parallel branches including the MAFR?

Thanks for your comments.

RSLogix 5000 Report(s).png
 
I worked on a PLC 5/30 that was so full an online edit terminated & went offline.


I did some experimenting and found out that if I wrote lines as your example is, instead of multiple branches latching one output, that each branch changed to a separate line opened a couple words of memory - I was able to go through the entire program (offline of course) and open almost 1K of memory.


Also, it might just be someone was not experienced or comfortable using branches.
 
I assume that you re using Logix5000
Way to cluttered all of it could be in 2 rungs
several different ways with far less clutter
a masked move would simplify it
 
A masked move would simplify it for us programmers.. but try troubleshooting that thing!
I think having all the logic that effects a bit in the one place like in the original post is ideal.
If I wanted the bits to turn off on power loss /transition to run, i would change it into an OTE seal in circuit, rather than two separate destructive instructions.
 
Personally, I would have written the code as:
      B_11.0   B_1021.3
---+---| |--------(L)---+--
| |
| B10.14 B_1021.3 |
+---| |--------(U)---+


B_11.1 B_1021.4
---+---| |--------(L)---+--
| |
| B10.14 B_1021.4 |
+---| |--------(U)---+

just to enforce the grouping (Rungs 39 and 41 are identical, for example).

But that's me. Every programmer sees the task at hand differently, and sometimes even differently on different days. It's all a matter of style.

"De gustibus non est disputandum"
 

Similar Topics

So I have a sort of unique situation where I'm wanting to run a PF755 from the IO and over ethernet. Of course, this comes with it's own set of...
Replies
8
Views
144
dear all.. i am designing the Sea Water Intake pump which the 4 pumps will be operated parallel, and 1 pump will be as stand by pump The pump data...
Replies
3
Views
150
I’m working on getting a Parallel Redundancy Protocol PRP system set up in a lab situation. The L73 PLC is in rack 4. 3 io racks are 1,2,3. I...
Replies
6
Views
741
I am trying to use level switches to control a valve. If a level switch goes hi, it closes a valve. I am using ONS to keep the switches...
Replies
4
Views
1,029
I have 2 Absolute Encoders 8192 steps per Rev. (Model TR Electronic CEV65m-11003) These Encoders communicate to the PLC5-60 via Parallel push/pull...
Replies
3
Views
1,507
Back
Top Bottom