Closed Berendej closed 1 year ago
Hi. Thanks a lot for reporting this.
Yes indeed, this looks like a problem. Fcb handling is not 100% correct in all cases.
Do you want to create a pull request with the proposed change and test it on your device? I will then check if pyprofibus still works correctly on my devices.
Because of that master sends Set Prm to reloaded/reset slave with wrong fcv/fcb (fcv=1, fcb=x). Slave expects (fcv=0 fcb=1). Proposal : add
In order this to work, attribute DpSlaveState.fcb should be initialized before initial call to setState() in init()