Nested Add-On Instructions

Nested Add-On Instructions

Add-On Instruction (AOI) instances may be nested within each other to create complex custom data structures. Nested AOI instances may have either unique or identical definitions, as required by the program logic. For example, a custom Pump AOI may contain multiple custom Valve AOIs to control their open/closed state based on overall Pump data. Each nested AOI must have an assigned backing tag with the appropriate data type to be functional.
Nested Add-On Instruction instance limitations
Limitation
Description
Datatype
The AOI datatype cannot be larger than 2 MB.
Depth
AOI instances may only be nested within other AOI instances to a depth of 16, counting from the routine.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.