Mitsubishi Electric MELSEC-Q/L Programming Manual page 65

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Category
Instruction
Symbol
symbol
Decimal
DABCD
DABCD
ASCII 
BCD
DABCDP
DABCDP
DDABCD
DDABCD S D
DDABCDP
DDABCDP S D
Device
COMRD
COMRD
comment
read
COMRDP
operation
COMRDP S D
Character
LEN
LEN
string length
detection
LENP
LENP
BIN 
STR
STR
Decimal
character
STRP
string
STRP
DSTR
DSTR
DSTRP
DSTRP
Decimal
VAL
VAL
character
string  BIN
VALP
VALP
DVAL
DVAL
DVALP
DVALP
Floating
ESTR
ESTR
decimal
point 
ESTRP
Character
ESTRP
string
Character
EVAL
EVAL
string 
Floating
EVALP
decimal
EVALP
point
Processing details
• Converts a 4-digit, decimal
S D
ASCII value designated by (S) to
a 1-word BCD value, and stores
it at a word device number
S D
designated by (D).
• 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).
• Stores comment from device
S D
designated by (S) at a device
designated by (D).
• Stores data length (number of
S D
characters) in character string
designated by (S) at a device
designated by (D).
S D
• Converts a 1-word BIN value
S1 S2 D
designated by (S2) to a decimal
character string with the total
number of digits and the number
S1 S2 D
of decimal fraction digits
designated by (S1) and stores
them at a device designated by
(D).
• Converts a 2-word BIN value
S1 S2 D
designated by (S2) to a decimal
character string with the total
number of digits and the number
S1 S2 D
of decimal fraction digits
designated by (S1) and stores
them at a device designated by
(D).
• Converts a character string
S
D1 D2
including decimal point
designated by (S) to a 1-word
BIN value and the number of
S
D1 D2
decimal fraction digits, and
stores them into devices
designated by (D1) and (D2).
• Converts a character string
S
D1 D2
including decimal point
designated by (S) to a 2-word
BIN value and the number of
S
D1 D2
decimal fraction digits, and
stores them into devices
designated by (D1) and (D2).
• Converts the 32-bit floating
S1 S2 D
decimal point data designated
by (S) to a character string, and
stores it in devices designated
S1 S2 D
by (D).
• Converts the character string
S D
designated by (S) to a 32-bit
floating decimal point data, and
stores it in devices designated
S D
by (D).
Execution
Number
Subset Reference
condition
of basic
steps
3
3
3
3
4
4
4
4
4
3
2 INSTRUCTION TABLES
2.5 Application Instructions
Page 543
2
Page 546
Page 549
Page 551
Page 556
Page 561
Page 568
63

Advertisement

Table of Contents
loading

Table of Contents