Table 8- 180 GEOADDR system data type
Parameter name
Data type
GEOADDR
STRUCT
HWTYPE
UNIT
AREA
UNIT
IOSYSTEM
UNIT
STATION
UNIT
SLOT
UNIT
SUBSLOT
UNIT
Table 8- 181 Condition codes
RET_VAL
Description
(W#16#...)
0000
No error
8090
The address specified at the LADDR parameter is invalid.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Description
Hardware type:
1: IO system (PROFINET/PROFIBUS)
•
2: IO device/DP slave
•
3: Rack
•
4: Module
•
5: Submodule
•
If a hardware type is not supported by the instruction, a HWTYPE "0" is output.
Area ID:
0 = CPU
•
1 = PROFINET IO
•
2 = PROFIBUS DP
•
PROFINET IO system (0 = central device in rack 0-3)
Number of the rack if the area identifier AREA = 0.
•
Station number if area identifier AREA > 0.
•
Slot number
Number of the submodule. If no submodule can be inserted, this parameter has
the value "0".
Extended instructions
8.9 Address handling
405