14.12 SSET (Conversion: Character Constant → ASCII Code)
■
Ladder diagram
■
List of operands
Operand Description
S Source string
D Destination starting device address
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S ●
D ● ● ● ● ● ● ● ●
■
Outline of operation
● This instruction converts the character constant specified by [S] to an ASCII code. The result
is stored in the area starting with [D].
● Character constants should be put between "" (double quotations) for specification.
● From 0 to 256 characters can be specified for a character constant.
● The number of characters is stored in 1 word at the beginning of the storage area specified
by [D]. In the subsequent areas, the character data converted to ASCII is stored in order
starting from the low byte.
● When setting, NULL (00) is not added to the end of characters.
14.12 SSET (Conversion: Character Constant → ASCII Code)
14-60 WUME-FP7CPUPGR-12