Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Products
  • Automation Systems
  • Machine Automation Controllers

How to Create Character Literals in Sysmac

Written by Arlo D'Cruz

Updated at February 2nd, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Products
    Automation Systems Control Components Motion & Drives Quality control & Inspection Robotics Safety Sensing Services Software Switching Components
  • Amplify e-Store
    e-Store public
  • Public CSC
+ More

Character Literals in Sysmac

It is common when manipulating strings in Sysmac that you would need to add characters that cannot be entered in the traditional way. For example the ' character cannot be normally entered as adding a ' will end the string. Similarly, a newline character cannot be included in a string. To resolve this, it is possible to use character literals in their place. The below table shows a list of character literals and their equivalent ASCII characters. 

Character Literal
ASCII Character
$L
Line feed
$N
New line
$P
Form feed
$R
Carriage return
$T
Tab
$' or $"
Quotes
$<Any 2 hexadecimal digits>
Character of given ASCII value
new line enter quote apostrophe literal carriage return quotes ascii na

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Do I need Power Supply units for my NX CPU?
  • Error codes in Sysmac Studio
  • Major or Minor Revision mismatch for EtherNet/IP Error 0116
  • Ethernet/IP Setup Guide Using Network Configurator
  • EtherCAT Ring Topology FAQ

Definition by Author

0
0
Expand