Problem receiving discrete data using 2152 from WinCC OA server

WinCC OA passes a bool using function 1 (force multiple coils). I configured the TCP client, added FC 1, configured everything, and it still doesn’t work. Error wDiagCode = 16#8000. What did I do wrong?

Hello,
the wDiagCode=16#8000 gets the status that the Function block is in regular operation (please find the documentation in PLCnext Store | Modbus_TCP).

I assume there is a parameterization error, please try to check the parameters with an additional tool or use the library examples or contact the Phoenix Contact Support team in your country (please activate the debug mode to provide more FB status information).

If you have questions about the examples or function blocks in PLCnext Store libraries you can also contact the developers of the library directly from the PLCnext Store .

BR Eduard