×
Siemens Industry Online Support
Siemens AG
  • Content
  • Search
  • Index
  • Fail-safe signal modules
    • Diagnostics data of the signal modules
      • Introduction
      • Structure and Content of Diagnostic Data
    (21)
    Rate

    Entry type: Manual, Entry ID: 19026151, Entry date: 10/21/2013

    SIMATIC Automation System S7-300 ET 200M Distributed I/O Device Fail-safe signal modules

    Document: Fail-safe signal modules (07/2013, English)
    Type of topic: Structure

    Structure and Content of Diagnostic Data

    SFCs for reading diagnostics data

    SFCs which can be used in the default user program to read diagnostics data from fail-safe signal modules:

    Table: SFCs for reading diagnostics data

    SFC number

    Identifier

    Application

    59

    RD_REC

    Reading data records of S7 diagnostics (save to the data section of the default user program)

    13

    DPNRM_DG

    Reading slave diagnostics data (save to the data section of the default user program)

    Position in the diagnostic message frame of slave diagnostics

    If the fail-safe signal modules of ET 200M are operated in a distributed configuration and a diagnostic interrupt occurs, data records 0 and 1 are entered in the slave diagnostics of ET 200M (= interrupt segment).

    The position of the interrupt segment in slave diagnostics data depends on the structure of the diagnostic message frame and on the length of channel-specific diagnostics.

    A detailed description of the structure of the diagnostic message frame and the position of the interrupt section in accordance with the PROFIBUS standard is available in the Commissioning and Diagnostics chapter of the "ET 200M Distributed I/O Device" manual.

    Data records 0 and 1 of system data

    Module diagnostics data have a maximum length of 29 bytes and are saved to data records 0 and 1 in system data:

    • Data record 0 contains 4 bytes of diagnostics data which describe the status of the fail-safe signal module.
    • Data record 1 contains
      • - 4 bytes of diagnostics data of the fail-safe signal module, which are also included in data record 0,
      • - and up to 25 bytes of channel-specific diagnostics data

    Description

    The structure and content of the individual diagnostic data bytes are described below.

    General rule: The corresponding bit is set to "1" if an error is detected.

    Bytes 0 and 1

    The diagram below shows the contents of bytes 0 and 1 in diagnostics data.


    Figure: Diagnostics data bytes 0 and 1

    Bytes 2 and 3

    The diagram below shows the contents of bytes 2 and 3 in diagnostics data.


    Figure: Diagnostics data bytes 2 and 3

    Bytes 4 to 6

    The diagram below shows the contents of bytes 4 to 6 in diagnostics data.


    Figure: Diagnostics data bytes 4 and 6

    Bytes 7 to 9 with SM 326; DI 24 x DC 24V

    The following figure shows the content of bytes 7 to 9 of the diagnostic data for the SM 326; DI 24 x DC 24V.


    Figure: Diagnostics data bytes 7 to 9 SM 326; DI 24 x DC 24V

    Byte 7 with SM 326; DI 8 x NAMUR

    The following figure shows the content of byte 7 of the diagnostic data for the SM 326; DI 8 x NAMUR.


    Figure: Diagnostics data byte 7 with SM 326; DI 8 x NAMUR

    Byte 7 with SM 326; DO 8 x DC 24V/2A PM

    The following figure shows the content of byte 7 of the diagnostic data for the SM 326; DO 8 x DC 24V/2A PM.


    Figure: Diagnostics data byte 7 with SM 326; DI 8 x DC 24V/2A PM

    Bytes 7 and 8 with SM 326; DO 10 x DC 24V/2A

    The following figure shows the content of bytes 7 and 8 of the diagnostic data for the SM 326; DO 10 x DC 24V/2A.


    Figure: Diagnostics data bytes 7 and 8 with SM 326; DO 10 x DC 24V/2A

    Bytes 7 to 28 with SM 326; F-DO 10 x DC 24V/2A PP

    The following figure shows the content of bytes 7 to 28 of the diagnostic data for the SM 326; F-DO 10 x DC 24V/2A PP.


    Figure: Diagnostics data bytes 7 to 28 with SM 326; F-DO 10 x DC 24V/2A PP

    Byte 7 with SM 336; AI 6 x 13Bit

    The following figure shows the content of byte 7 of the diagnostic data for the SM 336; AI 6 x 13Bit.


    Figure: Diagnostics data byte 7 with SM 326; AI 6 x 13 Bit

    Diagnostics with SM 336, F-AI 6 x 0/4 ... 20 mA HART

    The figure below shows the contents of bytes 4 to 19 of the diagnostics data.


    Figure: Diagnostics data record as of byte 4 with SM 336, F-AI 6 x 0/4 ... 20 mA HART


    Note

    Note the following regarding diagnostics data:

    If a HART channel fault is set, you receive additional information if you read in the status component (= HART status bytes) in the HART reply data record for the corresponding client or the diagnostics data record for the corresponding channel with SFC 59.





     

    Rate entry
    Requests and feedback
    What do you want to do?
    Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.
    Support to the statistics
    With this function the IDs found are listed according to number (format .txt).

    Generate list
    Copy URL
    Display page in new design
    mySupport Cockpit