Send a quotation mark via socket communication - 45059

How to send a quotation mark via socket communication

Examples are valid for:
CB3 Software version: 3.7.0
e-Series Software version: 5.1.0

These examples can be used for both e-Series and for CB3.

In many other programming languages, a prefix \ is used to send a quotation mark for socket communication. However, it does not work in URScript.

If you need to send the quotation mark, you may have to send ASCII code by using socket_send_byte(). An example is shown as below.



By using the ASCII code, we are able to send many other characters as well as the quotation mark. Please find the full ASCII table from the link below.




Want to get notified about updates?

You are welcome to sign up for notifications about new relevant information and articles that could be interesting for you.

Need help?

Did you find what you needed on this site? For additional information please contact one of our distributors.