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...
Extended instructions
9.11 Address handling
S7-1200 Programmable controller
546 System Manual, V4.2, 09/2016, A5E02486680-AK
9.11.2
LOG2GEO (Determine the slot from the hardware identifier)
You use the LOG2GEO instruction to determine the geographical address (module slot) from
the logical address belonging to a hardware identifier.
Table 9- 228 LOG2GEO instruction
LAD / FBD
SCL
Description
ret_val := LOG2GEO(
laddr:=_word_in_,
GEOADDR:=_variant_in_out_);
You use the LOG2GEO instruction to
determine the module slot belonging to a
hardware identifier.
The LOG2GEO instruction determines the geographic address of a logical address based
upon the hardware identifier:
Use the LADDR parameter to select the logical address based upon the hardware
identifier.
The GEOADDR contains the geographic address of the logical address given at the
LADDR input.
Note
In the cases where the HW type does not support a component, a subslot number for a
module 0 is returned.
An error is provid
ed if the LADDR input does not address a HW object.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals