TechNote MPI S7 Comm With Siemens S7-300 and S7-400 PLC V11



Comments



Description

Quick StartMPI / S7 Protocol communication with Siemens S7-300 and S7-400 PLCs Rev Date File Name 1.0 19/01/07 QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC Description • • • • Product concerned: All BradCommunications™ Products that allows a Profibus MPI and/or a S7 Protocol communication with Siemens S7 PLC. - The applicom PC Network Interface Card: The applicom PCNIC solution is based on a co-processor / intelligent card that is able to embed and execute the communication with PLCs for high performance. The reference concerned: PN# APP-PS7-PCU; PN# APP-PFB-PCU; PN# APP-PFB-CPI - The applicom Gateway: The applicom Gateway solution is based on a stand-alone black box that embeds and executes the communication with PLCs and allows to link the data to additional PLC over different communication protocols. The reference concerned: PN# APP-ESP-GTW - The applicom PROFINET IO Proxy: The applicom PROFINET IO Proxy solution is based on a stand alone black box that embeds and executes the communication with PLCs and allows to link the data to a ProfiNet IO Controller. The reference concerned: PN# APP-PNT-GTW-P - The Direct-Link PC Network Interface: The Direct-Link PCNI solution is based on a non-intelligent card that executes the communication with PLCs for light application. The reference concerned: PN# DRL-MPI-PCU, PN# DRL-MPI-USB, PN# DRL-PFB-USB. Environment: Quickstart realized with : - Windows XP SP2 Related documents: - Product Help files, available on the CD from the documentation directory. - Technical Notes are on the CD from the Technote directory Restriction: None Summary: This Quickstart provides you the minimal step to start up a Profibus MPI and/or a S7 Protocol communication with an S7-300 or S7-400 PLC. This Communication Quickstart completes the Product Quickstart that explains how to install and use the product you have. Please read first the Product Quickstart. Note : According to the product (NIC, gateway, software driver) you use, the console configuration software may differ on few topics, but communication configurations parameters will be identical. 0 Page 2 of 12 .2 Select and setup the communication interface Specify the interface card: . click OK. Note : the list can be different depending on the product you are using! - QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1.1 How configure S7 PLC in the applicom interface card 1.1 The Console description To start the configuration Console click on the button in the applicom directory: define • Protocol parameters • Equipment list and parameters Channels available to define the protocols used Library of equipments to add in the active configuration Loggin area to see warning and error messages during the configuration Status • Board configured • Board status • Configuration status 1.Right Click on “Board configuration” Select “add board” Select the card installed on the PC. QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. Profile: This defines automatically the Profibus Timing profile that will be used to manage the communication. Note : All devices connected to the Profibus Fieldbus has to be set to the same communication timings! For details about the timing value used by the Profile check the parameters defined under the “Advanced Configuration” tab. in which you can modify the Profibus parameters. Baud Rate: Select the Profibus communication Baud Rate.1. by a double click on “Profibus. HSA: Defines the Highest active station address on the network. A new window appears. .0 Page 3 of 12 . …). TS: Defines the Profibus unique address for the BradCommunication Board on the Profibus Network. MPI : Use this Profile if your communication is only with MPI devices DP : Use this Profile if your communication is only with DP devices Universal: Use this Profile if you are planning various communications. Set this value higher then the highest Profibus address present on the network or set it the 126 (max). depending on your network (baud rate.”.3 Configure the protocol Configure the card channel properties.. in the right side of the Console. This address has to be different from any other device Profibus address present on the network. timing parameters. Configure this according to your Step7 project. PG or OP).1. Link Parameters: Selected. Local SAP: the used SAP (Service Access Point) for the communication between the card and the PLC.S7-300 and S7-400 for Profibus S7 communication with respective CPU type. For more information about it please refer to section 5 Communication Troubleshooting / FAQ QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. Link Type: Specifies the type of connection that will be opened (Standard.S7-MPI for communication over the S7 MPI programming port . this checkbox will link the different parameters to the Equipment value (here the Profibus address) Station address: Equipment Address to access to the remote equipment. Rack Number / CPU Slot: Identifies the position of the Siemens S7 CPU.4 Add the equipments Insert from the Equipment Library the device type you want to communicate with. Configure now the equipment properties: Topic Name: Equipment name that will be used in the Data Servers (OPC / DDE…) to access to this PLC Number: Equipment Number that will be used in the DLL or in the various test and diagnostic tools to identify this equipment.0 Page 4 of 12 . These parameters are set by default but can be different in your Simatic Step7 configuration. Use the Drag & Drop method or the insert button Different types of card should have different list of equipments available: . QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. Set the Profibus address and the parameters of the connected network (timings.2 How configure S7 PLC Profibus interface In the Step7 project.).0 Page 5 of 12 . open the NetPro program: Open the CPU Properties (for the MPI communication) or the CP Properties (for the S7 protocol communication) and click on the communication interface property button. etc. QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. clicking on the to communicate.0 Page 6 of 12 . The default timing values of the Profibus channel for the applicom PCNIC are defined according to the Universal (DP/FMS) profile.Download all modifications in the S7 PLC. button. now the PLC is ready Important note: for an S7 Protocol communication with the PLC prefer always the Universal (DP/FMS) communication timing profil. Byte. it will appear above the button Number of variables to read Address of the needed data in the PLC. other = not ok). when you active the read function. Slot. that means that the low level of the communication is not running (wiring. Link Type …) You can also check the communication with configured equipments. 2 mode types : -Standard uses the data address .EXE). (Rack. In case of communication problem: . (bus fault) Page 7 of 12 . Most important parameters : Card. Click on «Stop on error» and «Polling» buttons to read and capture a nondeterministic return status. . Channel and equipment. Double Word…) that you can start from the configuration console. Also. that means that the issue is then located at a higher level.3 Check the communication with your equipments Now the card and the PLC are ready to communicate together. you must see some return data in this array. Once the syntax is chosen. QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1.if this tool does not show you some Profibus address of your remote devices. end resistance. For this use the ReadWait communication test tool Type of the needed data (bit. you can see a return status about the exchange (0 = ok. Word. communication timings). Initialize the communication solution with the following button configuration in your card.if this tool shows you the Profibus address corresponding to your remote devices. Click on «read button» to read just one time and get the return status. in order to update the Use the online action tool (on the lower left part of the console). certainly link to parameter from the remote device configuration. in order to check if the PLC(s) are seen on the network (in applicom solution use the explorer to start MONPFB.Equipment descriptor uses the data syntax (Please refer to the Help file) If all works fine. Baudrate.0 (bus fault) If the used Mode is “Equipment descriptor” then click on it to enter the syntax. To add items to read on the MPI/S7 network you can reference to the following Siemens S7 syntax table: Note: if any problem appears during the connection to the OPC server refers to the OPC documentation and technotes.0 Page 8 of 12 . QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. You just have to add in the group the items you want to test.4 Communication over Data Servers – Ex with OPC client You can also test the OPC Server communication over the OPC test Client provided as additional test tool. Start it from the configuration console and the connection to the OPC server is opened automatically. 0 Page 9 of 12 . check the Slot and Rack parameters. If you have selected more than one request simultaneously. but also means that the S7 CPU does not accept the S7 connection. Reduce this value to 1 Table with some exemples of connection limitations (for more information contact Siemens with the CPU reference) QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. Can be related to a cable that is disconnected. Each PLC is limited in the number of connection available. it means that the communication to the S7 PLC is not established. Please check that the CPU is started an in RUN mode.5 Communication Troubleshooting / FAQ 5.1 My communication status is different than 0 If the return status about the exchange is different than zero. Refer to the following table with some samples of connection limitations or contact your PLC manufacturer. it can be that your PLC has not enough ressources to manage all configured connections. Can be a PLC CPU that is in STOP mode or OFF. Please check your network wiring. connectors. Refused connection usually means a bad wire or a bad configuration of the remote stations. 70 If this is the first connection that is not accepted. change the link type in the PLC properties windows from “Standard” to “PG” or “OP” or reduce the number of connection used by additional equipment in communication with this PLC. Can be related to a connection request when the CPU does not have anymore free connections available. Check also the Profibus cable. configuration set in the communication solution… Test in direct connection over Ethernet Cross Cable Use the Profibus monitor to verify the quality of the wiring (Chapter 3). or broken. 33 55 Can be a wrong Profibus address or a PLC that is not ready to run or badly configured. Profibus address and configuration of the remote PLC. Here some common status: Communication Time-out means that the S7 PLC does not respond to the request we sent. MPI. This communication is cyclic and very fast (ex: every 10 ms) but very limited in the amount of Data (only 244 Bytes Input and 244 Bytes Output). on programming port . Here the baudrate is not limited and the communication is possible from 9.0 Page 10 of 12 . for Siemens S5 PLCs Note that this list change in respect to the used card.5 kBaud by default. Profibus MPI and Profibus S7 allows you to communicate directly with an S7-300 or S7-400 CPU. Only few CPU can change this speed for a higher baurate.To know the meaning of status not indicated above. 5. Depending on your configuration the solution will use the appropriate messaging (based on the Profibus stack) to send request to the PLC. 5.S7 Protocol. Having an additional S7 communication is possible but can add some delay in the DP data refresh cycle.5 What is the difference between Profibus S7/MPI and Profibus DP? The 2 main differences is in the data access : .2 Can my BradCommunication solution configure my S7 PLC ? The Direct-Link PCNI PN# DRL-MPI-PCU and the applicom PCNIC PN# APP-PS7-PCU. on DP port .Profibus DP protocol is an Input / Output data exchange between one Master and one slave. refer to the documentation of the Profibus protocol chapter Functions return Status 5.Profibus DP. can also be performed at the same time. for unsolicited sendings . PN# APP-PFB-CPI does not provide any specific driver for the Simatic Step 7 Software.3 Can I communicate at the same time with other messagings? Yes. additional communication like Profibus DP communication. For the messaging supported by your card. please refer to the help files. QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1.S5. PN# APP-PFB-PCU. The Profibus MPI communication is performed over the CPU programming interface with a communication speed of 187. Be carefull on the Profibus S7 specific ports.6 kBaud to 12 MBaud. The Profibus S7 communication is performed over the 2DP port or over any Profibus interface of a Profibus coupler. So it is not possible configure the PLCs via these cards.FDL. 5. for remote Periperals .4 Is it better to communicate over Profibus MPI or Profibus S7? Both. the different BradCommunication solutions allows you to use simultaneously all messagings. The supported messagings are : . So. the configuration should be :  Using the 1. At each request different memory address can be read allowing an exchange of very large amount of data.6 Do I need particular settings for the communication with particular equipments (VIPA 315 SB. 5.7 Where can I get further information about these topics ? QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1. in communication with a Siemens S7 318. It is recommended to increase the TRDY and MiN_TSDR parameters in the configuration console.0 Page 11 of 12 . if you encounter any communication trouble. some of Siemens CPU S7 312 firmware version does not allow the DRL solution to connect through.5 Kbds. The communication is directly made with the S7 CPU. it is recommended to decrease the TSET parameter to 50 tbit. you will have to change the way to communicate to. As an example.5 Kbits/s. to communicate with this device. accessing to the internal memory (ex: DBxDBWy or MWz). S7 318-2.- Profibus S7/MPI is a communication made on request by a Profibus Master to another Profibus Master. there are some equipments that needs adjustments for a correct communication. Use the S7 messaging. 5. Do not forget to change the connexion type from “Standard” to “PG or OP”.  With the MPI messaging. at 187.  For the VIPA 315 SB.2. S7 312) ? Yes. Operating system type and version .8 Where can I get further Techsupport help ? The first contact for Techsupport help is your local BradCommunication supplier ! If you bougth your communication solution directly by Woodhead.0 Page 12 of 12 .pdf document in the list of help files in order to find the Woodhead office close to your location.Details of the problem you are experiencing: firmware module type and version. Available on the Product CD-Rom under the Technote Directory 5. please refer to the contact. model and hardware configuration (other cards installed) . Please ensure also that you have the following information readily available before calling for Technical Support: .Computer's make.Card type and serial number .pdf  More information about the Product general configuration in the help file Implementation. More information about the Profibus communication in the help file Profibus. target network and circumstances that may have caused the problem QuickStart_PFB MPI/S7 comm with Siemens S7-300 and S7-400 PLC – V1.pdf  More information about the setup of the BradCommunication Product in the Quickstart  More information about the specific topics in relation with the BradCommunication Products in various Technotes and Quicknotes.
Copyright © 2024 DOKUMEN.SITE Inc.