
2-44
Table 2.28 Character String Processing Instructions (Continued)
Category
Instruction Symbol
Symbol Processing Details Execution 
Condition
Number of Basic Steps
Subset
See for Description
Decimal
ASCII
BCD
DABCD •Converts a 4-digit, decimal ASCII value 
designated by (S) to a 1-word BCD 
value, and stores it at a word device 
number designated by (D).
3-
7-198
DABCDP
DDABCD
•Converts a 8-digit decimal ASCII value 
designated by (S) to a 2-word BCD 
value, and stores it at the word device 
number designated by (D).
3-
DDABCDP
Device 
comment 
read 
operation
COMRD •Stores comment from device designated 
by (S) at a device designated by (D). 3-7-201
COMRDP
Character 
string length 
detection
LEN •Stores data length (number of 
characters) in character string 
designated by (S) at a device designated 
by (D).
3-7-204
LENP
BIN
Decimal
character 
string
STR •Converts a 1-word BIN value designated 
by (S2) to a decimal character string with 
the total number of digits and the 
number of decimal fraction digits 
designated by (S1) and stores them at a 
device designated by (D).
4-
7-206
STRP
DSTR •Converts a 2-word BIN value designated 
by (S2) to a decimal character string with 
the total number of digits and the 
number of decimal fraction digits 
designated by (S1) and stores them at a 
device designated by (D).
4-
DSTRP
Decimal
character 
string
BIN
VAL •
Converts a character string including 
decimal point designated by (S) to a 
1-word BIN value and the number of 
decimal fraction digits, and stores them 
into devices designated by (D1) and (D2).
4-
7-212
VALP
DVAL •
Converts a character string including 
decimal point designated by (S) to a 
2-word BIN value and the number of 
decimal fraction digits, and stores them 
into devices designated by (D1) and (D2).
4-
DVALP
Floating
decimal point
Character 
string
ESTR •Converts the 32-bit floating decimal point 
data designated by (S) to a character 
string, and stores it in devices 
designated by (D).
4-7-217
ESTRP
Character 
string
Floating
decimal point
EVAL •Converts the character string designated 
by (S) to a 32-bit floating decimal point 
data, and stores it in devices designated 
by (D).
3-7-224
EVALP
DABCD SD
DABCDP SD
DDABCD SD
DDABCDP SD
COMRD SD
COMRDP SD
LEN SD
LENP SD
STR S1 S2 D
STRP S1 S2 D
DSTR S1S2 D
DSTRP S1 S2 D
VAL D1D2S
VALP D1D2S
DVAL D1D2S
DVALP D1 D2S
ESTR S1S2 D
ESTRP S1 S2 D
EVAL SD
EVALP SD