I know it is done all the time, but I can't seem to find the resources for it.
My laptop is communicating with my PLC, I can send single integers or Bytes back and forth, but I need to send more at once. How do I write a long string of commands, and then be able to isolate each section based on their position in the string?
In case my terminology is incorrect, I would like to send something like: 1080 1120 0100 and know that the red letters are the direction for my stepper motors, and the black numbers are the steps that they need to go.
Thanks in advance
My laptop is communicating with my PLC, I can send single integers or Bytes back and forth, but I need to send more at once. How do I write a long string of commands, and then be able to isolate each section based on their position in the string?
In case my terminology is incorrect, I would like to send something like: 1080 1120 0100 and know that the red letters are the direction for my stepper motors, and the black numbers are the steps that they need to go.
Thanks in advance
1