Chapter 22 String manipulation instructions
596 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
For a given ASCII code, CHAR provides a string containing one character.
Arguments
Parameter Parameter Type Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, provide a single character string.
When EN = FALSE, no operation.
Code Input DINT Code in set [0 .. 255].
CHAR Output STRING One character string.
The character has the ASCII code given in input code.
ENO Output BOOL Enable out.
CHAR function language examples
Function block diagram
Ladder diagram