Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
439
Diagnostics (PROFINET or PROFIBUS)
9.7.1
The following diagnostic instructions can be used with either PROFINET or PROFIBUS:
● RD_SINFO instruction (Page 440): Reads the current OB's start information
● LED instruction (Page 450): Reads the state of the LEDs for a distributed I/O device.
● Get_IM_Data instruction (Page 451): Checks the identification and maintenance (I&M)
data for a specified module or sub-module.
● Get_Name instruction (Page 453): Reads the name of a PROFINET IO device,
PROFIBUS slave, or AS-i slave.
● GetStationInfo instruction (Page 460): Reads the IP or MAC address of a PROFINET IO
device in the local IO system or a PROFINET IO device located in a lower-level IO
system (connected using CP/CM modules).
● DeviceStates instruction (Page 468): Retrieves the operational states for a distributed I/O
device within an I/O subsystem.
● ModuleStates instruction (Page 474): Retrieves the operational states for the modules in
a distributed I/O device.
● GET_DIAG instruction (Page 480): Reads the diagnostic information from a specified
device.
Note
You can only use the GetStationInfo instruction with PROFINET IO devices. You cannot use
the instruction with PROFIBUS DP slaves.