String to ASCII

Use this function to convert a string to an ASCII value.

 

  1. Select String to ASCII from the String menu on the Ladder toolbar, and place the function in the net.

  2. Enter the string in the string field

  3. Select the register that will contain the ASCII results. You can also use an offset.

When the function below runs, the values can be seen in the Memory window during Test Mode..