Siemens SPC3 manual Identifier Byte 7 has Etc Identifier Byte 0 has

Page 64

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.

Image 64 Contents
Simatic NET Page SIM Atic NET Profibus Interface Center SPC3 Hardware DescriptionVersions Release Date ChangesMode Register Status Register Interrupt Controller Watchdog TimerDPBuffer Structure Description of the DP Services DirectoryAsic Test 11.3 Diagnostics Processing from the System ViewPin Assignment Example for the RS 485 Interface SPC3 Introduction Function Overview Pin Description CmosCPD Cmos with pull down TTLt Schmitt trigger V1.3 Memory Area Distribution in the SPC3 Memory Allocation5FFH Segment Processor Parameters Latches/Register OCH 0DH Significance Write Access0EH 0FH Organizational Parameters RAM 1AH 1BH1CH 1DHMode Register Asic InterfaceDisstartcontrol Mode Register 1 Mode-REG1, writable STARTSPC3Exiting the Offline state EOIStatus Register Fdlindst Status Register Bit15 . .readableInterrupt Controller SPC3 IRR IMRDxout IMR IARWatchdog Timer Automatic Baud Rate IdentificationBaud Rate Monitoring Response Time MonitoringPROFIBUS-DP Interface DPBuffer StructureUart RAM Aux-Buffer ManagementSetSlaveAddress SAP55 Description of the DP ServicesSequence for the SetSlaveAddress Utility Parameter Data Structure SetParam SAP61Parameter Data Processing Sequence CheckConfig SAP62 SPC3SlaveDiagnosis SAP60 Diagnostics Processing SequenceSPC3 WriteReadData / DataExchange DefaultSAP Structure of the Diagnostics BufferWriting Outputs Reading Inputs UserWatchdogTimer GlobalControl SAP58ReadInputs SAP56 GetConfig SAP59ReadOutputs SAP57 Hardware Interface Universal Processor Bus InterfaceGeneral Description Bus Interface Unit BIUXINT/MO Mode Bus Interface V1.3Switching Diagram Principles Low Cost System with 80C32System X86-Mode SPC3 Application with the 80 CApplication with th 80 C Uart Interface SignalsAsic Test Technical Data Maximum Limit ValuesPermitted Operating Values DC-Specifikation of the I/O- DriversTabel 8.3 DC-Specifikation of the I/O- Drivers AC-Specification for the Output DriversCurrent Tabelle 8.5 Leakage current of the output drivers Timing Characteristics SYS Bus InterfaceClock pulse 48 Mhz Clock Pulse TimingReset Timing in the Synchronous C32-ModeST-Vers Min Max Unit TBDSynchronous Intel-Mode, Processor-Read-Timing Synchronous Intel-Mode, Processor-Write-TimingST-Vers Timing in the Asynchronous Intel Mode X86 ModeParameter Min Max Asynchronous Intel-Mode, Processor-Read-Timing XRD XCS XreadyAsynchronous Intel-Mode, Processor-Write-Timing XWR XCS4.1 74.2 Synchronous Motorola-Mode, Processor-Read-TimingSynchronous Motorola-Mode, Processor-Write-Timing Timing in the Asynchronous Motorola-Mode for example, 68HC16XCS Xdsack Asynchronous Motorola-Mode, Processor-Read-TimingAsynchronous Motorola-Mode, Processor-Write-Timing Serial Bus Interface Pulse 48 MHzHousing PQFP-44 Housing SPC3 Hardware Description Symbol Min Typ Max AMI-Vers 13.6513.90 14.15Profibus Interface Pin AssignmentRTS TXD Example for the RS 485 Interface SN65ALS1176Appendix AddressesProfibus User Organisation Technical contact person at ComDeC in GermanyGeneral Definition of Terms Ordering of ASICs10.3.1 SPC3 AMI 10.3.2 SPC3 STAppendix a Diagnostics Processing in Profibus DP Diagnostics Bits and Expanded DiagnosticsIntroduction StatdiagIdentifier Byte 7 has Etc Identifier Byte 0 has Diagnostics Processing from the System View Single DiagnosticsSimatic S5 / COM ET CombiAppendix B Useful Information Data format in the Siemens PLC SimaticPage Siemens Aktiengesellschaft