EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 463

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.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:
Byte
Parameter
Data type
Start value
Description
0 … 1
Id
UINT
3
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
"0")
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
STATUS parameter
Error code*
(W#16#...)
Explanation
0
No error
7000
No job in progress
7001 First call of the asynchronous instruction GetStationInfo. Execution of the instruction not yet complete
(BUSY = 1, DONE = 0).
7002 Additional call of the asynchronous instruction GetStationInfo. Execution of the instruction not yet com-
plete (BUSY = 1, DONE = 0).
8080
Value at the MODE parameter is not supported.
8090
The hardware identifier specified at the LADDR parameter is not configured.
8092
The LADDR parameter does not address a PROFINET IO device.
8093
Invalid data type at the DATA parameter.
80A0
Requested information is not read.
80C0
Addressed IO device is not reachable.
80C3 The maximum number of simultaneous calls of the GetStationInfo instruction (10 instances) has been
reached.
* The error codes in the program editor are displayed as integer or hexadecimal values.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals