Instruction Size

Add-On Instructions have one primary logic routine that defines the behavior of the instruction when executed. This logic routine is like any other routine in the project and has no additional restrictions in length. The total number of Input parameters plus Output parameters plus local tags can be up to 512.

There are no limits on the number of InOut parameters. However, limit extended properties (.@Min and .@Max syntax) should not be defined on an InOut parameter of an Add-On Instruction and should not be used in Add-On Instruction definition logic or the logic does not verify.

Limits cannot be accessed inside Add-On Instruction logic.

The maximum data instance supported (which includes Inputs, Outputs, and local tags) is two megabytes. The data type size is displayed on the bottom of the Parameters and Local Tags tab in the Add-On Instruction Definition.



0 comments :