Encoding Details

GENESIS64 uses ASCII encoding as the default setting for reading and writing STRING data. This causes garbled characters when you enter unsupported characters in ASCII encoding, such as Japanese Kanji. You can avoid garbled characters by selecting the appropriate encoding from the Encoding drop-down list under Other Settings in a MELSEC device configuration.

Encoding drop-down list

Supported Encoding

Display Name

Encoding

Language

Not Specified ASCII English

Unicode (UTF-16)

Unicode (UTF-16)

Multilingual

Shift_JIS

Shift_JIS

Japanese

GB18030

GB18030

Chinese (simplified)

Big5 Big5 Chinese (traditional)
KS X 1001 KS X 1001 Korean

The encoding setting applies to all STRING data type tags under a device.

The String Length setting is based on ASCII (1-byte characters). Therefore, using an Encoding setting other than Not Specified reduces the number of usable characters by half or even more. Make sure to set the string length large enough to store all characters.

See Also:

Add MELSEC