Diagnostic Led Instruction - Siemens SIMATIC S7-200 System Manual

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual

Diagnostic LED Instruction

If the input parameter IN has a value of zero, then set the
diagnostic LED OFF. If the input parameter IN has a value
greater than zero, then set the diagnostic LED ON (yellow).
The CPU light emitting diode (LED) labeled SF/ DIAG can
be configured to indicate yellow when either the conditions
specified in the System Block are true or when the
DIAG_LED instruction is executed with a non--zero IN
parameter.
System Block (Configure LED) check box options:
SF/ DIAG LED is ON (yellow) when an item is forced
-
in the CPU
SF/ DIAG LED is ON (yellow) when a module has an
-
I/O error
Uncheck both Configure LED options to give the DIAG_LED
instruction sole control over SF/ DIAG yellow illumination. A
CPU System Fault (SF) is indicated with red illumination.
Table 6-60
Valid Operands for the Diagnostic LED Instruction
Inputs/Outputs
IN
Example 1 Diagnostic LED Instruction
Blink the diagnostic LED when an error is detected.
Blink the diagnostic LED any time one of the 5 error conditions is detected.
Example 2 Diagnostic LED Instruction
Turn the diagnostic LED ON when an error is returned.
When an error code is reported in VB100, turn on the diagnostic LED
178
Data Types
Operands
BYTE
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *LD, *AC
Network 1
LD
SM1.3
O
SM 2.0
O
SM4.1
O
SM4.2
O
SM5.0
A
SM0.5
=
V100.0
Network 2
LD
SM0.0
DLED
VB100
Network 1
LD
SM0.0
DLED
VB100

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents