OpenModbusTCP
Power Meter Communication Problem - SENTRON PAC 3200
Thread Starter: Srinath40 Started: 6/2/2012 7:37 PM Replies: 37

6/2/2012, 7:37 PM
|
Joined 3/13/2012
Last visit: 5/16/2013
Posts: 31
Rating:
(0)
|
(0)
|
Dear Sir,
We are working in a project which consists of S7-400 H System . Its having 41 Power meters (SENTRON PAC 3200 )connected to CP443- 1 through Scalance.All power meters are connected through Profinet working under Modbus TCP Protocol. We used standard Blocks for Modbus TCP (FB1733).The program is working fine.We are getting all the values from power meters and is found OK.But sometimes there is a problem in Power Meter Communication (Connection is fully disturbed).We dont know Why?In wincc all the values becomes zero.(All power meters Fully Disconnected).We are facing this problem frequently.Kindly help us to overcome from this issue.waiting for reply.
|
|
|
|

6/2/2012, 9:12 PM
|
Joined 1/3/2006
Last visit: 5/7/2013
Posts: 545
Rating:
(29)
|
(1)
|
Hi, When next time this problem occurs simply see what's there in diagnostic buffer. Save report and upload here. Also check the "status" or "Error code" of FB, this would be great starting point. How about Scalance power? Is it powered through same source as PLC? Also a network description is required.
|
|
|
|

6/2/2012, 9:55 PM
|
Joined 3/13/2012
Last visit: 5/16/2013
Posts: 31
Rating:
(0)
|
(0)
|
Dear Sir,
Thanks for your reply.Please find here with attachment of Diagnostics Screenshot for Power Meter Communication.I remembered the error code is A083.I will post that screenshot tomorrow. The Power Supply for PLC and Scalance is different. (SITOP Modular Redundant Module is used). 6GK5 310-0BA00-2AA3 (SCALANCE X310, MANAGED IE SWITCH) is used. Totally 8 Switches are used. 4 Switches (4 * 6 = 24 Power meters are Connected.) Another 3 switches (3 * 4 = 12) and one switch having 5 power meter connection. total = 24+12+5 = 41 power meters.
|
|
|
|

6/4/2012, 12:38 PM
|
Joined 10/3/2008
Last visit: 5/2/2013
Posts: 522
Rating:
(52)
|
(0)
|
Hi, A083 means, that you started a new telegram (ENQ_ENR = TRUE), but an order is still running. You must wait until the running telegram is finished with DONE or ERROR before you start the next telegram.
The diagnosis shows that the communication partner terminated the connection. What is the reason for this? You can check the telegram traffic with wireshark also...
Wüstenräuber
|
|
|
|

6/4/2012, 1:48 PM
|
Joined 3/13/2012
Last visit: 5/16/2013
Posts: 31
Rating:
(0)
|
(0)
|
Dear Sir,
If I see the diagnostics,it is showing that the communication is terminated by partner. What you told is right.But When I ping that IP Address of that particular power meter ,I got reply from that. Physically all connections are OK.But I am not able to understand where is the exact problem. Whether Need to do some settings in Power Meter Side? Or Need to check program? I hope that program is OK.Because Whenever it is communicating ,I am getting whatever values from Power Meter is Correct.I checked that. Please advise me to solve this issue.
I checked the below link Which you mentioned. http://www.it4industry.com/
I am not able to get anything. What is Wireshock? Is it a software to check telegram traffic? Please explain me.
Waiting for your reply
|
|
|
|

6/4/2012, 2:01 PM
|
Joined 10/3/2008
Last visit: 5/2/2013
Posts: 522
Rating:
(52)
|
(1)
|
Hi, wireshark is a useful tool to see the telegram traffic. So you can see which IP address sends which data to which partner and what is the answer. You can google and download it.
A083 is an error in your program sequence, please check it.
Wüstenräuber
|
|
|
|

7/6/2012, 7:09 PM
|
Joined 3/13/2012
Last visit: 5/16/2013
Posts: 31
Rating:
(0)
|
(0)
|
Dear Sir,
I understood the error A083.It means already CP(from Program) is sending again Query to that Slave (Power meter ) without received DONE ,ERROR (bit) for previous Query (Last Query). What you told is right. But Whenever am downloading Full Program ,This problem is automatically solved. Before Downloading I faced this Problem for Powermeter (IP : 192.168.0.10) , After Downloading Full Program I have faced this problem for Powemeter (IP: 192.168.0.15),At this Stage I received value from Power Meter (192.168.0.10) were perfect. Out of 41 Power meters ,I am facing this problem in 2 Powermeters Only. Whenever I downloaded the entire program , the above Problem (A083) is shifted to another two Power meters .Sometimes If I Ping that Particular IP Address,I am not received any reply from that Particular IP.
I am not able to understand why this problem is happening frequently?
Please help me to overcome this issue.
=== Edited by Srinath40 @ 7/7/2012 12:10 AM [GMT ] ===
|
|
|
|
|

7/6/2012, 7:18 PM
|
Joined 3/13/2012
Last visit: 5/16/2013
Posts: 31
Rating:
(0)
|
(0)
|
Dear Sir ,
Please Find Network Description of Power Meter Connection Below.
Totally 8 SCALANCE Switches are used.
1st Scalance - 6 Power Meters 2nd Scalance - 6 Power Meters 3rd Scalance - 6 Power Meters 4th Scalance - 6 Power Meters 5th Scalance - 4 Power Meters 6th Scalance - 4 Power Meters 7th Scalance - 5 Power Meters 8th Scalance - 4 power Meters
Total = 41 Power Meters
SCALANCE X208: - 6GK5 208-0BA10-2AA3
Please Help Me to solve this issue
|
|
|
|

7/9/2012, 11:06 AM
|
Joined 11/27/2007
Last visit: 5/17/2013
Posts: 838
Rating:
(58)
|
(0)
|
Dear Sir,
I understood the error A083.It means already CP(from Program) is sending again Query to that Slave (Power meter ) without received DONE ,ERROR (bit) for previous Query (Last Query). What you told is right. But Whenever am downloading Full Program ,This problem is automatically solved. Before Downloading I faced this Problem for Powermeter (IP : 192.168.0.10) , After Downloading Full Program I have faced this problem for Powemeter (IP: 192.168.0.15),At this Stage I received value from Power Meter (192.168.0.10) were perfect. Out of 41 Power meters ,I am facing this problem in 2 Powermeters Only. Whenever I downloaded the entire program , the above Problem (A083) is shifted to another two Power meters .Sometimes If I Ping that Particular IP Address,I am not received any reply from that Particular IP.
Hello Srinath, when the error A083 shifts to another power meter when downloading the program, it seems that it is an error in the logical sequence of the user program. All communication errors regarding the connection or the frame will lead to different error numbers. Do you use a timer to set ENQ_ENR of the Modbus block? Does the error A083 occur directly after downloading or does it occur after a while, when already requests were executed properly?
Regards, Kaulquappe
|
|
|
|

7/9/2012, 9:15 PM
|
Joined 3/13/2012
Last visit: 5/16/2013
Posts: 31
Rating:
(0)
|
(0)
|
Dear Sir,
Thanks for your reply
I used timer in Program.Every 10 Seconds , It will set ENQ_ENR (One Pulse) of the Modbus Block for all Power meters at same time.This is the Logical Sequence (Every 10 Seconds Set ,then Reset and After 10 Sec again set) which is running repeatedly.
This Error is always Present (A083) .After Downloading this Error is shifted to Some other Power Meters .
Sometimes After Downloading Program ,If I ping that Particular IP Address of the Power Meter ,I am not getting any reply. Before Downloading the Program ,I received reply from that same Power Meter.
Is there Any relation between Pinging IP and Logical Sequence of the Program ? I dont think so . Pinging is used to check the Physical Connection (Ethernet Connection).
Please clarify me.
Sometimes The Led in Scalance Port (Port 9) is blinking ,where Power Meter 1st Connection Starts .
I want to know the reason for this problem is Whether Logical Sequence or any Network Traffic or any Physical Connection Problem?
Please help me to Solve this problem.
|
|
|
|
Actions