5/22/2019 9:03 AM | |
Posts: 3093 Rating: (322)
|
How do you establish a MODBUS-RTU communication with STEP 7 (TIA Portal) for the SIMATIC S7-1200? |
5/22/2019 9:18 AM | |
Posts: 114 Rating: (2) |
Thank You But I am Not able to read data from my Schneider Em 6433, I Have Attached My ProgrammeAttachmentENERGY_MTR_MODBUS_RTU.zip (384 Downloads) |
5/22/2019 9:49 AM | |
Posts: 1283 Rating: (105) |
First did you verify you are able to read the Energy meter using PC software for Modbus? |
5/22/2019 10:10 AM | |
Posts: 114 Rating: (2) |
Dear Jay, Which pc software, do you have any sample backup. |
Last edited by: vicky bhau at: 05/22/2019 10:16:47 |
|
5/22/2019 10:17 AM | |
Posts: 1283 Rating: (105) |
There are many PC software available. You can try Modbus Master as in the attcahment. Modscan software and many trial software which can be used with PC software and USB to serial port cables for connection with PC to the energymeter. if you are directly trying to read the energy meter, you cant be sure whether the energy meter is already sending data or not. so always ensure with a PC software and then connect to PLC after you are sure your energy meter config is right.
AttachmentModbusMaster.zip (248 Downloads) |
5/22/2019 10:32 AM | |
Posts: 114 Rating: (2) |
THANK YOU JAY. |
5/22/2019 10:54 AM | |
Posts: 114 Rating: (2) |
I have attached image of status of mb_load & RX & TX on plc is continuously on . |
5/22/2019 11:10 AM | |
Posts: 3093 Rating: (322)
|
Hello Vicky, How do you evaluate the status of system blocks in STEP 7 (TIA Portal)? When RX and TX are constantly on, there is a general error in parameterization / cable. Regards, |
5/22/2019 1:31 PM | |
Posts: 114 Rating: (2) |
Firstly I have Error(8180) In MB_MASTER But When I true the REQ BIT Of MB_COMM_LOAD ,Error get FALSE. & Where Should i check the Data of Energy meter |
5/22/2019 2:27 PM | |
Joined: 9/27/2006 Last visit: 4/27/2024 Posts: 12257 Rating: (2665) |
Hello Vicky Bjau; From reading your questions in this thread, I cannot say what level of experience you have on Modbus exchanges, especially with a Siemens PLC as master. May I suggest you take a few minutes to read an excellent primer prepared by one of our experts on the subject, our friend smiffy. For beginners it is very helpful, for more experienced users it is a great refresher on Modbus: Then, correct the error 8180 that you show on your Modbus functions, so that when they are right you can use them to connect to your Energy Meter and request data. https://support.industry.siemens.com/tf/ww/en/posts/error-mb-master/94257/?page=0&pageSize=10 Next, study this Schneider document showing Modbus functions and the register addresses where data of your Energy Meter can be located on the Modbus slave: https://support.industry.siemens.com/tf/ww/en/posts/error-mb-master/94257/?page=0&pageSize=10 As suggested earlier, begin by using a Modbus master program on your PC, as a communication test. Schneider seems to suggest (on page 54) that Modscan and Modtest are suitable for these initial data exchanges. Once the Modbus communications are validated with a test program, for example by reading the first current value, Current Average at address 3913 (start Modbus address of the Holding registers + offset 12), then you can build up your own Modbus exchanges with the PLC as Modbus master. If you have any more specific questions about your programming, please feel free to ask; make sure you provide enough information for us to be able to help. Hope this helps, |
Last edited by: dchartier at: 05/22/2019 14:28:57 |
|
This contribution was helpful to1 thankful Users |
5/30/2019 10:39 AM | |
Posts: 3093 Rating: (322)
|
And which error did you get at MB_Master? |
Follow us on