FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We will start the migration process in one hour.
The community will be then in READ ONLY mode.
Read more: Important
information on the platform change.
08-24-2023 03:58 AM
Hi Community,
I am new to using CXA_SocketComm TCP.
I manage to established connection from ctrlX to a TCP device. However i did not receive feedback from the device after sending a string. (see attached)
Looking for advice.
Warmest regards,
Solved! Go to Solution.
08-25-2023 07:36 AM
How to test if my TCP client is working?
Are there tools to host TCP server on my engineering PC and try sending a string from my ctrlX to my TCP server hosted on my engineering PC?
Warmest regards,
08-25-2023 09:25 AM
I created some examples for communication via TCP between ctrlX CORE and ctrlX COREvirtual. See "Communicate between a ctrlX COREvirtual and other applications [DOCU]". There I am using Node-RED but PLC works in a similar way.
Which function blocks exactly are you using in your example? Normally you have a TCP server on one side permanently running and a client connected to it waiting for getting data.
08-29-2023 03:49 AM
Hi CodeShepherd,
I am using IL_TCPConnectionAsync function block library.
Thank you for your tip we tried setting up TCP communication in Node-red, connection is established however when we attempt to send a string it did not send to the device and no feedback from the device.
We solved it by using Telnet communication in Node-red. It is unsure why it is behaving this way.
08-29-2023 07:44 AM
Good morning, not if this is what you are commenting on. I pass you a document on communications in general and another on communication between XM and ctrlX Core in NodeRed using the IL_TCPCyclic module
Best Regards
Jordi Laboria
https://www.youtube.com/channel/UCzE-ieCIkyMsuvyE0UDji9g
E-Mail: jordi.laboria@boschrexroth.es
DCET/SLF4-ES