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