Siemens SPC3 manual SlaveDiagnosis SAP60, Diagnostics Processing Sequence

Page 34

 

PROFIBUS Interface Center

 

 

 

SPC3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

Bit Position

 

 

 

Designation

 

 

Control

7

6

5

4

3

 

2

1

0

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10H

0

0

0

0

0

 

0

￿

￿

User_Cfg_Data_Okay

 

 

 

 

 

 

 

 

 

 

0

0

User_Cfg_Finished

 

 

 

 

 

 

 

 

 

 

0

1

Cfg_Conflict

 

 

 

 

 

 

 

 

 

 

1

1

Not_Allowed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

Bit Position

 

 

 

Designation

 

 

Control

7

6

5

4

3

 

2

1

0

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11H

0

0

0

0

0

 

0

￿

￿

User_Cfg_Data_Not_Okay

 

 

 

 

 

 

 

 

 

 

0

0

User_Cfg_Finished

 

 

 

 

 

 

 

 

 

 

0

1

Cfg_Conflict

 

 

 

 

 

 

 

 

 

 

1

1

Not_Allowed

 

Figure 6.7: Coding of the User_Cfg_Data_Not/_Okay_Cmd

6.2.4 Slave_Diagnosis (SAP60)

6.2.4.1 Diagnostics Processing Sequence

Two buffers are available for diagnostics. The two buffers can have varying lengths. SPC3 always has one diagnostics buffer assigned to it, which is sent for a diagnostics call-up. The user can pre-process new diagnostics data in parallel in the other buffer. If the new diagnostics data are to be sent now, the user uses the ‘New_Diag_Cmd’ to make the request to exchange the diagnostics buffers. The user receives confirmation of the exchange of the buffers with the ‘Diag_Puffer_Changed Interrupt.’

When the buffers are exchanged, the internal ‘Diag_Flag’ is also set. For an activated ‘Diag_Flag,’ SPC3 responds during the next Write_Read_Data with high-priority response data that signal the relevant master that new diagnostics data are present at the slave. Then this master fetches the new diagnostics data with a Slave_Diagnosis telegram. Then the ‘Diag_Flag” is reset again. If the user signals ‘Diag.Stat_Diag =1,’ however (static diagnosis, see the structure of the diagnostics buffer), then ‘Diag_Flag’ still remains activated after the relevant master has fetched the diagnosis. The user can poll the ‘Diag_Flag’ in het status register to find out whether the master has already fetched the diagnostics data before the old data is exchanged for the new data.

Status coding for the diagnostics buffers is stored in the‘Diag_bufferSM’ processor parameter. The user can read this cell with the possible codings for both buffers: ‘User,’ ‘SPC3,’ or ‘SPC3_Send_Mode.’

Address

 

 

 

 

Bit Position

 

 

 

Designation

Control

7

 

6

5

4

3

2

 

0

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

0CH

0

 

0

0

0

D_Puf2

D_Puf1

Diag_Puffer_SM

 

 

 

 

 

 

 

X1

X2

X1

X2

See below for coding.

 

 

 

 

 

 

 

 

 

 

 

X1

X2

Coding

 

 

 

 

 

 

 

 

0

0

Each for the D_Buf2 or D_Buf1

 

 

 

 

0

1

User

 

 

 

 

 

 

 

 

 

1

0

SPC3

 

 

 

 

 

 

 

 

 

11 SPC3_Send_Mode Figure 6.8: Diag_Buffer Assignment

The ‘New_Diag_Cmd’ is also a read access to a defined processor parameter with the signal as to which diagnostics buffer belongs to the user after the exchange, or whether both buffers are currently assigned to SPC3 (‘no Puffer’, ‘Diag_Puf1’, ‘Diag_Puf2’).

Page 32

V1.3

SPC3 Hardware Description

2003/04

 

Copyright (C) Siemens AG 2003. All rights reserved.

Image 34
Contents Simatic NET Page SIM Atic NET Profibus Interface Center SPC3 Hardware DescriptionVersions Release Date ChangesDPBuffer Structure Description of the DP Services Mode RegisterStatus Register Interrupt Controller Watchdog Timer 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 1CH 1AH1BH 1DHMode Register Asic InterfaceDisstartcontrol Exiting the Offline state Mode Register 1 Mode-REG1, writableSTARTSPC3 EOIStatus Register Fdlindst Status Register Bit15 . .readableInterrupt Controller SPC3 IRR IMRDxout IMR IARBaud Rate Monitoring Watchdog TimerAutomatic Baud Rate Identification 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 General Description Hardware InterfaceUniversal Processor Bus Interface 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 Permitted Operating Values Technical DataMaximum Limit 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 Clock pulse 48 Mhz Timing CharacteristicsSYS Bus Interface Clock Pulse TimingST-Vers Min Max Unit ResetTiming in the Synchronous C32-Mode 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-Write-Timing Asynchronous Intel-Mode, Processor-Read-TimingXRD XCS Xready 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 13.90 Symbol Min Typ Max AMI-Vers13.65 14.15RTS Profibus InterfacePin Assignment TXDExample for the RS 485 Interface SN65ALS1176Profibus User Organisation AppendixAddresses Technical contact person at ComDeC in Germany10.3.1 SPC3 AMI General Definition of TermsOrdering of ASICs 10.3.2 SPC3 STIntroduction Appendix a Diagnostics Processing in Profibus DPDiagnostics Bits and Expanded Diagnostics StatdiagIdentifier Byte 7 has Etc Identifier Byte 0 has Simatic S5 / COM ET Diagnostics Processing from the System ViewSingle Diagnostics CombiAppendix B Useful Information Data format in the Siemens PLC SimaticPage Siemens Aktiengesellschaft

SPC3 specifications

Siemens SPC3 is a state-of-the-art solution designed to enhance industrial automation, providing businesses with a robust platform for managing complex processes efficiently. This device epitomizes Siemens' commitment to innovation, blending cutting-edge technology with user-friendly features to deliver optimized performance across various applications.

One of the standout features of the Siemens SPC3 is its advanced processing capabilities. Equipped with high-performance processors, it can handle various tasks simultaneously, ensuring seamless operation even in demanding environments. This performance is complemented by enhanced memory capacity, which allows for increased data handling and improved execution speed, crucial for real-time monitoring and control applications.

The Siemens SPC3 also integrates a modular design, enabling flexibility and scalability. This characteristic allows users to customize their systems according to specific operational needs, adding or removing components as required. This adaptability is particularly beneficial for businesses that aim to scale their operations without incurring the substantial costs associated with overhauling existing systems.

Furthermore, the SPC3 employs the latest communication technologies, ensuring interoperability with various devices and systems. It supports industry-standard protocols, facilitating efficient data exchange between components. This connectivity is vital for establishing smart factories and enhancing overall productivity by creating a unified ecosystem.

Another significant aspect of the Siemens SPC3 is its focus on security. As cyber threats in industrial settings become increasingly sophisticated, Siemens prioritizes safeguarding user data and system integrity. The SPC3 incorporates advanced security features, including encryption and access control measures, to protect against unauthorized access and ensure data confidentiality.

Siemens has also emphasized ease of use in the SPC3. The interface is designed to be intuitive, allowing operators to navigate and configure the system effortlessly. Coupled with comprehensive software tools, users are empowered to implement changes swiftly while minimizing downtime.

In terms of energy efficiency, the SPC3 incorporates technologies that allow for optimized energy consumption, aligning with sustainability goals prevalent in today’s industries. By reducing energy waste, businesses not only lower operational costs but also contribute to environmental conservation.

In summary, Siemens SPC3 represents a significant advancement in industrial automation technology. Its high-performance processing, modular adaptability, advanced communication capabilities, robust security measures, and user-friendly design make it an ideal choice for businesses striving for efficiency and innovation in their operations. The SPC3 is more than just a control device; it is a comprehensive solution that meets the evolving demands of modern industries.