#i := #i + 1;
//**********************************************************
//3: Real of unknown size
************************************************************
WHILE (BYTE_TO_CHAR(#arrData[#i]) <> ';' & #i <>
(#iReceivedLength-1)) DO
#s_temp := CONCAT(IN1 := #s_temp, IN2 :=
CHAR_TO_STRING(BYTE_TO_CHAR(#arrData[#i])));
#i := #i + 1;
END_WHILE;
#Data."Distance7.Distance" := STRING_TO_REAL(#s_temp);
#s_temp := '';
#i := #i + 1;
//**********************************************************
//4: String of unknown size
*************************************************************
WHILE (BYTE_TO_CHAR(#arrData[#i]) <> ';' & #i <>
(#iReceivedLength-1)) DO
#s_temp := CONCAT(IN1 := #s_temp, IN2 :=
CHAR_TO_STRING(BYTE_TO_CHAR(#arrData[#i])));
#i := #i + 1;
END_WHILE;
#Data."Blob3.OVDecision" := #s_temp;
#s_temp := '';
#i := #i + 1;
//**********************************************************
//5: String of unknown size
*************************************************************
WHILE (BYTE_TO_CHAR(#arrData[#i]) <> ';' & #i <>
(#iReceivedLength-1)) DO
#s_temp := CONCAT(IN1 := #s_temp, IN2 :=
CHAR_TO_STRING(BYTE_TO_CHAR(#arrData[#i])));
#i := #i + 1;
END_WHILE;
#Data."Fix Plane1.Decision" := #s_temp;
#s_temp := '';
#i := #i + 1;
//**********************************************************
Now compile and have a look at the inspection result.
12
APPENDIX
98
O P E R A T I N G I N S T R U C T I O N S | TriSpector1000
8021808/12ID/2019-01 | SICK
Subject to change without notice