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.

Universal Robots A/S needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at anytime. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, check out our Privacy Policy.

Need help?

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