6/13/2019 11:23 AM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
I connect the energy meter (RS-485 port) to CM1241 RS422/485 via Profibus cable. In meter configuration ID -1 BARD RATE- 9.6 PARTY - NONE RS-485 Configuration Port- 269 (as per hardware identifier) BARD - 9600 PARTY - 0 MB_ADDRESS- 1 MODE - 0 DATA_ADDR - 40001 DATA_LEN - 50 DATA_PTR - MD200 Now MB_COMM_LOAD Done= true MB_MASTER Done = false but Busy = true. I have enclosed the image. AttachmentRS-485 IMAGE3.zip (253 Downloads) |
6/13/2019 11:25 AM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
I cannot read the Data from Energy meter.Kindly update the solution. |
6/14/2019 10:21 AM | |
Joined: 6/14/2013 Last visit: 3/18/2023 Posts: 218 Rating: (9) |
Hello, try this: |
6/18/2019 3:02 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
MB_Master Busy = true but Value didn't came.I have enclosed the setting snap shot. If any other setting is there. In this meter I had read the value in 30016 address via modbus TCP . METER setting: for remainder Parity - 0 baud - 9600 stop bit -1 ID - 1 AttachmentMB_master.zip (277 Downloads) |
6/18/2019 4:18 PM | |
Posts: 3093 Rating: (322)
|
Hello, Evaluate the outputs of MB_Master in your program: Regards, |
Last edited by: Kaulquappe at: 06/18/2019 16:20:56 |
|
6/18/2019 8:39 PM | |
Joined: 6/14/2013 Last visit: 3/18/2023 Posts: 218 Rating: (9) |
Hello, with this : |
6/19/2019 11:54 AM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Below attach setting ok. |
6/19/2019 12:20 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Value did't came for above setting |
6/19/2019 2:39 PM | |
Posts: 3093 Rating: (322)
|
Hello, Regards, |
6/19/2019 7:04 PM | |
Joined: 6/14/2013 Last visit: 3/18/2023 Posts: 218 Rating: (9) |
hello, hope this help: |
6/19/2019 7:07 PM | |
Posts: 111 Rating: (29) |
Why the 1st scan? Best to look at official Siemens examples. |
6/20/2019 7:57 AM | |
Posts: 111 Rating: (29) |
Kaulquappe linked to an official article of value. The document discuss an essential technique that assists troubleshooting. Blocking out the enable of the instruction provides opportunity for trouble also. Blocking the enable is possible but is done with thought of edge trigger detection of instruction triggers. The linked example provide best guide.
|
Last edited by: AutoGen_1801304 at: 06/20/2019 08:23:26 |
|
This contribution was helpful to1 thankful Users |
6/22/2019 2:20 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Hello Mirip! I checked the program as per your above instruction but busy output only coming value didn't came. Kindly check the Hardware setting for RS-485 communication. Find the enclosed the snap. AttachmentMB_master.zip (161 Downloads) |
6/22/2019 2:48 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
How to check CM1241 RS422/485 module is ok or not. I have dout in this module. |
6/22/2019 7:10 PM | |
Joined: 6/14/2013 Last visit: 3/18/2023 Posts: 218 Rating: (9) |
hello, |
6/24/2019 8:05 AM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Yes, I active the "Tag_7". |
6/24/2019 9:12 AM | |
Joined: 5/30/2013 Last visit: 4/18/2024 Posts: 50 Rating: (21) |
I'm not sure if this has anything to do with your problem, but posting it either way. Take a look at the specification from modbus.org: Modbus_over_serial_line_V1_02.pdf From page 12:
What this tells us is that your device is having an "invalid" configuration. 1. Can it be changed to have a parity? or 2 stop bits? 2. If the answer to above is no, what happens if you in TIA sets two stop bits? Another typical issue is that you are asking for a nonexistent address. Are you sure that the address (including addreses specified by "Length") are ok? The offset is also often an issue; in other words if you are unsure whether it is offset "0" or "1", then it could be that your request of e.g. 30010 actually is a request of 30009 or the other way around. If then again this unintentional address "does not exist" you will receive an exception. I don't think this is the case here, as you are not getting any "STATUS", but mentioning anyway. |
Last edited by: JK_NO at: 06/24/2019 09:21:26 |
|
6/24/2019 11:12 AM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
I changed the stop-2 & changed The DATA_ADDR 40001 to 30001. But value didn't came. AttachmentMB_master.zip (138 Downloads) |
6/24/2019 12:27 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Kindly Check the hardware setting for RS-485 mod bus communication. Energy meter have ID-1 baud- 9600 Party - 0 or 1 or 2. DATA ADDR is 40001 or 30001.' Kindly update
AttachmentMB_master.zip (141 Downloads) |
6/25/2019 2:08 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Kindly send any sample program with hardware setting |
6/25/2019 4:45 PM | |
Joined: 6/14/2013 Last visit: 3/18/2023 Posts: 218 Rating: (9) |
hello, What energy meter?(model, reference..) |
7/4/2019 7:38 AM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Hello mirip! Energy meter make -ELTRAC model-ET4001 |
7/4/2019 12:22 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Hello Smiffy! kindly find the attchment. AttachmentMB_master.zip (135 Downloads) |
7/4/2019 2:26 PM | |
Posts: 3093 Rating: (322)
|
|
7/6/2019 2:48 PM | |
Joined: 3/3/2016 Last visit: 12/26/2023 Posts: 140 Rating: (0) |
Dear smiffy, Can you send sample program. |
7/6/2019 3:06 PM | |
Posts: 3093 Rating: (322)
|
How do you establish a MODBUS-RTU communication with STEP 7 (TIA Portal) for the SIMATIC S7-1200? |
Follow us on