ST_UAIndexRange
Syntax
TYPE ST_UAIndexRange:
STRUCT
nStartIndex : UDINT;
nEndIndex : UDINT;
END_STRUCT
END_TYPE
Values
Name | Description |
---|---|
nStartIndex | Start index of the data. |
nEndIndex | End index of the data. |
For all dimensions:
- StartIndex and EndIndex must be assigned.
- StartIndex must be smaller than EndIndex.
- To be able to access all elements in a dimension, StartIndex and EndIndex must be assigned in the dimension depending on the total number of elements.
- Individual elements of a dimension can be selected by specifying the same StartIndex and EndIndex.
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT 3.1 | Win32, Win64, CE-X86, CE-Arm® | Tc3_PLCopen_OpcUa |