Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
451
Table 9- 150 Status of RET_VAL
0 to 9 LED state
1 Off
3 Color 2 On (Solid)
Color 1 & 2 flashing alternatively at 2 Hz
State of the LED is not available
Device identified by LADDR does not exist
Device identified by LADDR does not support LEDs
LED identifier not defined
CPU identified by LADDR does not support the LED instruction
Get_IM_Data (Read the identification and maintenance data)
You use the Get_IM_Data instruction to check the identification and maintenance (I&M) data
for the specified module or sub-module.
Table 9- 151 Get_IM_Data instruction
"GET_IM_DATA_DB"(LADDR:=16#0
,
IM_TYPE:=0,
DONE=>_bool_out_,
BUSY=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_,
Use the Get_IM_Data instruction to check the
identification and maintenance (I&M) data for
the specified module or sub-module.