PROFIBUS Interface Center | SPC3 | | |
|
| | | |
Identifier-Related Diagnostics:
For each identifier byte assigned during configuration (for example, 0 x 10 for 1 byte input), a bit is reserved.
In the case of a modular system with an identifier byte each per module, module-specific diagnostics can be indicated. One bit respectively will then indicate diagnostics per module.
| Bit 7 | Bit 6 | Bit 5-0 | | | |
Header Byte | 0 | 1 | Block length in bytes including header | |
Bit Structure | 1 | | | | 1 | |
| Identifier Byte 7 has | etc. | Identifier Byte 0 has |
| | diagnostics | | diagnostics |
Channel-Related Diagnostics:
In this block, the diagnosed channels and the diagnostics cause are entered in sequence. Three bits are required per entry.
| Bit 7 | Bit 6 | Bit 5 | Bit 4 - 0 |
Header Byte | 1 | 0 | Identification Number |
Channel Number | Coding | | Channel Number |
| Input/Output | | |
Type of Diagnostics | Coding | | | Coding |
| Channel Type | | Error Type |
Coding of the error type is in part manufacturer-specific; other codings are specified in the Standard.
Example:
0 | 0 | 0 | 0 | 0 | | 1 | | 0 | 0 | Device-related diagnostics. |
Device-specific | | | | | Meaning of the bits |
diagnostics field of | | | is specified |
length 3 | | | | | | | | manufacturer-specific. |
0 | 1 | 0 | 0 | 0 | | 1 | | 0 | 1 | Identifier-related diagnostics. |
| | | | | | | | | 1 | Identification number 0 has diagnostics. |
| | | 1 | | | | | | | |
| | | | | | | | 1 | | Identification number 18 has diagnostics. |
| | | | | | | | | | Channel-related diagnostics, identification number 0. |
| | | | | | | | | |
1 | 0 | 0 | 0 | 0 | | 0 | | 0 | 0 |
0 | 0 | 0 | 0 | 0 | | 0 | | 1 | 0 | Channel 2. |
0 | 0 | 0 | 1 | 0 | | 1 | | 0 | 0 | Overload, channel organized bit by bit. |
1 | 0 | 0 | 0 | 1 | | 1 | | 0 | 0 | Channel-related diagnostics identification number 12. |
0 | 0 | 0 | 0 | 0 | | 1 | | 1 | 0 | Channel 6. |
1 | 0 | 1 | 0 | 0 | | 1 | | 1 | 1 | Upper limit evalue xceeded, channel organized word by word. |
| | | | | | | | | | |
Status
If the Bit EXT_DIAG is set to 0 , data is viewed as status info from the system view. f.e. cancellation of the error triggering the diagnostics.
Page 62 | V1.3 | SPC3 Hardware Description |
2003/04 | | Copyright (C) Siemens AG 2003. All rights reserved. |
Simatic NET
Page
SIM Atic NET
Profibus Interface Center
SPC3 Hardware Description
Versions
Release Date Changes
Mode Register
Status Register Interrupt Controller Watchdog Timer
DPBuffer Structure Description of the DP Services
Directory
Asic Test
11.3 Diagnostics Processing from the System View
Pin Assignment Example for the RS 485 Interface
SPC3
Introduction
Function Overview
Pin Description
Cmos
CPD Cmos with pull down TTLt Schmitt trigger V1.3
Memory Area Distribution in the SPC3
Memory Allocation
5FFH
Segment
Processor Parameters Latches/Register
OCH 0DH
Significance Write Access
0EH 0FH
Organizational Parameters RAM
1AH
1BH
1CH
1DH
Mode Register
Asic Interface
Disstartcontrol
Mode Register 1 Mode-REG1, writable
STARTSPC3
Exiting the Offline state
EOI
Status Register
Fdlindst
Status Register Bit15 . .readable
Interrupt Controller
SPC3 IRR IMR
Dxout
IMR
IAR
Watchdog Timer
Automatic Baud Rate Identification
Baud Rate Monitoring
Response Time Monitoring
PROFIBUS-DP Interface
DPBuffer Structure
Uart
RAM
Aux-Buffer Management
SetSlaveAddress SAP55
Description of the DP Services
Sequence for the SetSlaveAddress Utility
Parameter Data Structure
SetParam SAP61
Parameter Data Processing Sequence
CheckConfig SAP62
SPC3
SlaveDiagnosis SAP60
Diagnostics Processing Sequence
SPC3
WriteReadData / DataExchange DefaultSAP
Structure of the Diagnostics Buffer
Writing Outputs
Reading Inputs
UserWatchdogTimer
GlobalControl SAP58
ReadInputs SAP56
GetConfig SAP59
ReadOutputs SAP57
Hardware Interface
Universal Processor Bus Interface
General Description
Bus Interface Unit BIU
XINT/MO Mode
Bus Interface V1.3
Switching Diagram Principles
Low Cost System with 80C32
System X86-Mode
SPC3
Application with the 80 C
Application with th 80 C
Uart
Interface Signals
Asic Test
Technical Data
Maximum Limit Values
Permitted Operating Values
DC-Specifikation of the I/O- Drivers
Tabel 8.3 DC-Specifikation of the I/O- Drivers
AC-Specification for the Output Drivers
Current Tabelle 8.5 Leakage current of the output drivers
Timing Characteristics
SYS Bus Interface
Clock pulse 48 Mhz
Clock Pulse Timing
Reset
Timing in the Synchronous C32-Mode
ST-Vers Min Max Unit
TBD
Synchronous Intel-Mode, Processor-Read-Timing
Synchronous Intel-Mode, Processor-Write-Timing
ST-Vers
Timing in the Asynchronous Intel Mode X86 Mode
Parameter Min Max
Asynchronous Intel-Mode, Processor-Read-Timing
XRD XCS Xready
Asynchronous Intel-Mode, Processor-Write-Timing
XWR XCS
4.1 74.2
Synchronous Motorola-Mode, Processor-Read-Timing
Synchronous Motorola-Mode, Processor-Write-Timing
Timing in the Asynchronous Motorola-Mode for example, 68HC16
XCS Xdsack
Asynchronous Motorola-Mode, Processor-Read-Timing
Asynchronous Motorola-Mode, Processor-Write-Timing
Serial Bus Interface
Pulse 48 MHz
Housing PQFP-44 Housing SPC3 Hardware Description
Symbol Min Typ Max AMI-Vers
13.65
13.90
14.15
Profibus Interface
Pin Assignment
RTS
TXD
Example for the RS 485 Interface
SN65ALS1176
Appendix
Addresses
Profibus User Organisation
Technical contact person at ComDeC in Germany
General Definition of Terms
Ordering of ASICs
10.3.1 SPC3 AMI
10.3.2 SPC3 ST
Appendix a Diagnostics Processing in Profibus DP
Diagnostics Bits and Expanded Diagnostics
Introduction
Statdiag
Identifier Byte 7 has Etc Identifier Byte 0 has
Diagnostics Processing from the System View
Single Diagnostics
Simatic S5 / COM ET
Combi
Appendix B Useful Information
Data format in the Siemens PLC Simatic
Page
Siemens Aktiengesellschaft