-

CIL Generator Error (CILG1003): Invalid string constant ... for data type STRING

An IEC string used in your project contains at least one character which cannot be represented by a single-byte value (for example, a character of an Asian language).

Remedy: Use a WSTRING data type instead of a STRING.