char

PLCopen motion icon

 Function - Builds a single character string.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

CODE

DINT

 

 

 

ASCII code of the specified character.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Q

STRING

 

 

STRING containing only the specified character.

FBD Language Example

FFLD Language Example

  • In the FFLD Language, the input rung (EN) enables the operation.
    • The output rung (ENO) keeps the same value as the input rung.

IL Language Example

Not available.

ST Language Example

Q := CHAR (CODE);

See Also

ascii