Diagnostics Readout; Data Validity Display - Siemens SIMATIC 6ES7158-3MU10-0XA0 Hardware Installation And Operating Manual

Bus couplers pn/mf coupler
Table of Contents

Advertisement

PROFINET IO
5.3 PROFINET IO interrupts, diagnostics, error messages and system events
5.3.2.3

Diagnostics readout

Options for reading out the diagnostic data
You can evaluate vendor-specific diagnostics using the corresponding data records (e.g.
0x800B) or using diagnostics interrupts.
Table 5- 12
Reading out the diagnostic data with STEP 7.
Automation system
with
IO controller
SIMATIC S7
Diagnostics as plain text in STEP 7 in online and
diagnostics view
Instruction "RDREC" (SFB 52)
Reading data records from the IO device
Instruction "RALRM" (SFB 54)
Receiving alarms from the IO device
Data status byte
Based on the data status byte (DS) value in the last byte, the user can recognize the following
scenarios. Below you can find a description of the structure of the DS byte:
• 0x40: There is no valid coupling partner of the module input data in the other subnet.
• 0x60: The IO controller in the other subnet is in STOP state.
• 0x80 Valid user data received from coupling partner
Structure of the diagnostic data records
You can find the structure of the diagnostic data records and programming examples in the
Programming Manual (https://support.industry.siemens.com/cs/ww/en/view/19289930) in
sections Structure of the diagnostic data records and Examples for the diagnostic data
records.
The data records supported by the PN/MF Coupler are based on the PROFINET IO standard -
Application Layer Service Definition V2.0.
You can download the standard from the Internet free of charge (PROFIBUS
(https://www.profibus.com/)).
5.3.2.4

Data validity display

Using the DIA parameter (data validity display), you query information about the validity of
the input data supplied from the other bus side of the PN/MF Coupler directly in the user
program.
See also
Parameters (Page 45)
56
Application
Hardware Installation and Operating Manual, 07/2020, A5E50018670-AA
See ...
Online help for STEP 7 and as of STEP 7 V 14
SIMATIC PROFINET Function Manual
(https://support.industry.siemens.com/cs/ww/en/vi
ew/49948856)
PN/MF Coupler

Advertisement

Table of Contents
loading

Table of Contents