Good Morning all,
I am reading a serial string in Beckhoff twincat from an RS232 motion sensor.
My problem is that the motion sensors communications protocol is fully binary so I am receiving this as the serial string:-
'úÿ2$12>wœÄ»$P=œ;Æ’ì¿xeÀ,Ÿbúÿ2$12>w‡µ»$Pž+;Å£•¿xg$12, ˆúÿ2$12>wp\»$0Fî;Ç$14í¿xh€,¡$12úÿ2$12>w}˜»$12j'
Does anyone know how a function in Twincat to convert this to ASCII or have seen some code to do this?
Thanks
Matt
I am reading a serial string in Beckhoff twincat from an RS232 motion sensor.
My problem is that the motion sensors communications protocol is fully binary so I am receiving this as the serial string:-
'úÿ2$12>wœÄ»$P=œ;Æ’ì¿xeÀ,Ÿbúÿ2$12>w‡µ»$Pž+;Å£•¿xg$12, ˆúÿ2$12>wp\»$0Fî;Ç$14í¿xh€,¡$12úÿ2$12>w}˜»$12j'
Does anyone know how a function in Twincat to convert this to ASCII or have seen some code to do this?
Thanks
Matt