Converting shift JIS character string to Unicode (with byte order
mark)
SJIS2WSB(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert a shift JIS character string to a Unicode character string, and adds a byte order mark to the start of
the converted data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
SJIS2WSB
SJIS2WSBP
Setting data
■Description, range, data type
Operand
Description
(s)
Start device containing the character string to be converted
(d)
Start device for storing the converted character string
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=SJIS2WSB(EN,s,d);
ENO:=SJIS2WSBP(EN,s,d);
Range
Data type
String
Unicode string
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
Data type (label)
ANYSTRING_SINGLE
ANYSTRING_DOUBLE
BOOL
BOOL
Constant
Others
specification
K, H E
$
7
685