FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
12-21-2023 07:26 AM
Solved! Go to Solution.
12-21-2023 08:48 AM
Hi Karim,
Which versions are you using on your system?
I use the following snippet to extract my recieved message with a ctrlX CORE @ version 1.20:
(* Receive some data *)
fbRecv(Execute:=TRUE, Socket:=udiSocket, ValueAdr:=ADR(strRecv), NoOfBytes:=SIZEOF(strRecv)-1);
IF fbRecv.Done=TRUE THEN
(* Received some data *)
strRecv := LEFT(strRecv, UDINT_TO_INT(fbRecv.NoOfRecBytes)); (* end of string marker *)
fbRecv(Execute:=FALSE);
END_IF
12-22-2023 08:41 AM
Good morning
I am attaching a small manual of the communications in case it helps you.
Best Regards
Jordi Laboria
E-Mail: jordi.laboria@boschrexroth.es
https://www.youtube.com/channel/UCzE-ieCIkyMsuvyE0UDji9g
DCET/SLF4-ES
01-25-2024 01:37 PM
Hello Jordi,
this helped me a lot, thank you!
Best,
Karim
01-25-2024 01:38 PM
Hello,
this was a very valuable hint for me, thanks a lot!