Siemens SPC3 manual SetParam SAP61, Parameter Data Structure, Parameter Data Processing Sequence

Page 32

PROFIBUS Interface Center

SPC3

 

 

 

 

 

 

 

6.2.2 Set_Param (SAP61)

6.2.2.1 Parameter Data Structure

SPC3 evaluates the first seven data bytes (without user prm data), or the first eight data bytes (with user prm data). The first seven bytes are specified according to the standard. The eighth byte is used for SPC3- specific characteristics. The additional bytes are available to the application.

Byte

 

 

 

 

 

Bit Position

 

 

 

 

Designation

 

7

6

 

5

4

 

3

2

1

0

 

 

 

0

Lock

Unlo.

 

Sync

Free

 

WD

Res

Res

Res

 

Station status

 

Req

Req

 

Req

Req

 

on

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

WD_Fact_1

2

 

 

 

 

 

 

 

 

 

 

 

 

WD_Fact_2

3

 

 

 

 

 

 

 

 

 

 

 

 

MinTSDR

4

 

 

 

 

 

 

 

 

 

 

 

 

Ident_Number_High

5

 

 

 

 

 

 

 

 

 

 

 

 

Ident_Number_Low

6

 

 

 

 

 

 

 

 

 

 

 

 

Group_Ident

7

0

0

 

0

0

 

0

WD_

Dis

Dis

 

Spec_User_Prm_Byte

 

 

 

 

 

 

 

 

 

Base

Stop

Start

 

 

 

8-243

 

 

 

 

 

 

 

 

 

 

 

 

User_Prm_Data

 

 

 

 

 

 

 

 

 

 

 

Byte 7

 

Spec_User_Prm_Byte

 

 

 

 

 

 

 

Bit

 

Name

 

Significance

 

 

 

 

Default State

0

 

Dis_Startbit

The start bit monitoring in the

 

Dis_Startbit= 1 ,

 

 

 

 

 

 

receiver is switched off with this bit.

that is, start bit monitoring is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switched off.

1

 

Dis_Stopbit

Stop bit monitoring in the receiver is

Dis_Stopbit= 0,

 

 

 

 

 

 

switched off with this bit.

 

that is, stop bit monitoring is not

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switched off.

2

 

WD_Base

 

This bit specifies the time base used

WD_Base= 0,

 

 

 

 

 

 

to clock the watchdog.

 

 

 

that is, the time base is 10 ms

 

 

 

 

 

 

WD_Base = 0: time base 10 ms

 

 

 

 

 

 

 

WD_Base = 1: time base 1 ms

 

3-7

 

res

 

 

 

to be parameterized with 0

 

0

Figure 6.5: Data Format for the Set_Param_Telegram

6.2.2.2 Parameter Data Processing Sequence

In the case of a positive validatation for more than seven data bytes, SPC3 carries out the following reaction, among others:

SPC3 exchanges Aux-Puffer1/2 (all data bytes are input here) for the Prm buffer, stores the input data length in ‘R_Len_Prm_Data’, and triggers the ‘New_rmP_Data Interrupt’. The user must then check the

‘User_Prm_Data’ and either reply with the ‘User_PrmData_Okay_Cmd’ or with ‘User_Prm_Data_Not_Okay_Cmd.’ The entire telegramis input in the buffer, that is, application-specific parameter data are stored beginning with data byte 8 only.

The user response (User_Prm_Data_Okay_Cmd or User_Prm_Data_Not_Okay_Cmd) again takes back the ‘New_Prm_Data’ interrupt. The user may not acknowledge the ‘New_Prm_Data’ interrupt in the IAR register.

The relevant diagnostics bits are set with the ‘User_Prm_Data_Not_Okay_Cmd’ message and are branched to ‘Wait_Prm.’

The ‘User_Prm_Data_Okay’ and ‘User_Prm_Data_Not_Okay’ acknowledgements are reading accesses to defined registers with the relevant signals:

‘User_Prm_Finished’:

No additional parameter telegram is present.

‘Prm_Conflict’ :An additional parameter telegramis present, processing again

‘Not_Allowed’,

Access not permitted in the current bus state

 

 

 

Page 30

V1.3

SPC3 Hardware Description

2003/04

 

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

Image 32
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 DirectoryPin Assignment Example for the RS 485 Interface 11.3 Diagnostics Processing from the System ViewAsic Test SPC3 Introduction Function Overview Pin Description CmosCPD Cmos with pull down TTLt Schmitt trigger V1.3 5FFH Memory AllocationMemory Area Distribution in the SPC3 Segment Processor Parameters Latches/Register 0EH 0FH Significance Write AccessOCH 0DH 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 ManagementSequence for the SetSlaveAddress Utility Description of the DP ServicesSetSlaveAddress SAP55 Parameter Data Processing Sequence SetParam SAP61Parameter Data Structure CheckConfig SAP62 SPC3SPC3 Diagnostics Processing SequenceSlaveDiagnosis SAP60 Writing Outputs Structure of the Diagnostics BufferWriteReadData / DataExchange DefaultSAP Reading Inputs UserWatchdogTimer GlobalControl SAP58ReadOutputs SAP57 GetConfig SAP59ReadInputs SAP56 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 Asic Test Interface SignalsUart Technical Data Maximum Limit ValuesPermitted Operating Values DC-Specifikation of the I/O- DriversCurrent Tabelle 8.5 Leakage current of the output drivers AC-Specification for the Output DriversTabel 8.3 DC-Specifikation of the I/O- 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-TimingParameter Min Max Timing in the Asynchronous Intel Mode X86 ModeST-Vers 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-Write-Timing Asynchronous Motorola-Mode, Processor-Read-TimingXCS Xdsack 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.