6/8/2007 10:58 AM | |
Joined: 9/28/2005 Last visit: 10/24/2024 Posts: 414 Rating: (28) |
Hi, Could chapter 6 of the DP/DP-couplers manual be helpfull. You can download the manual via http://support.automation.siemens.com/WW/view/en/1142696 |
Smurf |
|
6/9/2007 2:48 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating: (318)
|
Hi Pedja, The first bit of the DP/DP-Coupler can be used to give the status of the other network, so you may see if the other network is actual. From the handbook DP/DP Coupleryou may read on chapter 4.2 as of page 4.3 the hardware diagnostic: 4.2 Setting the DIL switch on the DP/DP Coupler ContentsSection Topic Page 4.2.1 Setting the “PS” DIL switch 4-3 4.2.2 Setting the “DIA” DIL switch (data validity indication) 4-4 4.2.3 Setting the “ADDR” DIL switch 4-5 4.2.4 Setting the PROFIBUS address on the DIL switch 4-6 4.2.1 Setting the “PS” DIL switchFunction of the “PS” (Power Supply) DIL switch The “PS” DIL switch setting tells the DP/DP Coupler to which of its inlets the powersupply is connected. This also allows the diagnostic function to report failures ofthe power supply. Setting the “PS” DIL switch Set the proper position of the “PS” DIL switch für sides of the DP/DP Coupler: PS (DP1) set to “ON”: L+/M (PS1) is connected to 24 V DC PS (DP2) set to “ON”: L+/M (PS2) is connected to 24 V DC 4.2.2 Setting the “DIA” DIL switch (data validity indication) Function of the “DIA” DIL switch (data validity indication) The “DIA” DIL switch function allows you to validate I/O data.The setting of the “DIA” DIL switch does not influence the normal diagnostic messages of the DP/DP Coupler described in chapter 6.2. Function principle of the data validity indication The DP/DP Coupler enables the data transfer between two PROFIBUS DP networks. If one of the DP masters is silent, or data exchange is not possible due to an error at one of the DP/DP Coupler interfaces, the partner DP master should recognize invalid data transferred via the DP/DP Coupler. You can validate data either by means of the slave diagnostics functions, ordirectly by analyzing the I/O data. “DIA” in “OFF” position I/O data validation is disabled when the “DIA” switch is set to “OFF”. “DIA” in “ON” position I/O data validation is enabled when the “DIA” switch is set to “ON”. Table 4-2 Meaning of the ”DIA” switch positions DIA switch position Validation of DIA = ON (DP1) input data from network 1 = output data from network 2 DIA = ON (DP2) input data from network 2 = output data from network 1 The function uses the first bit of the LSB byte of the first configured input byte: Bit 1 (LSB inputs) = 1: Data from DP/DP Coupler are valid Bit 1 (LSB inputs) = 0: Data from DP/DP Coupler are invalid Example Network 1: 8 byte input data – 16 byte output data Network 2: 16 byte input data – 8 byte output data The first bit of the 8 byte of input data indicates validity of data from network 2, the first bit of the 16 byte input data indicates validity of data from network 1.
6.2 Diagnostics by means of the user program Contents This chapter describes the structure of the DP/DP Coupler diagnostics system. Anexample is used to illustrate the evaluation of a diagnostic frame. Section Topic Page 6.2.1 Structure of the slave diagnosis 6-4 6.2.2 Standard diagnosis 6-6 6.2.3 Status message (module diagnostics) – only for operation on DP master (DPV1) or S7 DP master 6-8 6.2.4 Module diagnostics – replacement part mode or on DP master (DPV0) 6-10 Slave diagnosis Slave diagnosis is performed in accordance with IEC 61784-1:2002 Ed1 CP 3/1.Depending on the DP master, it can be read out with STEP 7 or other engineering tools.In STEP 7, the diagnostic frames of the underlying DP slaves can be displayed in the online view of the HW Config. See “Diagnosing hardware” in the STEP 7 online help.Additional methods of reading out diagnostic information are described in theSIMATIC Software; Programming with STEP 7 V5.x manual. 6.2.1 Structure of the slave diagnosisInfluencing factors The structure of slave diagnostics data depends on which DP master the DP/DP Coupler is operating. The DP/DP Coupler operates either: on the DP master (according with DPV0) on the DP master (according with DPV1) on the S7 DP master Diagnostic blocks for operation on the DP master (DPV1) or S7 DP master The table below shows the length of the diagnostic blocks and their start addresses in the diagnostic frame. The diagnostics blocks have a length of 26 bytes. |
Last edited by: Late at: 09.06.2007 14:55some disturbence in the text corrected I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
Follow us on