background image

C-12

Communications Processor CP 541

EWA 4NEB 812 6188-02

C.6

Default DB1

When delivered and after a reset, the CP 541 contains a default DB1. The
settings of the default DB1 in the CP 541 are such that you can use it im-
mediately in most cases. You need only adjust the station number.

The following list contains an explanation of the default DB1.

Indication

Explanation

KS =’DB1

’;

KS =’SL2:

’;

KS =’TLN 1

’;

KS =’STA AKT

’;

KS =’BDR 500

’;

KS =’HSA 30

’;

KS =’TRT 30000 ’;

KS =’SET 80

’;

KS =’ST 1000

’;

KS =’SDT 1 80

’;

KS =’SDT 2 360 ;

’;

Block ID SL2

Station number 1

Station status active

Transmission rate: 500 Kbps

Highest station number of all L2 masters: 30

Token rotation time: 30000 bit times = 60 ms

Setup time: 80 bit times = 0.16 ms

Slot time: 1000 bit times = 2 ms

Shortest station delay time:

80 bit times = 0.16 ms

Greatest station delay time:

360 bit times = 0.72 ms

KS =’#COM:

’;

KS =’L1M 0

’;

KS =’BSAP 52

’;

KS =’POL 10

’;

KS =’UPDL 10

’;

KS =’PRI ........  ;#

’;

Block identifier: COM (remarks)

Address conversion to station number: 0

Broadcast service access point: 52

L1 send delay time: 100 ms

Priority: ...; a dummy character has been

entered.

KS =’#DPS:

’;

KS =’NWI 16

’;

KS =’NWO 16

’;

KS =’DPWD 50 ;#

’;

Block identifier: DPS (remarks)

Length of input data: 16 words

Length of output data: 16 words

DP watchdog: 500 ms

KS =’END

’;

The two blocks COM and DPS are marked as remarks. If you wish to use
these two blocks, you must overwrite the “#” remark  marks with a blank.

Note

If you remove the comment characters from block COM, you must either
clear parameter PRI or define you own priority list.

The CP 541 cannot run with the dummy character for the values of PRI in
default DB1.

Introduction

Default DB1

Important

Parameters of DB1

Содержание SIMATIC CP 541

Страница 1: ...S5 115F 5 Diagnostics and Error Handling 6 Appendices Technical Data A Optimizing SINEC L2 B Parameters of DB1 C DP Parameter Assignment Message D DP Configuring Message E Definitions for the DP Master F Service Access Point SAP and PROFIBUS Services G Program Examples H Glossary Index Edition 1 EWA 4NEB 812 6188 02 CP 541 Communications Processor Manual SIMATIC ...

Страница 2: ...d in the catalog or the technical description and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens This product can only function correctly and safely if it is transported stored set up and installed correctly and operated and maintained as recommended SIMATIC and SINEC are registered trademarks of SIEMENS AG Third parties us...

Страница 3: ...r readers wishing to integrate a programmable controller of the SIMATIC S5 family via the CP 541 in SINEC L2 It is as sumed that you already have experience in or knowledge of working with programmable controllers of the SIMATIC S5 family and SINEC L2 This Manual applies to Device Order No From Revision Level CP 541 6ES5 541 8AA11 01 Connecting cable 1 m 6ES5 735 8BB00 Connecting cable 2 5 m 6ES5 ...

Страница 4: ...g of the Manual is a full general table of contents a list of figures and a list of tables contained in the entire Manual In the chapters the left column of each page provides a summary of the contents of the section The appendices are followed by a glossary in which the important techni cal terms used in the Manual are defined Given at the end of the Manual is a detailed index which allows rapid ...

Страница 5: ...3 4 2 STOP State 3 8 3 4 3 START 3 9 3 4 4 RUN State 3 10 4 Assigning Parameters to the CP 541 for the Connections 4 1 4 1 Configuring a PLC PLC Connection 4 2 4 2 Configuring the Broadcast Mode 4 3 4 3 Configuring a DP Connection 4 4 5 CP 541 with S5 95F S5 115F 5 1 5 1 Communication Modes 5 2 5 1 1 Safety Related PLC PLC Connection 5 3 5 1 2 Safety Related Broadcast via FDL 5 4 5 2 Configuring C...

Страница 6: ...d Section 6 16 6 3 3 Device Related Diagnosis 6 18 6 3 4 Example of a Diagnostic Call with IM308 C and FB IM308C 6 19 6 4 DP Diagnosis in the Programmable Controller 6 20 A Technical Data A 1 B Optimizing SINEC L2 B 1 C Parameters of DB1 C 1 C 1 Structure of DB1 C 2 C 2 Syntax of DB1 C 3 C 3 General SINEC L2 Parameters block Identifier SL2 C 4 C 4 CP 541 Specific Parameters Block ID COM C 8 C 5 DP...

Страница 7: ...the Safety Related PLC PLC Connection 5 3 5 2 Address Conversion for Broadcast 5 4 5 3 Graphic Representation of Cycle Times 5 14 5 4 Configuration Example for Calculating the Local Cycle Times 5 18 5 5 Schematic Configuration of SINEC L2 in Redundant Configuration 5 24 6 1 Example of Configuration 6 19 A 1 CP 541 Dimension Drawing A 4 C 1 Structure of DB1 C 2 C 2 Syntax of DB1 C 3 H 1 Configurati...

Страница 8: ... of the Diagnostic Message 6 15 6 8 Structure of Station Status 1 Byte 0 6 16 6 9 Structure of Station Status 2 Byte 1 6 16 6 10 Structure of Bytes 6 and 7 of the Diagnostic Message 6 18 6 11 Structure of the Device Related Diagnosis Byte 7 of the Diagnostic Message 6 18 C 1 SL2 Parameters C 4 C 2 Necessary Basic Parameters According to Station Status STA C 5 C 3 DP FMS Bus Profile in Bit Times C ...

Страница 9: ...l The programmable controller connected to the PG PLC port is referred to as a connected programmable controller For working with the CP 541 it is not important to know which stations are connected to SINEC L2 We therefore do not refer to programmable controllers on SINEC L2 but generally to SINEC L2 Section Contents Page 1 1 Performance Features of the CP 541 1 2 1 2 The CP 541 in the SIMATIC Env...

Страница 10: ...y DP master in SIMATIC S5 and S7 M7 or with any DP master from another manufacturer In contrast to other DP slaves the CP 541 exhibits a minimum cycle time of 10 ms It supports PROFIBUS profiles DP FMS and User Defined at transmission rates of up to 1 5 Mbps and PROFIBUS DP or DP for IM 308 B at up to 187 5 Kbps Safety related data traffic between failsafe programmable controllers of the SIMATIC S...

Страница 11: ...he SIMATIC S5 family via SINEC L2 It can be used with most SIMATIC S5 systems It allows simple retrofitting on existing systems It is connected to the programmer interface of the programmable control ler with a simple plug in cable no bus terminal is needed Simple parameter assignment Freedom from maintenance It is secured directly on the standard rail no slot in the connected pro grammable contro...

Страница 12: ...binations of communication modes and number of connectable programmable controllers Figure 1 1 is merely an example SINEC L2 S5 100U S5 115F S5 95F CP 541 CP 541 S5 115U CP 5430 CP 541 Figure 1 1 CP 541 in the SIMATIC Environment For the connected programmable controller the CP 541 emulates a fully con figured SINEC L1 bus The connected programmable controller is an L1 slave Incorporation in SIMAT...

Страница 13: ... CP 541 6ES5 541 8AA11 1 2 3 4 5 6 L M 24 V DC SINEC L2 AG AG DP PG AG RUN BF L2 ERR SIMATIC S5 CP 541 RUN STOP 0 Mount for standard rail Cover for cable inlet LED indicator Connector for SINEC L2 Terminals for 24 V DC power supply Connector for PG PLC Mode switch Figure 1 2 View of the CP 541 View Overview ...

Страница 14: ... 1 2 Mode Switch of the CP 541 Switch Setting Meaning RUN The CP 541 is in normal operation Data will be ex changed between the PLC and SINEC L2 STOP You can assign parameters to the CP 541 with a PG and read out the diagnostics block 0 The CP 541 is switched off The CP 541 has various connectors and terminals these are listed in Table 1 3 Table 1 3 Connectors and Terminals of the CP 541 Designati...

Страница 15: ...cation modes in relation to the appropriate program mable controllers of the SIMATIC S5 family Table 1 4 Connectable Programmable Controllers and Communication Modes both Stations Connected to SI NEC L2 via CP 541 SINEC L2 CP 541 with SINEC L2 partner S5 90U CP 530 in p Connected PLC S5 95F S5 115F S5 90U S5 95U S5 100U S5 115U S5 115H S5 135U S5 155U S5 155H S5 115H S5 95F PLC PLC and safety rela...

Страница 16: ...t DP DP Broadcast CP 541 CP 530 in S5 115H S5 135U S5 155U S5 155H DP Broadcast DP S5 115H PLC PLC PLC PLC DP DP The abbreviations in Tables 1 4 and 1 5 have the following meanings Designation Meaning PLC PLC see Section 2 1 The PLC PLC connection serves to transmit messages between two programmable controllers DP see Section 2 2 The DP connection serves to exchange messages with a higher level DP...

Страница 17: ...ss is the address with which the programmable controller connected to the CP 541 is accessed by it Station number The station number is the number which distinguishes the various stations on the SINEC L2 Each station number is uniquely assigned to a station The CP 541 always provides a positive acknowledgment to all messages it receives from the programmable controller Section Contents Page 2 1 PL...

Страница 18: ...u must parameterize the CP 541 as an active station The node address specified in the programmable controller is converted by the CP 541 to the station number and vice versa Node address 1 is converted to station number 1 node address 2 to station number 2 etc PLC CP 541 1 30 3 2 1 30 3 2 SINEC L2 Figure 2 1 Address Conversion for PLC PLC Connection Node addresses 1 to 30 are available in the conn...

Страница 19: ...ammable controller has sent the first DP message When writing the user program in the programmable controller ensure that cyclic DP data are presented within the response monitoring time DPWD see Appendix C 5 When the CP 541 no longer receives DP messages from the programmable controller it emits a diagnosis to the DP master As soon as the CP 541 is accepted in the DP cycle and the DP watchdog is ...

Страница 20: ...participating stations SDN SDN send data with no acknowledge of the PROFIBUS protocol is used for the broadcast You send the broadcast from the connected programmable controller to node address 31 This node address is converted to station number 127 by the CP 541 PLC CP 541 31 SINEC L2 127 Figure 2 3 Address Conversion for Broadcast You can establish a point to point connection to any PROFIBUS sta...

Страница 21: ...inets Programmable controllers of the SIMATIC S5 115U H F S5 135U and S5 155U H series must be installed in grounded enclosed metal housings such as cabinets To protect the modules from the discharge of static electricity operating per sonnel must discharge themselves electrostatically before opening cabinets and control boxes Section Contents Page 3 1 Installing the CP 541 3 2 3 2 Connecting the ...

Страница 22: ...541 on a standard rail You need a free space of 46 mm Mount the CP 541 in the following order 1 Hook the CP 541 onto the rail 2 Swing the CP 541 down until the slide is heard to engage Remove the CP 541 in the following order 1 Switch off the 24 VDC supply for the CP 541 2 Remove the connecting cables 3 Use a screwdriver to push the slide down 4 Swing the CP 541 out of the rail Introduction Mounti...

Страница 23: ... the CP 541 Length Order No 1 m 6ES5 735 8BB00 2 5 m 6ES5 735 8BC50 You connect a programmer PG for parameter assignment or to evaluate the diagnostics block instead of the programmable controller to the PG PLC connector of the CP 541 Connect SINEC L2 to the 9 pin subminiature D female connector of the CP 541 Use standard components of SINEC L2 see the manual SINEC L2 L2FO Network Components 6GK1 ...

Страница 24: ... the protective conductor Use a copper conductor with a cross section of 2 5 mm To use the CP 541 in an ungrounded arrangement you must fit the rail on which the CP 541 is mounted in an insulated arrangement In the installed state the reference potential of the CP 541 is electrically connected to the rail To discharge interference you must connect the rail via an RC network to the protective condu...

Страница 25: ...B1 in the CP 541 5 Make the necessary changes to DB1 You have defined the parameters to be changed in Chapter 4 6 Transfer the modified DB1 to the CP 541 7 Remove the programmer from the CP 541 8 Assign parameters to the connected PLC 9 Connect the CP 541 to the PLC with the connecting cable For normal operation you must provide the connection to the PLC 10 Set the mode switch of the CP 541 to RUN...

Страница 26: ...when the CP 541 has been switched on from 0 to STOP or when operating voltage has been restored STOP state In the STOP state you can use your PG to access both DBs in the CP 541 START The START serves to evaluate and store DB1 and activate the SINEC L2 interface RUN state In the RUN state the CP 541 executes the exchanging of data between the connected programmable controller and SINEC L2 Section ...

Страница 27: ...een RUN LED flashes at 8 Hz 3 DB1 in Yes The CP 541 checks whether a DB1 is present 4 DB1 in EEPROM CP 541 tests EEPROM Yes No If no DB1 is stored in the EE PROM it is subjected to a test of approx 6 s During the test the green RUN LED flashes at 8 Hz 5 EEPROM ok No With the EEPROM test the CP 541 tests the EEPROM for proper func tioning 6 EEPROM ok CP 541 reads in the default DB1 Yes If the EEPRO...

Страница 28: ...itialization block You store the parameters for the CP 541 there With the entries in DB1 you affect the operational behavior and interchange of data between the connected programmable controller and SINEC L2 A full description of DB1 can be found in Appendix C DB2 is the diagnostics block The CP 541 stores the determined diagnostic data there You can only read out DB2 By means of the diagnostic da...

Страница 29: ...41 evaluates the pa rameters in DB1 and checks them for completeness and plau sibility 5 DB1 ok Yes No Is DB1 complete and are all pa rameters in order 6 CP 541 evaluates error CP 541 switches error LED on No If an error is detected the CP 541 evaluates the error and gen erates an appropriate diagnostics message in DB2 The ERR error LED is addition ally activated In the event of an error the CP 54...

Страница 30: ...hange data Operator inputs via the programmer are not possible in the RUN state The CP 541 transfers the data from the connected programmable controller to SINEC L2 and vice versa A description of communication modes supported by the CP 541 can be found in Chapter 2 and Section 5 1 Meaning Exchange of Data Communication Installing and Connecting the CP 541 ...

Страница 31: ...r and SINEC L2 We will explain which parameters you must change in DB1 in the reset state A reset is only possible from the programmer Appendix B explains how to optimize the parameters in DB1 Brief instructions are given here for the following connections PLC PLC connection Broadcast DP connection Section Contents Page 4 1 Configuring a PLC PLC Connection 4 2 4 2 Configuring the Broadcast Mode 4 ...

Страница 32: ...e CP 541 must be identical to the node address of the con nected PLC 3 Write the modified DB1 into the CP 541 4 Switch the CP 541 to RUN Only upon transition from STOP to RUN will the modified DB1 be stored in the EE PROM of the CP 541 In the connected programmable controller you must observe the following points when assigning parameters The station number set in the CP 541 must be identical to t...

Страница 33: ...ler you must observe the following points when assigning parameters The station number set in the CP 541 must be identical to the node ad dress of the connected programmable controller Install the broadcast mode in the connected programmable controller us ing node address 31 Each broadcast message can contain up to 64 bytes of data If you cannot receive a broadcast or the transmitted broadcast can...

Страница 34: ...h STA PAS the CP 541 becomes purely a DP slave SINEC L2 DP is thus speeded up With STA AKT the CP 541 allows PLC PLC connection broadcast and DP connec tion 4 Remove the comment parentheses from frame DPS For the change in frame DPS to become ef fective you must remove the comment pa rentheses 5 Enter in parameter NWI the number of data words from the DP master to the CP 541 see Appendix C With th...

Страница 35: ...nt length The number of data words for sending must agree with parameter NWO in the CP 541 Up to 16 data words per direction can be transferred via the DP connec tion You must observe the following points in the DP master The CP 541 cannot be assigned parameters by the DP master with refer ence to SINEC L2 parameters The parameter for minimum slave interval minimum response interval must be at lea...

Страница 36: ...4 6 Communications Processor CP 541 EWA 4NEB 812 6188 02 Assigning Parameters to the CP 541 for the Connections ...

Страница 37: ... 03 S5 95F 6ES5 095 8FA02 01 S5 115F 6ES5 942 7UF15 01 For the transmission of safety related data the programmable controllers must use message mode 115F 15 The CP 541 always issues a positive acknowledgment of a send message from the connected programmable controller If there is a need in the sending programmable controller to ensure that the message was received in the receiving PLC you must im...

Страница 38: ...ion Broadcast via FDL Other communication modes are possible apart from the safety related com munication modes Non safety related PLC PLC connection see Section 2 1 Non safety related DP connection see Section 2 2 Section Contents Page 5 1 1 Safety Related PLC PLC Connection 5 3 5 1 2 Safety Related Broadcast via FDL 5 4 Introduction Safety Related Communication Other Communica tion Modes Summary...

Страница 39: ...on number and vice versa Node address 1 is converted to station number 1 node address 2 to station number 2 etc AG CP 541 1 30 3 2 1 30 3 2 SINEC L2 Figure 5 1 Address Conversion for the Safety Related PLC PLC Connection Node addresses 1 to 30 are available for the PLC PLC connection in the con nected programmable controller You assign parameters for the safety related PLC PLC connection in the co...

Страница 40: ...ledge SDN of the PROFIBUS protocol is used for the broadcast You install the broadcast with COM 95F COM 115F COM 95F COM 115F uses node address 31 This node address is converted by the CP 541 to station number 127 PLC CP 541 31 SINEC L2 127 Figure 5 2 Address Conversion for Broadcast If you receive a safety related broadcast with a non failsafe SINEC L2 sta tion you must not evaluate the first fou...

Страница 41: ...4 3 The DP connection is always non safety related Operation of a SINEC L2 in redundant configurations is possible without restrictions see Section 5 4 Section Contents Page 5 2 1 Configuring a Safety Related PLC PLC Connection 5 6 5 2 2 Configuring a Non Safety Related PLC PLC Connection 5 7 5 2 3 Configuring the Safety Related Broadcast Mode 5 8 Introduction DP Connection SINEC L2 in Redundant C...

Страница 42: ...1 must be identical to the node address of the con nected PLC 3 Write the modified DB1 into the CP 541 4 Switch the CP 541 to RUN Only upon transition from STOP to RUN will the modified DB1 be stored in the EEPROM of the CP 541 In the connected programmable controller you must observe the following points when assigning parameters with COM 95F or COM 115F The station number set in the CP 541 must ...

Страница 43: ...r the station num ber of the L2 station for which the non safe ty related connection is to be installed The S5 115F can only set up a non safety re lated connection for node address 0 SINEC L1 master This address is reserved in SINEC L2 The CP 541 will convert the address to the station number specified with parameter L1M 5 Clear parameter PRI and dummy characters or enter the priority list The CP...

Страница 44: ...n the connected programmable controller you must observe the following points when assigning parameters The station number set in the CP 541 must be identical to the node ad dress of the connected programmable controller Install the safety related broadcast in the connected programmable con troller Each safety related broadcast message can contain up to 60 bytes of net data If you cannot receive a...

Страница 45: ...l message monitoring with message mode 115F 15 To pre vent an undetected loss of message from occurring you may only change the send mailbox once during the receive safety time The CP 541 can receive messages simultaneously from two or more SINEC L2 stations it executes intermediate storage of these messages Safety Note On account of the intermediate storage of messages you must deduct the local c...

Страница 46: ... must list all the messages sent and re ceived from the viewpoint of the connected programmable controller Length of individual messages The length of individual messages directly contributes to the transit time of the individual message Receive delay time UPDL see Appendix C 4 You use parameter UPDL to set the receive delay time for the connected programmable controller with failsafe programmable...

Страница 47: ...adcast messages from all the stations with the basic settings in DB1 These broadcast messages contribute to the local cycle time Proceed as follows to ensure that broadcast messages which are not needed will not be received If no broadcast is to be received you must assign the value 0 to parame ter BSAP If broadcast messages are only to be received from certain L2 stations define your own priority...

Страница 48: ...time for receiving as follows Step Action 1 Draw up a simple table with two rows and the number of columns corresponding to the re ceive messages Mark the first row Receive and the second row Send 2 Enter in the Receive row the transit times of all possible receive messages in descending order 3 Then enter in the Send row the transit times of all possible send messages If you have fewer send than ...

Страница 49: ... row the transit times of all possible receive messages If you have fewer receive than send messages you must complete the Receive row starting with the longest receive message until the same number of send and receive messages has been entered If you have no receive messages do not make an entry If you have more receive than send messages delete all excessive receive messages starting with the la...

Страница 50: ...lers still apply unchanged The formula for verifying the SINEC L1 safety time for receiving is SINEC L1 safety time for receiving 2 tLUS tL2 2 tLUE Max adjustable CP 541 safety time for receiving SINEC L1 safety time for receiving tLUE with tLUS local cycle time for sending by the sender tLUE local cycle time for receiving by the recipient tL2 transmit time in SINEC L2 The following are valid for ...

Страница 51: ...Action Meaning 1 Calculate the local cycle times for sending and receiving See Section 5 3 2 2 Verify the condition for the SINEC L1 safety time for re ceiving using the formula on Page 5 14 If the condition is fulfilled you can use the CP 541 for commu nication Verifying the Receive Safety Time CP 541 with S5 95F S5 115F ...

Страница 52: ...es will be inter mediately stored in the CP 541 3 Round this time down to the next multiple of 100 ms You can only specify the receive safety time in COM 95F in multiples of 100 ms 4 Enter this value as SINEC L1 safety time for receiving in COM 95F Proceed as follows to determine the SINEC L1 safety time for sending for an S5 95F Step Action Meaning 1 Calculate the local cycle time for sending See...

Страница 53: ...or receiving of the S5 115F from the specified SINEC L1 safety time for receiving The local cycle time for receiving must be subtracted from the SINEC L1 safety time because the received messages will be inter mediately stored in the CP 541 3 Round this time down to the next multiple of 10 ms You can only specify the safety time in COM 115F in multiples of 10 ms 4 Enter this value as SINEC L1 safe...

Страница 54: ...41 and intercon nected via SINEC L2 The message traffic between the two failsafe programmable controllers is safety related Four bytes for data security are present per safety related mes sage STN 1 S5 115F with CP 541 STN 2 S5 95F with CP 541 STN 3 S5 115U with CP 541 8 bytes 20 bytes 12 bytes 10 4 bytes 20 4 bytes Figure 5 4 Configuration Example for Calculating the Local Cycle Times Introductio...

Страница 55: ...ssages sorted according to size Sending 92 ms 84 ms Receiving 72 ms 60 ms Verification of conditions for the send delay time POL shortest send message shortest receive message POL 100 ms defaultsetting in DB1 84 ms 60 ms 144 ms You obtain the local cycle time for sending by adding the individual values Sending 92 ms 84 ms 92 84 72 60 ms Receiving 72 ms 60 ms 308 ms You obtain the local cycle time ...

Страница 56: ...Receiving 92 ms 68 ms Verification of conditions for the send delay time POL shortest send message shortest receive message POL 100 ms default setting in DB1 72 ms 68 ms 140 ms You obtain the local cycle time for sending by adding the individual values Sending 72 ms 72 92 ms Receiving 92 ms 68 ms 164 ms Receive message is deleted You obtain the local cycle time for receiving by adding the individu...

Страница 57: ... Receiving 84 ms Verification of conditions for the send delay time POL shortest send message shortest receive message POL 100 ms default setting in DB1 60 ms 84 ms 144 ms You obtain the local cycle time for sending by adding the individual values Sending 68 ms 60 ms 68 60 84 84 ms Receiving 84 ms 84 ms 296 ms Receive message is filled in You obtain the local cycle time for receiving by adding the...

Страница 58: ...to account the formula in Section 5 3 3 and the data in 5 3 4 we obtain the safety times as follows STN Calculation Value to be Set 1 S5 115F First formula from Page 5 14 SINEC L1 safety time for receiving 2 tLUS STN2 2 tLUE STN1 tL2 2 164 ms 2 308 ms 100 ms 1044 ms 2000 ms 1044 ms Condition is fulfilled Second formula from Page 5 14 2000 ms tLUE STN1 2000 ms 308 ms 1692 ms Safety time to be set w...

Страница 59: ... example a safety related connection can be established between the two programmable controllers via SINEC L2 using the CP 541 because both the safety time of Station 1 and safety time for receiving of Sta tion 2 are less than the specified value Result CP 541 with S5 95F S5 115F ...

Страница 60: ... the configuration for SINEC L2 in a redundant con figuration for communication using two failsafe programmable controllers S5 115F S5 95F CP 541 CP 541 CP 541 CP 541 SINEC L2 in redundant configuration Figure 5 5 Schematic Configuration of SINEC L2 in Redundant Configuration For SINEC L2 with redundancy you use two separate SINEC L2 LANs On each SINEC L2 you use the same station numbers for the s...

Страница 61: ...nt locations Locally with the LED indicators In diagnostics block DB2 In a diagnostics message with a DP connection to the DP master DP diagnostic report to the connected programmable controller If an error occurs the CP 541 always activates the LED indicator according to the error and enters the error code in DB2 Section Contents Page 6 1 Local Diagnostics with LEDs 6 2 6 2 Diagnostics Block 6 4 ...

Страница 62: ...ched off flashes at 2 Hz is in the STOP state flashes at 8 Hz is executing an internal test is lit is in the RUN state ERR LED The red ERR LED indicates a general error in the CP 541 or at the PG PLC connection BF L2 LED The red BF L2 LED indicates a SINEC L2 bus error or that the CP 541 has not yet been integrated in SINEC L2 The diagnosis is given by the combination of the three LEDs To clear th...

Страница 63: ...with the switch set to STOP 2 Connect the programmer to the CP 541 You cannot access DB2 via a programmable controller 3 Read out DB2 4 Evaluate the errors in DB2 and take the ap propriate actions Section 6 2 contains a detailed description of DB2 5 Reconnect the programmable controller 6 Set the mode switch to RUN The CP 541 evaluates DB1 again Evaluating the Diagnosis Diagnostics and Error Handl...

Страница 64: ...cted programmable controller and SINEC L2 A PG access via the programmable controller is not possible DB2 can only be read out DB2 is reset by the CP 541 in the initialization phase and upon each change of status from STOP to RUN When you switch the CP 541 from STOP to RUN all information in DB2 is cleared The diagnostics block has the default 0 Section Contents Page 6 2 1 Structure of the Diagnos...

Страница 65: ...DW Range See Section DW0 Status word Below DW1 DW11 DB1 error 6 2 2 DW12 SINEC L2 bus error 6 2 3 DW13 DW17 SINEC L1 message error 6 2 4 DW18 DW26 Reserved DW27 DW30 Internal error 6 2 5 DW0 specifies the block in DB2 of the CP 541 in which an error has been entered Table 6 3 shows the significance of the individual bits in DW0 The positions not mentioned are not assigned Table 6 3 Significance of...

Страница 66: ...1704H L2 interface not operational 2104H TLN beyond permissible value range 1 to 30 2204H TLN of an active station is greater than HSA Up to 10 DB1 errors may be entered The meanings of the error code and the remedies can be found in Table 6 4 Table 6 4 DB1 Error Codes Error Code Meaning Remedy In DL In DR g y 00H FFH DB1 identifier missing Specify DB1 as the first entry in DB1 01H FFH END identif...

Страница 67: ...er HSA Check SINEC L2 HSA must be the same for all stations 23H XXH 1 A connection to the own station number has been established Modify the user program of the connected PLC 26H XXH 1 The value of SET must be greater than the value of SDT 1 The specification is SET SDT 1 35 2 Check the values of SET and SDT 1 and enter the right values 29H XXH 1 An L2 basic parameter is mis sing Check whether all...

Страница 68: ...XXH 1 POL is duplicated Delete the excessive parameter 50H XXH 1 NWI is duplicated 51H XXH 1 NWO is duplicated 52H XXH 1 DPWD is duplicated 53H XXH 1 DPS is present and L1M 0 Assign the value 0 to parameter L1M 54H XXH 1 NWI and NWO are 0 For a DP connection you must assign a value 0 to at least one of parameters NWI and NWO 55H XXH 1 DP connection configured but 0 is not entered in the user defin...

Страница 69: ...1 and enter the right values The basic parame ters must be the same for all stations 41H Station is not in the ring another sta tion with the same station number is present Change the station number in DB1 B2H Only for active stations station was not accepted in the ring within the monitoring time Verify the hardware configuration of SINEC L2 and correct the values in DB1 42H B1H C0H FFH An intern...

Страница 70: ...connection or a non safety related connection S5 115F only The CP 541 goes to STOP You must not send an L1 master message You must configure a DP connection For S5 115F You must configure a non safety related connection 03H L1 slave is sending to a node address 0 However the CP 541 is config ured as a passive station The CP 541 goes to STOP You may only establish a DP connection You must assign a ...

Страница 71: ...PWD The CP 541 remains at RUN Increase the monitoring time specified in DPWD Modify the user program in the PLC to al low more frequent sending to the DP mas ter 0CH The connected PLC has sent a broad cast but BSAP is 0 The CP 541 goes to STOP You must not send a broadcast Or assign a value between 33 and 52 to BSAP in frame COM 0DH A PLC PLC message with more than 64 bytes has been received from ...

Страница 72: ... Remedy Explanation 1 Switch the CP 541 to the 0 set ting You reset the CP 541 in a de fined basic state 2 Switch the CP 541 to the STOP mode and then to RUN The CP 541 executes a self test including initialization 3 If you again receive an internal error message continue with the next step If you no longer receive an er ror message the CP 541 is ready again There is a fatal error 4 Make a note of...

Страница 73: ...ve Contained in the slave diagnosis is all diagnostic information for a particular DP slave The structure of the slave diagnosis is explained in Section 6 3 1 You can read the CP 541 diagnosis into your programmable controller such as SIMATIC S5 as a so called slave diagnosis with function block IM308C FB192 for example with IM 308 C A detailed description of FB IM308C is given in the manual ET 20...

Страница 74: ...ly fetched by the DP master This pro cedure is repeated with each change of diagnosis Section Contents Page 6 3 1 Structure of the Diagnosis 6 15 6 3 2 Contents of the DP Standard Section 6 16 6 3 3 Device Related Diagnosis 6 18 6 3 4 Example of a Diagnostic Call with IM308 C and FB IM308C 6 19 Output of the Diagnosis Summary of this Section Diagnostics and Error Handling ...

Страница 75: ...in Table 6 7 Table 6 7 Structure of the Diagnostic Message Byte Content 0 Station status 1 1 Station status 2 2 Station status 3 3 Station number DP master 4 Manufacturer ID for CP 541 001FH 5 Manufacturer ID for CP 541 001FH 6 Length of the device related diagnosis in bytes inc header al ways 02H for CP 541 7 Device related diagnosis The diagnostic message of the CP 541 contains exactly one byte ...

Страница 76: ...rted by the CP 541 5 1 An implausible reply has been received from the CP 541 6 1 There is an incorrect parameter assignment message 7 1 The CP 541 has been assigned parameters by a different DP master from the one now attempting access to the CP 541 Table 6 9 Structure of Station Status 2 Byte 1 Bit Value Content 0 1 The CP 541 must be assigned new parameters 1 1 There is a static diagnosis 2 1 S...

Страница 77: ...number is given the default FFH during the start This means that the CP 541 has not been assigned parameters by a DP master so far The manufacturer identifier bytes 4 and 5 allows you to make a unique identification of the DP slave The manufacturer identifier is product spe cific The manufacturer identifier for the CP 541 has the value 31D 001FH Station Number of DP Master Manufacturer Identifier ...

Страница 78: ...ture of the Device Related Diagnosis Byte 7 of the Diagnostic Message Bit1 Meaning Cause Reaction Remedy 0 Response monitoring in CP 541 elapsed The PLC at the CP 541 has not reported with a DP message within the time specified with parameter DPWD in DB1 Inspect the connection between CP 541 and PLC for an open circuit Check the PLC connected to the CP 541 for faults Increase the monitoring time s...

Страница 79: ... as the SINEC L2 DP master The CP 541 has station number 3 The slave diagnosis is to be stored in DB 20 The slave diagnosis consists of 8 bytes The following user program shows how to request the slave diagnosis for the CP 541 with FB IM308C STL Explanation Q DB 30 JU FB 192 Name IM308C DPAD KH F800 IMST KY 0 3 FCT KS SD GCGR KM 0 TYP KY 0 20 STAD KF 1 LENG KF 8 ERR DW 0 Default address area of th...

Страница 80: ...e programmable controller The CP 541 sets bit 1 in the CBR see below In the zero message all data contain the value 0 closed circuit principle The message has the length you specified with parameter NWI in frame DPS When the CP 541 is used with the DP connection the receive coordination byte CBR must be interpreted as follows Bit 1 is always reset by the CP 541 in normal operation The CP 541 sets ...

Страница 81: ...IMATIC products are designed for operation in industry With an individual approval SIMATIC products can also be used in domestic applications homes shops trades and small businesses You must obtain the individual approval from an authority or test center In Germany the individ ual approval is issued by the Federal Department for Post and Telecommu nications and its regional centers Field of applic...

Страница 82: ...op and topple to IEC 68 2 31 Tested with drop height 100 mm Electromagnetic compatibility EMC interference immunity Discharge of static electricity to IEC 801 2 Severity 3 Discharge of static electricity 8 kV discharge in air Discharge on all parts ac cessible to the user in nor mal operation Test voltage 6 kV contact discharge Electromagnetic fields to IEC 801 3 Severity 3 Field strength 10 V m F...

Страница 83: ...ective ground conductor are internally bridged Interface data Communication modes PLC PLC 29 connections Broadcast 125 connections DP connection 1 to DP master Message length for PLC PLC 64 bytes max Broadcast 64 bytes max DP connection 16 words max word con sistent Permissible blocks Data blocks DB1 and DB2 SINEC L2 data Main processor 80C537 Communications processor V 25 with SPC Bus cable twist...

Страница 84: ...02 The dimension drawing for the CP 541 is given in Figure A 1 1 2 3 4 5 6 PG PLC SINEC L2 PLC PLC DP 6ES5 541 8AA11 24 VDC L M SIMATIC S5 CP 541 BF L2 RUN STOP 0 ERR RUN 46 162 120 63 0V Figure A 1 CP 541 Dimension Drawing Dimension Drawing Technical Data ...

Страница 85: ...ish to send or receive a broadcast you must assign the value 0 to parameter BSAP The CP 541 will then not send any received broadcast messages to the connected programmable controller If you still generate a broadcast in your user program and send it to the CP 541 the CP 541 will generate an error message and go to the STOP state You affect the degree of management for SINEC L2 in the CP 541 with ...

Страница 86: ...you can reduce the value of POL The minimum delay is 10 ms POL 1 Note that the more frequent interrogation of the connected programmable controller results in its being subjected to a higher basic load for interface processing If you do not wish to send messages from the connected programmable controller you can assign the value 0 to POL The connected program mable controller will no longer be int...

Страница 87: ...en rotation time will thus be reduced and SINEC L2 will only be loaded with data transmission Parameter UPDL affects data transmission from the CP 541 to the connected programmable controller With the default setting it is intended for the S5 95F and S5 115F UPDL is preset with 100 ms UPDL 10 for these two SIMATIC S5 controllers With a reduction in this value successive messages can be sent more f...

Страница 88: ... 541 EWA 4NEB 812 6188 02 You specify the token rotation time for SINEC L2 with parameter TRT Given in Appendix C 7 is a detailed description for calculating parameter TRT and therefore optimizing it Parameter TRT Optimizing SINEC L2 ...

Страница 89: ...ave modified DB1 repeatedly you must compress the main memory in the CP 541 from a PG After a change in DB1 the old DB1 is not over written but merely declared invalid and the modified DB1 is stored in a free memory area Invalid data blocks are cleared by compression For some parameters you need information from all the stations in use in SINEC L2 You will be informed again with the relevant param...

Страница 90: ...block iden tifier SL2 This contains the station number transmission rate and various time dependent parameters This area is described in Appendix C 3 You mark the area with the CP 541 specific parameters with block identifier COM It contains the conversion for node address 0 the SAP for the broad cast the send delay time receive delay time and the priority list This area is described in Appendix C...

Страница 91: ...END Fill charac ter Fill charac ter Fill charac ter Fill charac ter Fill charac ter Fill charac ter Argument Fill charac ter Parameter block Parameter sub block DB1 Figure C 2 Syntax of DB1 You can use the following fill characters in DB1 Character TAB LF FF CR Hex value 09H 0AH 0CH 0DH 20H 2CH You can use the following block identifiers in DB1 SL2 see Appendix C 3 COM see Appendix C 4 DPS see App...

Страница 92: ...acceleration of communication in the SINEC L2 BDR Baud_rate 93 75 187 5 500 1500 Baud rate Specify the transmission rate in Kbps Ensure that you use a decimal point to sepa rate the decimal places in DB1 This parameter must be set identically in all stations Use the value of the station with the lowest maximum transmission rate Observe the bus topology such as cable lengths HSA 1 126 With paramete...

Страница 93: ...stations SDT 2 max TSDR 35 1023 Station delay time 2 greatest protocol processing time Station delay time 2 is the maximum time elapsing between the sending or receiv ing of the last bit of a message and the sending or receiving of the first bit of a sub sequent message The formula is SDT 1t 35 2 SET vSDT 2v ST 15 This parameter must be set identically in all stations 1 Designations given in paren...

Страница 94: ...T TSET 50 110 110 80 ST TSL 600 1500 3500 3000 SDT 1 min TSDR 125 250 250 150 SDT 2 max TSDR 250 500 1000 980 Table C 4 PROFIBUS DP Bus Profile in Bit Times Parameter Transmission rate in Kbps 93 75 187 5 SET TSET 1 ST TSL 100 SDT 1 min TSDR 11 SDT 2 max TSDR 60 Table C 5 DP Bus Profile for IM 308 B in Bit Times Parameter Transmission rate in Kbps 93 75 187 5 SET TSET 12 12 ST TSL 100 200 SDT 1 mi...

Страница 95: ...u can modify the values Ensure that you change the values in all stations The following example shows the contents of block SL2 in DB1 for an active CP 541 with station number TLN 1 a transmission rate of 500 Kbps and the user defined bus profile The highest station number of an active station is 30 The token rotation time is set for the maximum possible communication size of 29 stations The setup...

Страница 96: ... DPS it forms an indicator for a DP connection No further address decoding with the S5 115F can then be entered BSAP 0 33 52 Broadcast service access point SAP number for broadcast The SAP number specifies the service access point to be used to route a broadcast message from the connected programmable controller to SINEC L2 and vice versa If a broadcast is not to be supported assign the value 0 to...

Страница 97: ...ected programmable controller there may be more than one mes sage in the CP 541 for the connected PLC If the CP 541 receives a new message from a station although the previous message of this station has not yet been passed on to the connected programmable controller the old message is overwritten by the new one If you do not specify a priority list the CP 541 internally enters all station numbers...

Страница 98: ...e volume in words of the send data to the DP master made available for the DP master You enter the values for the input and output data separately DPWD 50 65535 DP watchdog DP response monitoring time The DP watchdog serves to monitor the DP connection between the CP 541 and the connected programmable controller The DP watchdog specifies the time within which a new DP message must be sent from the...

Страница 99: ...a non safety related PLC PLC connection Reason In both connections the S5 115F uses node address 0 SINEC L1 master The following example shows the contents of block DPS For the exchange of data on the DP connection 16 words of input data and 16 words of output data are allowed for The DP watchdog has been set to 500 ms 0 KS DPS 12 KS NWI 16 NWO 16 24 KS DPWD 50 DP Connection Special Note for S5 11...

Страница 100: ...00 bit times 2 ms Shortest station delay time 80 bit times 0 16 ms Greatest station delay time 360 bit times 0 72 ms KS COM KS L1M 0 KS BSAP 52 KS POL 10 KS UPDL 10 KS PRI Block identifier COM remarks Address conversion to station number 0 Broadcast service access point 52 L1 send delay time 100 ms Priority a dummy character has been entered KS DPS KS NWI 16 KS NWO 16 KS DPWD 50 Block identifier D...

Страница 101: ... access to DB1 via the PG PLC interface 2 Switch the CP 541 to the STOP mode You can only modify DB1 in the STOP mode 3 Read DB1 in the CP 541 4 Make the desired changes For example enter the station num ber in the default DB1 see Chapter 4 5 Store DB1 in the CP 541 again 6 Remove your PG and reconnect the connecting cable 7 Switch the CP 541 to the RUN mode The CP 541 is now ready and DB1 is stor...

Страница 102: ...tive sta tions of SINEC L2 Passive stations cannot send messages inde pendently 2 Determine the maximum number of mes sages for each active station The number of messages is given by the number of configured connections per sta tion You must add the connections which the station can establish by itself 3 Distinguish the messages according to their type such as broadcast PLC PLC or DP connection 1 ...

Страница 103: ...smission rate can be found in Table C 10 Table C 10 Basic Load on SINEC L2 in Bit Times Message type Transmission rate in Kbps g yp 93 75 187 5 500 1500 Token 70 75 145 345 Broadcast 210 230 480 1120 PLC PLC connection 190 230 425 1040 DP connection SRD1 270 280 500 1160 1 SRD Send and request data Basic Load Parameters of DB1 ...

Страница 104: ...ation One token message per active station CP 541 No 2 one PLC PLC connec tion to station 3 and broadcast CP 541 No 3 one PLC PLC connec tion to station 2 DP master five DP connections 3 Distinguish the messages according to type such as broadcast PLC PLC or DP connec tion 3 token messages 1 broadcast 2 PLC PLC connections 5 DP connections 4 Calculate the basic load for the individual messages wit...

Страница 105: ...each message You must add 11 bit times for each trans mitted data byte Load 150 11 1650 bit times 7 Add up the individual loads Basic load 4265 bit times Data 1650 bit times Total load 5915 bit times The total load in ms is given by bit times 1 transmission rate in Kbps time in ms 5915 bit times 500 Kbps 11 8 ms Parameters of DB1 ...

Страница 106: ...C 18 Communications Processor CP 541 EWA 4NEB 812 6188 02 Parameters of DB1 ...

Страница 107: ...resent two factors for the response monitoring time 2 0 FFH monitoring time The response time is calculated with the following for mula TWD 10 ms factor 1 byte 1 factor 2 byte 2 3 0 FFH Response delay min TSDR This entry is not significant with the CP 541 because parameter min TSDR must be permanently entered via DB1 as parameter SDT 1 4 5 001FH Manufacturer identifier The manufacturer identifier ...

Страница 108: ... Table D 2 Structure of the Station Status in the Parameter Assignment Message Bit Value Meaning 7 6 00 01 Not supported by the CP 541 11 pp y 10 The CP 541 is not accessible to other PROFIBUS mas ters All parameters other than TSDR will be changed 5 0 The SYNC mode will not be supported by the CP 541 4 0 The FREEZE mode will not be supported by the CP 541 3 0 1 The watchdog is deactivated The wat...

Страница 109: ... contains one or two identifier bytes You define the structure of input and output data with the identifier byte The structure of the identifier byte is represented in Table E 1 Table E 1 Structure of Identifier Byte in Configuring Message Bit Value Meaning 7 6 01 The data of the CP 541 are always word oriented and word consistent 5 4 00 Special ID format not used 01 Input data 10 Output data 11 I...

Страница 110: ...E 2 Communications Processor CP 541 EWA 4NEB 812 6188 02 DP Configuring ...

Страница 111: ...ated data The structure of the configuring message is given in Appendix E You can specify up to 16 words of data per direction The data have word format Data consistency You must select word oriented consistency for the data transmission in the DP master Manufacturer identifier 001FH DP watchdog When configuring the DP master you ensure that the DP watchdog with the CP 541 is set in the DP master ...

Страница 112: ... CompuServe in AUTFORUM GO AUTFORUM in the SINEC library area All data of the DP slave needed for configuring with COM ET 200 are con tained in a type file If you need the type file you can retrieve it via modem under telephone number 0911 737972 You can also retrieve the type file under CompuServe in AUTFORUM GO AUTFORUM in the SINEC library area Additional information on the distributed I O can ...

Страница 113: ...stination another parameter the service access point SAP is specified in the message The CP 541 handles the entering of station number and SAP for you You can adjust the SAP for broadcast to your bus in DB1 The intended SAPs in the CP 541 are shown in Table G 1 Table G 1 Meanings of Service Access Points SAPs SAP Meaning 0 If you assign the value 0 to parameter BSAP this indicates to the CP 541 th...

Страница 114: ...s given in Table G 2 Table G 2 PROFIBUS Services Communication mode PROFIBUS service Priority PLC PLC connection SDA1 Low priority Broadcast SDN2 Low priority DP connection SRD3 See DIN E 19245 Part 3 1 SDA Send Data with Acknowledge 2 SDN Send Data with No Acknowledge 3 SRD Send and Request Data PROFIBUS Services Service Access Point SAP and PROFIBUS Services ...

Страница 115: ... three examples to demonstrate the incor poration of the CP 541 and the effects on the user program of the connected programmable controller Section Contents Page H 1 PLC PLC Connection H 2 H 2 DP Connection H 8 H 3 Safety Related PLC PLC Connection S5 95F S5 115F H 12 Introduction Summary of this Section H ...

Страница 116: ...re H 1 is the configuration for a PLC PLC connection S5 95U S5 95U CP 541 CP 541 SINEC L2 Station 11 Station 12 Figure H 1 Configuration for a PLC PLC Connection Given in the following are the data blocks DBs function blocks FBs and organization blocks OBs for station 11 DB1 in CP 541 DB1 0 KS DB1 SL2 TLN 11 STQ AKT 12 KS BDR 500 HSQ 30 24 KS TRT 30000 36 KS SET 80 ST 1000 48 KS SDT 1 80 SDT 2 360...

Страница 117: ... KS CBS FY12 72 KS END 75 DB11 and DB12 in S5 95U PLC DB11 0 KH 0000H 1 KH 0000H DB12 0 KH 0000H 1 KH 0000H STL Explanation OB 21 Segment 1 JU PB 1 BE Restart block OB 22 Segment 1 JU PB 1 BE Restart block PB 1 Segment 1 L KH 0000 T FY 0 T FY 12 L KH 0080 T FY 11 BE Reset auxiliary flag Reset CBS Set ready in CBR DB1 in S5 95U DB11 and DB12 Program Examples ...

Страница 118: ...d Open receive mailbox Output DR 1 to QB 32 Indication for operating system ready to receive again FB12 Segment 1 Name S 11 12 Des ANST I Q D B T C I BI BY W D BI Q F 12 7 BEC Q ANST AN F 0 0 F 0 1 Q ANST F 0 0 AN F 0 1 BEC Q DB 12 L KY 2 12 T DW 0 L IB 33 T DW 1 AN F 12 7 S F 12 7 BE Send block If send mail box blocked by operating system then block end Initiation bit Auxiliary flag for signal ed...

Страница 119: ...RT 30000 36 KS SET 80 ST 1000 48 KS SDT 1 80 SDT 2 360 60 KS DPS NWO 16 NWI 16 72 KS DPWD 50 84 KS COM L1F 0 POL 10 96 KS BSAP 52 UPDL 10 108 KS PRI 120 KS END 132 DB1 in S5 95U PLC DB1 0 KS DB1 SL1 12 KS SLN 12 24 KS EF DB11 DW0 36 KS SF DB12 DW0 48 KS CBR FY11 60 KS CBS FY12 72 KS END 75 DB11 and DB12 in S5 95U PLC DB11 0 KH 0000H 1 KH 0000H DB12 0 KH 0000H 1 KH 0000H Station 12 DB1 in CP 541 DB...

Страница 120: ...BE Restart block PB 1 Segment 1 L KH 0000 T FY 0 T FY 12 L KH 0080 T FY 11 BE Reset auxiliary flag Reset CBS Set ready in CBR STL Explanation OB 1 Segment 1 JU FB 12 Name S 12 11 ANST I 32 0 JU FB 11 R 12 11 BE Cyclic program block FB for sending to station 11 Initiate sending with I 32 0 FB for receiving from station 12 Program Examples ...

Страница 121: ...eive again FB12 Segment 1 Name S 12 11 Des ANST I Q D B T C I BI BY W D BI Q F 12 7 BEC Q ANST AN F 0 0 F 0 1 Q ANST F 0 0 AN F 0 1 BEC Q DB 12 L KY 2 11 T DW 0 L IB 33 T DW 1 AN F 12 7 S F 12 7 BE Send block If send mail box blocked by operating system then block end Initiation bit Auxiliary flag for signal edge Signal edge flag Auxiliary flag for next cycle If positive going edge Open send mailb...

Страница 122: ...on In this example we assume that you configure the IM 308 C with COM ET 200 Windows and that the type file is available see Appendix F The configuration of the DP connection is subject to the following condi tions The IM 308 C has station number 1 and reserves pages 0 to 15 The user defined bus profile will be used A transmission rate of 500 Kbps is set The S5 115U with CP 944 serves as the host ...

Страница 123: ...0 data words in addition to the following data DB1 in CP 541 DB1 0 KS DB1 SL2 TLN 3 STQ AKT 12 KS BDR 500 HSQ 30 24 KS TRT 30000 36 KS SET 80 ST 1000 48 KS SDT 1 80 SDT 2 360 60 KS DPS NWO 2 NWI 5 72 KS DPWD 50 84 KS COM L1F 0 POL 10 96 KS BSAP 52 UPDL 10 108 KS PRI 120 KS END 132 DB1 in S5 90U PLC DB1 0 KS DB1 SL1 SLN 3 12 KS EF DB10DW0 CBR FY6 24 KS SF DB10DW33 CBS FY8 36 KS END 48 DP Slave DB1 ...

Страница 124: ... Reset CBR Reset CBS Set receive readiness in CBR OB 22 Segment 1 L KH 0000 T FW 6 T FW 8 AN F 6 7 S F 6 7 BE Restart processing Reset CBR Reset CBS Set receive readiness in CBR STL Explanation OB 1 Segment 1 JU FB 11 Name R 3 0 JU FB 12 Name S 3 0 BE Cyclic program processing FB for receiving from DP master FB for sending to DP master Program Examples ...

Страница 125: ...eive data for further processing Program section to evaluate receive data Indicates to operating system that ready to receive again FB 12 Segment 1 Name S 3 0 Q F 8 7 BEC Q DB 10 L KY 4 0 T DW 33 L FW 20 T DW 34 L FW 22 T DW 35 AN F 8 7 S F 8 7 BE Send block If send mailbox blocked by operating system then block end Open send mailbox Send 4 bytes to station 0 DP master Program section to reserve s...

Страница 126: ...ue of IB 33 is sent from each PLC S5 95F and S5 115F to the partner PLC and indicated there at QB 32 Shown in Figure H 3 is the configuration for the safety related PLC PLC connection between an S5 95F and an S5 115F Note that the CP 541 is connected to part PLC B at both programmable con trollers SINEC L2 Station 11 Station 12 S5 95F CP 541 S5 115F CP 541 Figure H 3 Configuration for a Safety Rel...

Страница 127: ...t with COM 95F Parameters for the operating system User program signature CRC checksum 0 System identification number 0 255 0 Interval for OB 13 0 65535 80 10ms DB area with constant contents Y 2 251 N Yes 2 251 Maximum PLC cycle time 10 255 25 10ms PLC cycle time statistic Y N No DB no for operator action in F operation J 2 251 N No T mission of error DB via SINEC L1 part PLC B Y N No T mission o...

Страница 128: ...eceiving from slave 0 1 30 12 Mode 95F 115F 14 15 115F 15 Safety time 0 3 1638 7 100ms Reaction stop user Stop Data path 2 DB 253 Sending part PLC Y A B H N No Sending to slave 0 1 30 0 Mode 95F 115F 14 15 95F Safety time 0 3 1638 0 100ms Receiving part PLC Y A B H N No Receiving from slave 0 1 30 0 Mode 95F 115F 14 15 95F Safety time 0 3 1638 0 100ms Reaction stop user Stop STL Explanation OB 21 ...

Страница 129: ... F 10 1 S F 10 1 BE Receive block Test whether L1 message present If not block end Open receive mailbox Output DB1 at QB 32 Indication for operating system ready to receive again OB 13 Segment 1 Q I 32 0 SPB FB 12 Name SEND BE Send initiation with I 32 0 FB 12 Segment 1 Name SEND Q DB 252 L IB 33 T DW 33 AN F 10 0 S F 10 0 BE Send block Open send mailbox Store IB 33 in DR 33 for sending Release se...

Страница 130: ...y 0 8 16 32 16 KBytes Max PLC cycle duration 10 16383 25 10ms Time of occurrence of second error 1 255 9 10min Calculated test frame time 51 s Test cycle time 1 255 9 10min User time update max interval 2 16383 10 10ms Interrupt processing max interval 2 255 5 10ms Interval for OB 13 0 10 16383 80 10ms Short discrepancy time no interrupt DI 1 63 3 10ms Short discrepancy time interrupt DI 0 1 255 2...

Страница 131: ... protection of destination slave no Y N J Detection of message change Y N J You define the send and receive mailbox in the S5 115F as follows SINEC L1 SLAVE 12 0 MASTER 1 30 SLAVE 31 BROADCAST PARTNER 11 SEND 11 TO PARTNER RECEIVE FROM PARTNER XXX Send mailbox panel MAILBOX DB OR FLAG D M D DB_NR 4 255 12 MAILBOX LENGTH IN BYTES 1 62 4 FROM DATAWORD 0 255 10 0 MASTER 1 30 SLAVE 31 BROADCAST PARTNE...

Страница 132: ... 1 Name RECEIVE L FW 0 L KF 1 F T FW 0 Q DB 12 L DW 1 T QB 32 BE Receive block LPLZ sequence Open receive mailbox Output DR1 to QB 32 OB 13 Segment 1 L FW 0 L KF 1 F T FW 0 A I 32 0 SPB FB 12 Name SEND BE LPLZ sequence Send initiation with I 32 0 FB 12 Segment 1 Name SEND L FW 0 L KF 1 F T FW 0 Q DB 12 L IB 33 T DW 11 BE Send block LPLZ sequence Open send mailbox Store IB 33 in DR 11 for sending P...

Страница 133: ... which are related with regard to contents and must not be separated are known as consistent data The data must not be corrupted by reading out at different times The CP 5430 31 is an active station which supports the following commu nication modes PLC PLC FDL CP GP and DP D With the data oriented connection individual messages are transmitted cycli cally The messages may contain identical informa...

Страница 134: ...are input output units in a distributed configuration and not used in the CPU For example ET 200 family S5 95U with SINEC L2 DP interface CP 541 Other DP slaves from Siemens or non Siemens devices Distributed I O devices are connected to the DP master via the SINEC L2 DP bus All DP slave specific characteristics are stored in a DMD file device master data file The format of the DMD file can be fou...

Страница 135: ...quired Initiation takes place via the user program P This is the transfer of slave parameters from the DP master to the DP slave Passive stations may only exchange data with an active station when re quested to do so by the active station The PLC PLC connection is a direct connection between two programmable controllers via SINEC L2 without a detour via a master Process Field Bus the German proces...

Страница 136: ...ce is used in SINEC L2 if a station wishes to send a message to two or more other stations The addressed stations do not confirm reception of the message SINEC L2 is a bus system for the networking of PROFIBUS compatible au tomation systems and field devices in the cell and field level SINEC L2 is available with the following protocols PLC PLC DP distributed periphery I O FDL fieldbus data link FM...

Страница 137: ...1 to 30 T The speed of data transmission this is the number of transmitted bits per se cond A file requiring configuring software COM ET 200 to configure a DP slave Defined in the type file are the slave specific characteristics such as the number of inputs outputs number of diagnostic bytes SYNC capable etc Station Number Transmission Rate Type File Glossary ...

Страница 138: ...Glossary 6 Communications Processor CP 541 EWA 4NEB 812 6188 02 Glossary ...

Страница 139: ...r 6 11 COM C 8 Communication 2 1 safety related 5 2 Components 3 3 Configuration grounded 3 4 ungrounded 3 4 Configuring a connection DP connection 4 4 PLC PLC connection 4 2 Configuring a PLC PLC connection 4 2 Configuring connections PLC PLC connection with S5 115F 5 7 safety related 5 5 broadcast 5 8 PLC PLC connection 5 6 Configuring message E 1 identifier byte E 1 structure E 1 Configuring th...

Страница 140: ...ge device related diagnosis 6 18 DP standard section 6 16 Dimension drawing A 4 DMD file F 2 DP configuring a connection 4 4 connection 2 3 definitions for the master F 1 diagnostic message 6 13 diagnostic message to the programmable controller 6 20 Master F 1 master failure 6 20 parameter C 10 DPS C 10 DPWD C 10 E EMC 3 4 Error handling 6 1 Error code for DB1 6 6 L1 message 6 10 SINEC L2 6 9 Erro...

Страница 141: ...Index 3 Communications Processor CP 541 EWA 4NEB 812 6188 02 Local cycle time 5 10 calculating 5 11 example 5 18 for receiving 5 12 for sending 5 13 Local diagnostics 6 2 Index ...

Страница 142: ...ntages for the user 1 3 communication modes 1 2 fields of application 1 2 PLC PLC connection 2 2 safety related 5 3 POL C 8 PRI C 9 PROFIBUS service access points G 1 services G 2 R Receive safety time 5 9 Redundant SINEC L2 configuration 5 24 Removal 3 2 S Safety time receive 5 9 setting 5 16 Safety time for receiving setting 5 16 verification example 5 22 Safety time for sending setting 5 16 Saf...

Страница 143: ...rocessor CP 541 EWA 4NEB 812 6188 02 T Technical data A 1 dimension drawing A 4 TLN C 4 Token rotation time C 14 TRT C 4 Type file F 2 U Ungrounded configuration 3 4 UPDL C 9 V View of the CP 541 1 5 Z Zero message 6 20 Index ...

Страница 144: ... _ _ _ _ _ _ _ _ Street _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ City Zip Code _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Country _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Phone _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Please check any industry that applies to you Automotive Chemical Electrical Machinery Food Instrument and C...

Страница 145: ... _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Remarks Form Your comments and recommendations will help us to improve the quality and usefulne...

Страница 146: ... _ _ _ _ _ _ _ _ Street _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ City Zip Code _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Country _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Phone _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Please check any industry that applies to you Automotive Chemical Electrical Machinery Food Instrument and C...

Страница 147: ... _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Remarks Form Your comments and recommendations will help us to improve the quality and usefulne...

Отзывы: