Siemens SPC3 manual Profibus Interface Center, Reading Inputs

Page 36

PROFIBUS Interface Center

SPC3

 

 

 

 

 

 

 

The user can read the buffer management state with the following codes for the four states: ‘Nil’, ‘Dout_Puf_Ptr1-3’. The pointer for the current dat is in the “N” state.

Address

 

 

 

 

Bit Position

 

 

 

Designation

Control

7

 

6

5

 

4

3

 

2

 

0

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

0AH

 

 

F

U

 

N

 

D

Dout_Puffer_SM

 

 

X1

 

X2

X1

 

X2

X1

 

X2

X1

X2

See below for coding.

 

 

 

 

 

 

 

 

 

 

 

 

 

X1

X2

Coding

 

 

 

 

 

 

 

 

 

 

0

0

Nil

 

 

 

 

 

 

 

 

 

 

 

 

01 Dout_Puf_Ptr1

10 Dout_Puf_Ptr2

11 Dout_Puf_Ptr3

Figure 6.11: Dout_Buffer Management

When reading the ‘Next_Dout_Buffer_Cmd’ the user gets the information which buffer (U-buffer) belongs to the user after the change, or whether a change has taken place at all.

Address

 

 

 

Bit Position

 

 

 

Designation

Control

7

6

5

4

3

2

1

0

 

Register

 

 

 

 

 

 

 

 

 

0BH

0

0

0

0

U_

State_

Ind_U_

Next_Dout_Buf_Cmd

 

 

 

 

 

Buffer

U_

Buffer

 

 

 

 

 

 

Cleared

Buffer

 

 

 

 

 

 

 

 

 

 

0

1

Dout_Buf_Ptr1

 

 

 

 

 

 

 

1

0

Dout_Buf_Ptr2

 

 

 

 

 

 

 

1

1

Dout_Buf_Ptr3

 

 

 

 

 

 

0

 

 

No new U buffer

 

 

 

 

 

 

1

 

 

New U buffer

 

 

 

 

 

0

 

 

 

U buffer contains data

 

 

 

 

 

1

 

 

 

U buffer was deleted

Figure 6.12: Next_Dout_Puffer_Cmd

The user must delete the U buffer during initialization so that defined (deleted) data can be sent for a Read_Output Telegram before the first data cycle.

6.2.5.2 Reading Inputs

SPC3 sends the input data from the D buffer. Prior to sending, SPC3 fetches the Din buffer from ‘N’ ot ‘D.’ If no new buffer is present in ‘N,’ there is no change.

The user makes the new data available in ‘U’. Withthe ‘New_Din_buffer_Cmd,’ the buffer changes from‘U’ to ‘N’. If the user’s preparation cycle time is shorter than the bus cycle time, not all new input data are sent, but just the most current. At a 12 Mbd baud rate, it is more probable, however, that the user’s preparation cycle time is larger than the bus cycle time. Then SPC3 sends the same data several times in succession.

During start-up, SPC3 first goes to ‘DATA_EX’ afterall parameter telegrams and configuration telegrams are acknowledged, and the user then makes the first valid Din buffer available in ‘N’ with the ‘New_Din_Buffer_Cmd.

If ‘Diag.Freeze_Mode = 1’, there is no buffer change prior to sending.

The user can read the status of the state machine cell with the following codings for the four states: ‘Nil’, ‘Dout_Puf_Ptr1-3.’ (See Figure 3.13.) The pointer for the current data is in the “N” state.

Page 34

V1.3

SPC3 Hardware Description

2003/04

 

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

Image 36
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 Directory11.3 Diagnostics Processing from the System View Asic TestPin Assignment Example for the RS 485 Interface SPC3 Introduction Function Overview Pin Description CmosCPD Cmos with pull down TTLt Schmitt trigger V1.3 Memory Allocation Memory Area Distribution in the SPC35FFH Segment Processor Parameters Latches/Register Significance Write Access OCH 0DH0EH 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 ManagementDescription of the DP Services SetSlaveAddress SAP55Sequence for the SetSlaveAddress Utility SetParam SAP61 Parameter Data StructureParameter Data Processing Sequence CheckConfig SAP62 SPC3Diagnostics Processing Sequence SlaveDiagnosis SAP60SPC3 Structure of the Diagnostics Buffer WriteReadData / DataExchange DefaultSAPWriting Outputs Reading Inputs UserWatchdogTimer GlobalControl SAP58GetConfig SAP59 ReadInputs SAP56ReadOutputs 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 Interface Signals UartAsic Test Technical Data Maximum Limit ValuesPermitted Operating Values DC-Specifikation of the I/O- DriversAC-Specification for the Output Drivers Tabel 8.3 DC-Specifikation of the I/O- 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-TimingTiming in the Asynchronous Intel Mode X86 Mode ST-VersParameter 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, 68HC16Asynchronous Motorola-Mode, Processor-Read-Timing XCS XdsackAsynchronous 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 TXDExample 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

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.