Help - Search - Members - Calendar
Full Version: AB Programming Types ?
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
Controls2005
Hello all,

I have recently been introduced to some programming style terms I do not understand in relation to some programming standards that I am told to follow for the current project i am on. Vague No ? blink.gif

What is Inline Programming ?

What is Indexing Programming ?

I am not allowed to use Indexing, but I am allowed to use Inline, So what are the differences. helpsmilie.gif

Thanks,
Marc
Alaric
Are you refering to ONLINE programming,

or are you refering to INDEXED and INDIRECT addressing?


Controls2005
QUOTE(Alaric @ Feb 26 2007, 04:42 PM) [snapback]50473[/snapback]
Are you refering to ONLINE programming,

or are you refering to INDEXED and INDIRECT addressing?




oops.gif

I know the difference about Online programming, it is this spec which is unclear, I shall quote directly

" The standard method of coding at XXXXXX shall be Allen Bradley Ladder code for Logix processors. Function Block Diagram shall be used in Analog Control Loop situations. The method of coding shall be InLine Duplication (?) Indexing shall not be allowed as standard."

Can someone Clarify this Inline duplication ? helpsmilie.gif

Thank,
Marc
Ken Moore
I think what they are saying is that indexed addressing cannot be used. So you must have in line duplication of the code.

Instead of having one piece of code with indexed addressing for x number of iterations.
You must have x pieces of code to accomplish the same function.
Alaric
That seems odd. Some operations, CPY, FLL and FAL, are inherently indexing.



Since this is a corporate prgramming standard then I suggest you have them clairify it. Whoever wrote it may actually not have a clue and might have intended something else.


BobLfoot
Sounds to me like a corporate programming standard written by Joe Relay. He wants to see a rung for every output and all inputs so they can be monitored in code. Indirect or Indexed addressing using subroutines while faster to write is often more difficult to troubleshoot for the average electrician. The suggestion to check with corporate is an excellent one.
Sleepy Wombat
QUOTE
Sounds to me like a corporate programming standard written by OLD Joe Relay.
Bobb...heh heh heh. thumbsupsmileyanim.gif colgate.gif clapping.gif .. only kidding mate... could,nt resist...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.