RSLogix / Logix Designer - Writing same value in an array

  • Rung 4, top branch: the mask value, if 1 (XIO 1 => False), prevents the value of IN_00 from triggering the OTE to write a value of 1 into OUT_00 There may be a misunderstanding here. I want it (OUTXX) to be high whenever INXX is High. ...

Ah, sorry, I misunderstood.

Anyway, dropping the XIO mask from the top branch of the third rung should make it work how you want.

So the only change is where the XIC mask goes, and as you note, it works either way.

It could also do be done with a TON sealed in via its TT bit, then we eliminate the one-shot logic and everything fits on one rung with fewer instructions overall; see below.

Notes

  • The XIC MASK_00 could be on the TON branch or on the TT seal-in branch.
  • The TT (Timer is Timing) bit is Allen-Bradley timer shorthand, equivalent to XIC EN XIO DN i.e. (timer input rung is True) AND (timer is not expired/DoNe)
Untitled.png
 
Hows the library coming? I looked a little and see a nice table of contents without much contents. Is it still moving forward? May I offer any help?
 
Sidebar: are you aware of the PLC discord? A fair few Quebecois are quite active.


That was misleading.


I was picturing a bunch of angry Quebecers going at it against the rest of the world!


I didn't know Discord, I'm a creature from the "old-school" message boards like this one. I'm an old man.


I subscribed, I'll check it and check I can figure out how to use it.


Thanks Brian!
 
Ah, sorry, I misunderstood.

Anyway, dropping the XIO mask from the top branch of the third rung should make it work how you want.

So the only change is where the XIC mask goes, and as you note, it works either way.

It could also do be done with a TON sealed in via its TT bit, then we eliminate the one-shot logic and everything fits on one rung with fewer instructions overall; see below.

Notes

  • The XIC MASK_00 could be on the TON branch or on the TT seal-in branch.
  • The TT (Timer is Timing) bit is Allen-Bradley timer shorthand, equivalent to XIC EN XIO DN i.e. (timer input rung is True) AND (timer is not expired/DoNe)


Yeah, it's cleaner and leaner. Thanks!


I thought it wasn't working at first because when I added the TON I just put a.PRE value in there and I then noticed that when online, the value was 0 instead of the 12000 I put there.


Another irritating behavior from RSLogix I guess.


The screenshots with N7 or T4 you've been posting, it's from Logix500, right? I remember that from a long time ago but cannot figure where I saw that.
 
The screenshots with N7 or T4 you've been posting, it's from Logix500, right? I remember that from a long time ago but cannot figure where I saw that.

Yes, Micro Starter Lite actually, so a freebie subset of 500; the memory is file-based instead of 5000's tag-based scheme, and the syntax is more limited, but the instruction set and behavior are more or less the same between the two.

It's close enough most of the time, for the scope of questions that show up in this forum
 

Similar Topics

Hi. Which of these system bits should I use to know that a particular AI or AO channel is faulted? Like I lost the 4-20mA loop, or the input is...
Replies
10
Views
878
Hi. I'll say it again, I worked mostly with Unity Pro for the last 12 years and I'm trying to convert our FBD standard to Rockwell Logix...
Replies
13
Views
1,505
So I have a question, How would I convert or transfer a program from Logix Designer to Rslogix 500. Im going to be taking said program and putting...
Replies
6
Views
1,615
Hello everyone! I am new to PLC programming and am using Studio 5000 to work with AB PLCs. My company uses VMware to allow me to remotely...
Replies
3
Views
1,324
All, Please help. I'm reaching the end of my rope with this thing... I can find tech notes galore on fatal errors with logix 5000 for everything...
Replies
7
Views
5,287
Back
Top Bottom