5/6/2009 4:57 PM | |
Joined: 12/5/2006 Last visit: 2/6/2024 Posts: 73 Rating: (4) |
Hi you did not clarify whether you are using Modbus TCP or RTU if sois the S7 CPU modbus master or slave? If you are using Modbus TCP on the integrated port with the CPU there are some examples under this link http://support.automation.siemens.com/WW/view/en/22660304 Other wise if you are using RTU (CP 341/340) once you install the SW you would have examples projects once the installation is completed. If you are communicating with multiple partners on RTU I recommend the RS485/RS422 serial module. |
5/6/2009 10:21 PM | |
Joined: 12/5/2006 Last visit: 2/6/2024 Posts: 73 Rating: (4) |
Normally the Wizard for Modbus TCP should be taking care of the DB's parametrization just in case you do not have it, it is available here http://support.automation.siemens.com/WW/view/en/31535566. Unfortunately I do not have examples other than the manual is refering to. I have used mostly RTU. |
5/8/2009 12:04 PM | |
Posts: 17 Rating: (0) |
hi Wüstenräuber, I tried to open that example but I could'nt. It shows nothing when i open S7.server or client. may be because of different hardware configuration but i am not sure,Its first time i am working with Modbus. If you can help me with that ,i shall be very great full to you. If you want so i can send you a copy of my S7 program and Labview simulator. Thanks and regards Kristine Pettersen |
5/8/2009 3:15 PM | |
Joined: 10/3/2008 Last visit: 8/28/2024 Posts: 961 Rating: (124)
|
Hi kristine, it seems that you don't have installed the current hsp-package. You can download from product support sites here. I changed the current example project and attach here. In DB2 the second connection is the connection for a 315 CPU as server. Perhaps you have to change the parameters depend on your firmware version. If your project is not too big, you can attach here (the size is limited in the forum). Wüstenräuber AttachmentModbus.zip (921 Downloads) |
5/11/2009 10:48 AM | |
Posts: 17 Rating: (0) |
hi Wüstenräuber I saw at your example and my project but it is not to much difference in both. if you can give me your email address so i can send you my Labview and S7 program. Thank and Regards Kristine |
Follow us on