EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic instructions
8.6 Move operations
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
279
8.6.7
UPPER_BOUND: (Read out ARRAY high limit)
Table 8- 86 LOWER_BOUND instruction
LAD / FBD
SCL
Description
out := UPPER_BOUND(
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
high limit of the ARRAY.
Parameters
The following table shows the parameters of the instruction "UPPER_BOUND: Read out
ARRAY high limit":
Parameters
Declaration
Data type
Memory area
Description
EN
Input
BOOL
I, Q, M, D, L
Enable input
ENO
Output
BOOL
I, Q, M, D, L
Enable output
ARR Input ARRAY [*] FB: Section InOut
FC: Sections Input
and InOut
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
is to be read.
OUT
Output
DINT
I, Q, M, D, L
Result
You can find additional information on valid data types under "Data types (Page 125)":

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals