TwinCAT Problem

Zuviel Werbung?
-> Hier kostenlos registrieren
Looking at the received data I find lots of '$R$N' control sequences. If I remember right, this is "carriage return/line feed" which is normally used to separate strings from each other when writing them to a file or printer.
I suggest to change the prefix and suffix settings in your receive FB:
Prefix:='';
Suffix:='$R$N';
Then you should get the single lines sent by the device, making it easier to understand what the device wants to tell you in general, and it should be easy to identify and separate the line which contains time and temperature value.
 
I found out the solution. But what do you say is clearly right but in this device it will hang. I tried this out before.

And worst part, was struggling to stop device via PLC.

But now, i can read it. I am fetching the data and then, which data i need i filtering out.

It was quite tricky and logical.

Thanks for your amazing support people.
 
Zurück
Oben