Offset - is a variable/constant which specifies which data# (0-N) to place in Variable.
Lookup data specified by offset and store in variable (if in range).
The lookup command is used to load variable with different values. The value to be loaded in the position in the lookup table defined by offset. If offset exceeds the number of entries in the lookup table the value of variable is unchanged.
Each lookup is limited to 256 entries, but each entry may be a bit, byte or word constant or variable.
- Applies To:
- See Also:
- Related Create:
Submit Your Own Code!
You must be logged in to submit code examples. Login now.