I want to create a lookup table AOI. Does anyone know a practical way to implement this?
For example,
The AOI will receive an integer and an array of strings. The AOI will read the integer as an index value for the array and return the string at this position.
Inputs:
i Integer
S String Array
Outputs:
S(i) String
Background:
I am writing a program that is going to be run on an AB 1769-L33ER. My program controls several VFDs (Powerflex 525s). I have selected Fault Code 1 as one of my output parameters (Output in terms of the VFD). I want to store the corresponding fault descriptions as a string array so I can lookup the string and use it for troubleshooting.
For example,
The AOI will receive an integer and an array of strings. The AOI will read the integer as an index value for the array and return the string at this position.
Inputs:
i Integer
S String Array
Outputs:
S(i) String
Background:
I am writing a program that is going to be run on an AB 1769-L33ER. My program controls several VFDs (Powerflex 525s). I have selected Fault Code 1 as one of my output parameters (Output in terms of the VFD). I want to store the corresponding fault descriptions as a string array so I can lookup the string and use it for troubleshooting.