5/17/2012 3:28 PM | |
Joined: 9/27/2006 Last visit: 3/22/2025 Posts: 12344 Rating:
|
Hello Rajkiran; You are confusing us even further! Forget about the Redundant PLCs, the ES/OS... this is not pertinent for the discussion of drivers for the CP 341. Look at the configuration of the Modbus network exclusively. One master only can exist on this Modbus network; if this is a CP 341 it requires a Modbus master dongle, along with the Modbus master driver and the CP 341 PtP configuration package (freely downloadable). If any other CP 341 (on other CPU racks for example) are acting as Modbus slaves, they need a Modbus slave dongle, a;long with the Modbus slave driver and the CP 341 PtP configuration package. You will find information on all hardware/software requirements for Modbus drivers (master and slave) for CP 341 or CP 441-2 in the following FAQ: Which hardware and software components do you need to establish communication between SIMATIC S7 stations and third-party devices using the MODBUS RTU protocol? There is also a link exoplaining how to download a driver to a CP 341 used in a H-system in the FAQ above. If you want to make things easy, draw a design of your Modbus network so we can have a complete overview of the application. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
5/17/2012 3:53 PM | |
Joined: 8/18/2009 Last visit: 3/8/2025 Posts: 554 Rating:
|
Deardchartier, Find attached doc. & please guide me... you are not tell that my above configuration is right or wrong.... 1.CP341 WITH RS422/485 INCL CONFIG PACK (6ES7 341 1CH020AE0) - 2.Driver for MODBUS master V3.1 -1Qnty 3.Copy license for MODBUS master V3.1 -10Qnty |
Rajkiran Patil |
|
5/18/2012 4:50 PM | |
Posts: 3093 Rating:
|
Hello Rajkiran, there was a nice FAQ which would have helped you. Unfortunately it was removed from the system and I have only got a German hard copy. I'm not sure whether it can help you, I attach it just in case you'd like to have a look at it. As far as I understand your configuration, it would be ok how you chose master and slave. Regards, Kaulquappe AttachmentModbus.pdf (234 Downloads) |
5/18/2012 4:53 PM | |
Joined: 9/27/2006 Last visit: 3/22/2025 Posts: 12344 Rating:
|
Hello rajkiran; Looking at your updated drawing, it would appear that your CP 341 is reading and writng data from the S7-200 PLCs and the RS-485 interfaced PLCs. If this is the case, it will be acting as a Modbus master on the Modbus RTU Rs-485 network. As it seems to be sitting in a redundant ET 200M Profibus slave to your Hot standy PLC system (a S7-400H?) it will also act as part of the Profibus-DP slave and be accessible from the S7-400H. (Remember the link to 'How to download to a CP 341 on a redundant H-system' shown in an earlier post?) So: -You need the hardware and software proposed earlier for the Modbus Master downloadable driver in the CP 341. -You will need to purchase the Microwin USS/Modbus library, in order to setup the S7-200 PLCs as Modbus slaves: 6ES7830-2BC00-0YX0 See the following FAQ: How do you implement MODBUS communication with S7-200? -You will need to determine wheter the other PLCs are Modbus RTUslaves (it is not enough that they have a RS-485 interface); if not, what interfaces do they have, you might search for a gateway of some kind. Next you will need to plan the data exchanges between the Modbus master and each slave. How familiar are you with Modbus RTU? Have you seen our friend smiffy's excellent description of Modbus? Modbus General Description When using Modbus between a master and a slave, no matter what brand of CPU you are using, you must work on the basis of Modbus addressing (developped originally for Modicon PLCs: addresses starting with 0000x are digital outputs, with 1000x they are digital inputs, 4000x they are 16-bit registers... Once the Modbus exchange is done then you must translate the addresses used so that your PLC can use them, eg. locate these Modbus addresses in the PLC's DBs. This is all well described in the Modbus RTU Master manual for the CP 341 and in the online help of MicroWin (once the Modbus library has been loaded). Study them well before you start programming. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 5/18/2012 4:59 PM |
|
This contribution was helpful to
1 thankful Users |
Follow us on