PLC5 Indirect Conversion

Thanks to you all , been very helpfull, one more item

This has been a good thread, I am going to keep it when we are done.
Here is a problem that compounds all of these issues

PLC5_Indirect_Word_Bit.jpg
 
Here is the full routine

I think there are only four possibilities for values
If that is the case then this maybe could be converted to an
AOI one for each N19[0], 1, 2 and 3
 
Originally posted by Phrog30:

Explain to me how:
...
is different from B10[(N15_10 AND NOT 31) / 32].[N15_10 AND 31], besides the fact that "your" way requires more code.

followed immediately by
Originally posted by asterof:

What does the first B10[(N15_10 AND NOT 16) actually do
does not make much sense to me

is why I would do it my way. I do this stuff all the time and am pretty good at it and I needed to take a second look at that conversion to really see what it was doing. The issue may be less in the functions used than in the combined, compact nature of the text. But there is alot going on in a very small piece of code with nothing to tell you what is happening in the middle. That is the perfect blueprint for "hard to troubleshoot".

Keith
 

Similar Topics

Hey everyone, Just used the PLC5/Logix migration utility to convert a program, and while addressing the PCEs, I noticed a lot of errors for "XIC...
Replies
12
Views
1,991
Can anyone explain to me what this would mean in a COP instruction? Source: #N[N187:4]:[N187:5] Dest: #N[N187:1]:0 Length: 20 I am doing a...
Replies
6
Views
2,210
I have an indirect PLC5 code conversion I can not figure out how to convert to CLX Anyone have a solution Thanks
Replies
11
Views
4,145
I am trying to convert an old PLC5 program. I have several instances in the unlatch instruction where they give a B file on top of the unlatch...
Replies
9
Views
2,029
PLC5 to ControlLogix translated FALs are broken by indirect reference: Hi folks, I’m new to PLC’s, I’ve been learning support on some PLC5 heat...
Replies
15
Views
10,999
Back
Top Bottom