CHAR
Function - Builds a single character string.
Inputs
Input |
Data type |
Description |
CODE |
DINT |
ASCII code of the wished character. |
Outputs
Output |
Data type |
Description |
Q |
STRING |
STRING containing only the specified character. |
Remarks
In LD language, the input rung (EN) enables the operation, and the output rung keeps the same value as the input rung.
ST Language
Q := CHAR (CODE);
FBD Language
LD Language
The function is executed only if EN is TRUE.
ENO is equal to EN.
|
CHAR |
IEC 61131-3 Automation platform > Programming - Reference guide > String operations > CHAR |
Created with the Personal Edition of HelpNDoc: Step-by-Step Guide: How to Turn Your Word Document into an eBook