Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
463
● Use the "IF_CONF_MAC" structure at parameter DATA for storing the MAC address:
ID of the "IF_CONF_MAC" structure
2 … 3 Length UNIT 12 Length of data read in BYTE
4 ... 5 Mode UNIT 0 Not relevant for the "GetStationInfo" instruction (left at
6 ... 11 MACAddress ARRAY [1..6] of
BYTE
- MAC address of the IO device (for example, 08-00-06-
12-34-56):
• Mac[1] = 8
• Mac[2] = 0
• Mac[3] = 6
• Mac[4] = 12
• Mac[5] = 34
• Mac[6] = 56
7001 First call of the asynchronous instruction GetStationInfo. Execution of the instruction not yet complete
7002 Additional call of the asynchronous instruction GetStationInfo. Execution of the instruction not yet com-
plete (BUSY = 1, DONE = 0).
Value at the MODE parameter is not supported.
The hardware identifier specified at the LADDR parameter is not configured.
The LADDR parameter does not address a PROFINET IO device.
Invalid data type at the DATA parameter.
Requested information is not read.
Addressed IO device is not reachable.
80C3 The maximum number of simultaneous calls of the GetStationInfo instruction (10 instances) has been
* The error codes in the program editor are displayed as integer or hexadecimal values.