I'm pretty sure that you need change this mode parameter to 4 as I allready mentioned last week. It needs to match.
https://support.industry.siemens.com/forum/fi/en/posts/problem-with-cb1241-and-mb-comload/259612
"2. correct set of MODE (set of 2 wire mode) also in code, not only in HW Cm cfg. It needs to ne set prior execution of comm_load, not soon!"
https://support.industry.siemens.com/forum/fi/en/posts/problem-with-cb1241-and-mb-comload/259612
"2. correct set of MODE (set of 2 wire mode) also in code, not only in HW Cm cfg. It needs to ne set prior execution of comm_load, not soon!"