pyprofibus icon indicating copy to clipboard operation
pyprofibus copied to clipboard

Function code response error handling needs improvement

Open KaneTW opened this issue 2 years ago • 3 comments

Not all function responses can currently be handled. For example, I have a device that outputs FC code 0x2 (RR, resource error) after two weeks of operation. Pyprofibus doesn't notice and just outputs a datagram with empty data.

KaneTW avatar Aug 28 '21 07:08 KaneTW

Thanks for your message.

Are you able to implement such error handling? If so, please feel free to submit a pull request with your suggested implementation.

mbuesch avatar Aug 28 '21 18:08 mbuesch

I'll submit a PR once I have an implementation.

KaneTW avatar Aug 28 '21 18:08 KaneTW

Your help is much appreciated. Thanks.

mbuesch avatar Aug 28 '21 18:08 mbuesch