Mitsubishi MELSEC Q Series Programming Manual page 72

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Category
DABCD
Decimal
DABCDP
ASCII
DDABCD
BCD
DDABCDP
Device
COMRD
comment
read
COMRDP
operation
Character
LEN
string length
detection
LENP
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
2-44
Table 2.28 Character String Processing Instructions (Continued)
Symbol
• Converts a 4-digit, decimal ASCII value
DABCD
S D
DABCDP
S D
• Converts a 8-digit decimal ASCII value
DDABCD S D
DDABCDP S D
COMRD
S D
• Stores comment from device designated
COMRDP S D
• Stores data length (number of
LEN
S D
LENP
S D
• Converts a 1-word BIN value designated
STR
S1 S2 D
STRP
S1 S2 D
• Converts a 2-word BIN value designated
DSTR
S1 S2 D
DSTRP
S1 S2 D
• Converts a character string including
VAL
S
D1 D2
VALP
S
D1 D2
• Converts a character string including
DVAL
S
D1 D2
DVALP
S
D1 D2
ESTR
S1 S2 D
• Converts the 32-bit floating decimal point
ESTRP
S1 S2 D
EVAL
S D
• Converts the character string designated
EVALP
S D
Processing Details
designated by (S) to a 1-word BCD
value, and stores it at a word device
number designated by (D).
designated by (S) to a 2-word BCD
value, and stores it at the word device
number designated by (D).
by (S) at a device designated by (D).
characters) in character string
designated by (S) at a device designated
by (D).
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).
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).
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).
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).
data designated by (S) to a character
string, and stores it in devices
designated by (D).
by (S) to a 32-bit floating decimal point
data, and stores it in devices designated
by (D).
Execution
Condition
3
-
7-197
3
-
3
-
7-200
3
-
7-203
4
-
7-205
4
-
4
-
7-211
4
-
4
-
7-216
3
-
7-223

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents