EasyManua.ls Logo

Siemens SIMATIC S7-1200

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
450 System Manual, V4.2, 09/2016, A5E02486680-AK
The following table shows the assignment between the structure elements of the
START_UP_SI parameter of the "RD_SINFO" instruction and the associated local tags of
OB 100.
START_UP_SI
structure element
Data type
OB 100 - Local tag
Data type
EV_CLASS
BYTE
OB100_EV_CLASS
BYTE
EV_NUM BYTE OB100_STRTUP BYTE
PRIORITY
BYTE
OB100_PRIORITY
BYTE
NUM
BYTE
OB100_OB_NUMBR
BYTE
TYP2_3
BYTE
OB100_RESERVED_1
BYTE
TYP1
BYTE
OB100_RESERVED_2
BYTE
ZI1
WORD
OB100_STOP
WORD
ZI2_3
DWORD
OB100_STRT_INFO
DWORD
9.7.3
LED (Read LED status)
Table 9- 148 LED instruction
LAD / FBD
SCL
Description
ret_val := LED(
laddr:=_word_in_,
LED:=_uint_in_);
Use the LED instruction to read the state of the LEDs on a CPU or
interface. The specified LED state is returned by the RET_VAL out-
put.
Table 9- 149 Data types for the parameters
Parameter and type
Data type
Description
LADDR
IN
HW_IO
Identification number of the CPU or interface
1
LED IN UInt
LED identifier number
1
RUN/STOP
Color 1 = green, color 2 = yellow
2
Error
Color 1 = red
3
Maintenance
Color 1 = yellow
4
Redundancy
Not applicable
5
Link
Color 1 = green
6
Tx/Rx
Color 1 = yellow
RET_VAL
OUT
Int
Status of the LED
1
For example, you can select the CPU (such as "PLC_1") or the PROFINET interface from the drop-down list of the
parameter.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals