Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84746members
354176posts

【PM8240】Regarding Keep Alive

Metering & Power Quality

Collaborate with multiple experts and discuss various topics about Power Meters and Power Quality. From design & implementation to troubleshooting and more, get support from experts and share your experiences by subscribing to the Schneider Electric Exchange forum today.

Solved
Miyai
Lieutenant JG
Lieutenant JG
0 Likes
6
1121

【PM8240】Regarding Keep Alive

Hello,

 


I would like some advice.

 

Occasionally, a communication error occurs between the customer's system and the PM8240 in Modbus TCP communication.

In order to find the cause of this communication anomaly, I would like your advice on the following.

 

(1)What are the consequences if "Keep Alive" is not successful?

    For example, After a keep-alive is unsuccessful, does it stop responding to requests from the Master's side?

 

 

(2)If the Modbus TCP timeout is set to "0" and the keep alive is not successful, will the PM8240 disconnect the communication connection?

 

 

Regards,

Miyai

Tags (1)

Accepted Solutions
Charles_Murison
Picard Picard
Picard
0 Likes
3
1099

Re: 【PM8240】Regarding Keep Alive

Hello @Miyai ,

 

The meter will send multiple Keep Alive messages (around 8 I think) before sending the FIN packet.

 

Regards,

Charles

L4 Prime for Advanced metering and Utilities

See Answer In Context

Tags (1)
6 Replies 6
Charles_Murison
Picard Picard
Picard
0 Likes
5
1116

Re: 【PM8240】Regarding Keep Alive

Hello @Miyai ,

 

Questions are not quite as simple as you might like. First the easy question, Modbus TCP timeout is for outbound connections, where the meter is initiating the connection (Modbus Master). This will no affect inbound connections from customer's system to the meter.

 

What are the consequences if "Keep Alive" is not successful?

This in part depends on what is happening on the other side of the meter, network routers, fire walls, system settings etc. Some networks will block/close a connection if there is no activity. There is no single answer I can give to this question.

 

Having a packet capture software like Wireshark can be helpful with troubleshooting. Ideally the switch would be programmed to port mirror/forward all messages to/from the meter to a second port on the switch where a computer could be setup to capture the traffic. Not always practical to have a laptop running for days.

 

The meter also supports Telnet/SSH (depending on firmware), if you connect to the meter via terminal, you could send commands to the meter to return current connection status. This could help determine if meter thinks there is still a connection or not. I believe the command is "EDS" (without quotes).

 

Regards,

Charles

L4 Prime for Advanced metering and Utilities
Tags (1)
Miyai
Lieutenant JG
Lieutenant JG
0 Likes
4
1106

Re: 【PM8240】Regarding Keep Alive


Hello @Charles_Murison 

 

Thank you for advice.

I would like to understand about the basic operation of the PM8240 before I test it on a wire shark.

 


After the PM8240 sends keep alive, If there is no response from the customer system, will the PM8240 disconnect communication?
Does it send out a "Fin" unilaterally?

 

mod.png

Tags (1)
Charles_Murison
Picard Picard
Picard
0 Likes
3
1100

Re: 【PM8240】Regarding Keep Alive

Hello @Miyai ,

 

The meter will send multiple Keep Alive messages (around 8 I think) before sending the FIN packet.

 

Regards,

Charles

L4 Prime for Advanced metering and Utilities
Tags (1)
Miyai
Lieutenant JG
Lieutenant JG
0 Likes
2
1096

Re: 【PM8240】Regarding Keep Alive

Hello @Charles_Murison 

 

Thank you for advice.

I will verify the case with the information from you.

 

 

Best regards,

Miyai

Tags (1)
Charles_Murison
Picard Picard
Picard
0 Likes
1
948

Re: 【PM8240】Regarding Keep Alive

Hello @Miyai ,

 

Did you ever resolve this?

 

Regards,

Charles

 

L4 Prime for Advanced metering and Utilities
Tags (1)
Miyai
Lieutenant JG
Lieutenant JG
0 Likes
0
823

Re: 【PM8240】Regarding Keep Alive

Hello  @Charles

 

Sorry for late reply.

 

I think I've probably solved this problem.

I couldn't solve the problem on the meter side, so I had the system on the master side changed.

 

 

Since then, I have not received any questions from customers.

 

 

Best regards,

Miyai

Tags (1)