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
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-
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
Invalid value for in GEOADDR for HWTYPE.
Invalid value for in GEOADDR for IOSYSTEM.
Invalid value for in GEOADDR for STATION.
Invalid value for in GEOADDR for SLOT.
Invalid value for in GEOADDR for SUBSLOT.
* The error codes can be displayed as integer or hexadecimal values in the program editor.