Technical data

Table Of Contents
System Functions for Addressing Modules
System Software for S7-300/400 System and Standard Functions - Volume 1/2
15-8
A5E00709327-01
15.5 Determining the Slot Belonging to a Logical Address
with SFC 71 "LOG_GEO"
Description
SFC 71 "LOG_GEO" (convert logical address to geographical address) lets you
determine the module slot belonging to a logical address as well as the offset in the
user data area of the module.
Parameters
Parameter Declaration Data Type Memory Area Description
LADDR INPUT WORD I, Q, M, D, L,
constant
Any logical address of the module
In bit 15 you indicate whether an input
address (bit 15 = 0) or an output
address (bit 15 = 1) is present.
RET_VAL OUTPUT INT I, Q, M, D, L Error information
AREA OUTPUT INT I, Q, M, D, L Area ID: indicates how the remaining
parameters are to be interpreted.
MASTER OUTPUT INT I, Q, M, D, L,
constant
Area ID:
0, if the slot is located in one of
the racks 0-3 (central unit)
1 to 31: DP master system ID of
the associated field device if the
slot is located in afield device on
PROFIBUS
100 to 115: PROFINET IO
system ID of the associated field
device if the slot is located in
afield device on PROFINET
STATION OUTPUT INT I, Q, M, D, L No. of rack, if
area ID= 0
Station number of field device if area
ID> 0
SLOT OUTPUT INT I, Q, M, D, L Slot no.
SUBSLOT OUTPUT INT I, Q, M, D, L Interface module number
OFFSET OUTPUT INT I, Q, M, D, L Offset in user data area of the
associated module