Extended instructions
9.11 Address handling
S7-1200 Programmable controller
544 System Manual, V4.2, 09/2016, A5E02486680-AK
GEO2LOG (Determine the hardware identifier from the slot)
You use the GEO2LOG instruction to determine the hardware identifier based upon slot
information.
Table 9- 225 GEO2LOG instruction
GEOADDR:=_variant_in_out_,
laddr:=_word_out_);
You use the GEO2LOG instruction to
determine the hardware identifier based
upon slot information.
The GEO2LOG instruction determines the hardware identifier based upon slot information
that you define using the GEOADDR system data type:
Depending on the type of hardware you define at the parameter HWTYPE, the following
information is evaluated from the other GEOADDR parameters:
● With HWTYPE = 1 (PROFINET IO system):
– Only IOSYSTEM is evaluated. The other parameters of GEOADDR are not taken into
consideration.
– The hardware identifier of the PROFINET IO system is output.
● With HWTYPE = 2 (PROFINET IO device):
– IOSYSTEM and STATION are evaluated. The other parameters of GEOADDR are not
taken into consideration.
– The hardware identifier of the PROFINET IO device is output.
● With HWTYPE = 3 (rack):
– Only IOSYSTEM and STATION are evaluated. The other parameters of GEOADDR
are not taken into consideration.
– The hardware identifier of the rack is output.
● With HWTYPE = 4 (module):
– IOSYSTEM, STATION, and SLOT are evaluated. The SUBSLOT parameter of
GEOADDR is not taken into consideration.
– The hardware identifier of the module is output.