Extended instructions
9.11 Address handling
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
551
Table 9- 235 Data types for the parameters
Hardware identifier of the (sub)module
RET_VAL OUT Int Error code of the instruction
Start address of the input module
PICOUNT OUT UInt Number of bytes of the inputs
Start address of the output module
Number of bytes of the outputs
For further information on valid data types, refer to "Overview of the valid data types" in the
STEP 7 online help.
Table 9- 236 Condition codes
Hardware identifier of the module at the LADDR parameter is invalid.
* The error codes can be displayed as integer or hexadecimal values in the program editor.
GEOADDR system data type
Geographical address
The system data type GEOADDR contains the geographical address of a module (or the slot
information).
● Geographical address for PROFINET IO:
For PROFINET IO, the geographical address is composed of the ID of the PROFINET IO
system, the device number, the slot number, and the submodule (if a sub-module is
used).
● Geographical address for PROFIBUS DP:
For PROFIBUS DP, the geographical address consists of the ID of the DP master
system, the station number, and the slot number.
The slot information of the modules can be found in the hardware configuration of each
module.