Get data from Mech-Vision with TRCV in Tia Portal

Hi there.

I’m trying to write a program in Tia Portal to communicate with the IPC that run Mech-Vision.
I was able to establish the connection and send the 901 command with the TCON (ID connection 1, IP 192.168.10.3, Connection Port 4000 (the same as the standard interface that I use with my Kuka)) and the TSEND ( I send the 901 command in hex little-endian). But with the TRCV I am not able to get the response from Mech-Vision (the code 1101). I can see that the TRCV function indicate 64 bytes of data received, but it’s not written in the DB that I set in the DATA parameter in the TRCV block function.
I don’t know how to get this data and I’m wondering if anyone has already tried to do what I’m trying to do and encountered the same problem.

Thank you all for the attention.

If you could share the mech-center log file, that helps to point where the issue is. Check the log file see if it printed the same messages as below.
It proves PLC sent 901 hex data and the vision system returned message back.

And what’s more, we do have the Siemens Snap7 protocol to communicate with Siemens PLC DB block. The sample files are ready to use.
https://docs.mech-mind.net/en/robot-integration/latest/standard-interface-plc/siemens-plc-client-tia-portal-setup-instructions.html

It looks like mech vision respond with the right code, but I don’t know how to catch it with the PLC with TRCV block.

I know there are ready to use block to communicate with TIA Portal but I have to configure the Standard interface to communicate with Tia. I cannot do that beacuse I want mech-vision to communicate with Kuka robot.