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.
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.
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.
The AI Assistant is now available for staff.
Come and try it out!
AI Bot
Mech-Mind AI Assistant beta
Hi, I am your AI assistant
I am here to assist with your technical questions about Mech-Mind.