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

Fixed_Image

LD Language

The function is executed only if EN is TRUE.
ENO is equal to EN.

Fixed_Image

Fixed_Image See also

ASCII


Created with the Personal Edition of HelpNDoc: Step-by-Step Guide: How to Turn Your Word Document into an eBook