Hi guys.
Looking for some advice. I have a device in profinet that will be giving me 124bytes of information (I believe they will be chars). I am looking for the best way to convert these to a string in a 1500.
In the 300's I would just use an anypointer and BLK_Move command.
In the 1500's what would be the best way to do this? Should I use SCL and use the PEEK command to view each byte, convert it to a string then concat each byte as I go?
I was hoping I could use the array to string command and just specify the first input byte and a count but since the input byte is not an actual array it gives me an error that the count is invalid.
Thanks for any help
Looking for some advice. I have a device in profinet that will be giving me 124bytes of information (I believe they will be chars). I am looking for the best way to convert these to a string in a 1500.
In the 300's I would just use an anypointer and BLK_Move command.
In the 1500's what would be the best way to do this? Should I use SCL and use the PEEK command to view each byte, convert it to a string then concat each byte as I go?
I was hoping I could use the array to string command and just specify the first input byte and a count but since the input byte is not an actual array it gives me an error that the count is invalid.
Thanks for any help