EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 545

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...
Extended instructions
9.11 Address handling
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
545
With HWTYPE = 5 (submodule):
All parameters of GEOADDR are evaluated.
The hardware identifier of the submodule is output.
The AREA parameter of the GEOADDR system data type is not evaluated.
Table 9- 226 Data types for the parameters
Parameter and type
Data type
Description
GEOADDR IN/OUT or
IN ?
Variant Pointer to the structure of the GEOADDR system data type. The
GEOADDR system data type contains the slot information from which the
hardware ID is determined.
Refer to the "GEOADDR system data type (Page 551)" for further infor-
mation.
RET_VAL OUT or
RETURN
?
Int Output of error information.
LADDR OUT HW_ANY Hardware identifier of the assembly or the module.
The number is automatically assigned and is stored in the properties in
the hardware configuration.
For further information on valid data types, refer to "Overview of the valid data types" in the
STEP 7 online help.
Table 9- 227 Condition codes
RET_VAL*
(W#16#...)
Explanation
0
No error occurred.
8091
Invalid value for in GEOADDR for HWTYPE.
8094
Invalid value for in GEOADDR for IOSYSTEM.
8095
Invalid value for in GEOADDR for STATION.
8096
Invalid value for in GEOADDR for SLOT.
8097
Invalid value for in GEOADDR for SUBSLOT.
* The error codes can be displayed as integer or hexadecimal values in the program editor.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals