Basic instructions
8.6 Move operations
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
279
UPPER_BOUND: (Read out ARRAY high limit)
Table 8- 86 LOWER_BOUND instruction
ARR:=_variant_in_,
DIM:=_udint_in_);
You can declare tags with ARRAY[*] in the block
interface. For these local tags, you can read out
the limits of the ARRAY. You will need to specify
the required dimension at the DIM parameter.
The UPPER_BOUND (Read out ARRAY high
limit) instruction lets you read out the variable
The following table shows the parameters of the instruction "UPPER_BOUND: Read out
ARRAY high limit":
ARR Input ARRAY [*] FB: Section InOut
FC: Sections Input
ARRAY of which the variable
high limit is to be read.
DIM Input UDINT I, Q, M, D, L or
constant
Dimension of the ARRAY of
which the variable high limit
You can find additional information on valid data types under "Data types (Page 125)":