EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 65

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 INSTRUCTION TABLES
2.5 Application Instructions
63
2
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 Page 543
DABCDP
DDABCD Converts a 8-digit, decimal
ASCII value designated by (S) to
a 2-word BCD value, and stores
it at a 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 Page 546
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 Page 549
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 Page 551
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 Page 556
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 Page 561
ESTRP
Character
st
r
ing
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 Page 568
EVALP
Category Instruction
symbol
Symbol Processing details Execution
condition
Number
of basic
steps
Subset Reference
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 S1 S2 D
DSTRP S1 S2 D
VAL D1 D2S
VALP D1 D2S
DVAL D1 D2S
DVALP D1 D2S
ESTR S1 S2 D
ESTRP S1 S2 D
EVAL SD
EVALP SD

Table of Contents

Related product manuals