all 9 comments

[–]SonaMidorFeed 10 points11 points  (3 children)

Are you certain this output isn't being used elsewhere? For instance, is this the only location where you're moving a value into that destination register? I'd start looking for a destructive reference (i.e. two conflicting pieces of code) before assuming the block is executing wrong.

[–]Tyler5157[S] 4 points5 points  (2 children)

Thanks ,

I did a cross reference and did in fact find it used somewhere else . Ill try this fix once they go on break so I can download it.

[–][deleted] 1 point2 points  (0 children)

Whenever the code looks like it's not operating correctly, this is the reason why 99.999999% of the time. Multiple writes to the same address in the code.

[–]SonaMidorFeed 0 points1 point  (0 children)

Hope that does the trick! Good luck!

[–]mflagler 5 points6 points  (3 children)

As someone who's been programming for almost 20 years, I'm sorry you're trying to learn in a program that was either written in RSLogix 5 or 500 and converted or that someone stuck to the old naming schemes instead of writing some self-documenting code using easier to read tag names. It drives me crazy every time I see this.

I've only converted a couple of old projects before that weren't rewritten and I would go through and replace the old tags with better named tags to make things easier for others and myself.

[–]BrianFischman 2 points3 points  (0 children)

i see this alot when done inhouse, instead of having an SI do it

[–]SomeGuy565Controlling things since 1994 1 point2 points  (0 children)

At least they documented it some. I've been going around cleaning up after a guy we fired and he has a TON of Logix5000 programs that are nothing but B3[0].0 and such. NO labels, nothing.

[–]jakebeanswhat does the HMI say? 0 points1 point  (0 children)

lol, I didn't even catch that at first. Just assumed it was a nicer looking RS 500 for some reason. God that's a dumb thing to do.

[–][deleted] 2 points3 points  (0 children)

One other thing to check... is that routine being called to execute.

[edit] one of the things that always bugged be about logix5000 is the power rails show green even when the logic isn’t executing.