Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: RBPLC on November 10, 2019, 08:54:00 AM

Title: AB AOI vs. BRX Subroutine
Post by: RBPLC on November 10, 2019, 08:54:00 AM
I'm not familiar with Allen Bradley's AOI (Add On Instruction). As I understand it, the BRX subroutine is similar to the Allen Bradley AOI. Can someone who is familiar with AB explain the differences between an AB AOI vs. the BRX Subroutine.
Title: Re: AB AOI vs. BRX Subroutine
Post by: b_carlton on November 10, 2019, 09:16:03 AM
The Subroutine in a Do-more is a stand alone chunk of code. In AB the AOI begins as a definition of code and data like a template. When you wish to utilize it a separate instance is created which has its own code and memory space. One instance is distinct from another. Thus the Do-more Subroutine is closer to the AB Subroutine than to its AOI.