Mitsubishi MELSEC-Q/L Programming Manual page 67

Table of Contents

Advertisement

Category
STR
BIN
STRP
Decimal
character
DSTR
string
DSTRP
VAL
Decimal
VALP
character
string
DVAL
BIN
DVALP
Floating
ESTR
decimal point
Character
ESTRP
string
Character
EVAL
string
Floating
EVALP
decimal point
Hexadecimal
ASC
BIN
ASCP
ASCII
ASCII
HEX
Hexadecimal
HEXP
BIN
Symbol
• Converts a 1-word BIN value designated by
(S2) to a decimal character string with the
STR
S1 S2 D
total number of digits and the number of
decimal fraction digits designated by (S1)
and stores them at a device designated by
STRP
S1 S2 D
(D).
• Converts a 2-word BIN value designated by
(S2) to a decimal character string with the
DSTR
S1 S2 D
total number of digits and the number of
decimal fraction digits designated by (S1)
and stores them at a device designated by
DSTRP
S1 S2 D
(D).
• Converts a character string including decimal
VAL
S
D1 D2
point designated by (S) to a
1-word BIN value and the number of
decimal fraction digits, and stores them into
VALP
S
D1 D2
devices designated by (D1) and (D2).
• Converts a character string including decimal
DVAL
S
D1 D2
point designated by (S) to a
2-word BIN value and the number of
decimal fraction digits, and stores them into
DVALP
S
D1 D2
devices designated by (D1) and (D2).
ESTR
S1 S2 D
• Converts the 32-bit floating decimal point
data designated by (S) to a character string,
and stores it in devices designated by (D).
ESTRP
S1 S2 D
EVAL
S D
• Converts the character string designated by
(S) to a 32-bit floating decimal point data,
and stores it in devices designated by (D).
EVALP
S D
• Converts the 1-word BIN value at the device
ASC
S D
n
numbers designated by (S) to
hexadecimal ASCII, and stores n
characters of them at the device numbers
ASCP
S D
n
designated by (D) and after.
• Converts n hexadecimal ASCII characters of
HEX
S D
n
the device numbers designated by (S) and
after to BIN values, and stores them at the
HEXP
S D
n
device numbers designated by (D).
Processing Details
Execution
Condition
4
-
Page
465
4
-
4
-
Page
469
4
-
Page
4
-
472
Page
3
-
477
Page
4
-
481
Page
4
-
483
65
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents