EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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
Page #585 background imageLoading...
Page #585 background image
7-211
VAL(P),DVAL(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.10 Conversion from character string to BIN 16-bit or 32-bit data (VAL(P),DVAL(P))
7.11.10 Conversion from character string to BIN 16-bit or 32-bit
data (VAL(P),DVAL(P))
VAL (P), DVAL (P)
Function
VAL
(1) Converts character strings stored in the device numbers starting from that designated at
to BIN 16-bit data, and stores the number of digits and BIN data in and .
For conversions from character strings to BIN, all data from the device number designated
by to the device number where "00
H" is stored will be processed as character strings.
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger
(Correspording GX Seveloper :Version 8.00 A or later).
: Character string to be converted to BIN data or head number of the devices where the character string is
stored (character string)
: Head number of the devices where the number of digits of the converted BIN data will be stored (BIN 16 bits)
: Head number of the devices where the converted BIN data will be stored (BIN 16/32 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
–– –– ––
–– ––
Process
High
performance
Redundant
Universal
Ver.
Basic
LCPU
Command
Command
P
VALP,DVALP
VAL,DVAL
indicates an instruction symbol of VAL/DVAL.
S
D1
D
2
S
D1
D2
S
D1
D2
S
D1
D2
S
D1 D2
S
.
Sign
1st
char-
acter
2nd
char-
acter
7th
char-
acter
Total number
of digits
Number of digits
in decimal fraction
Integer value
ignoring decimal
point
+1
BIN 16 bits
Indicates the end of character string
ASCII code for the sign
ASCII code for the 1st character
ASCII code for the 2nd character
ASCII code for the 3rd character
b15 b8b7 b0
ASCII code for the 4th character
00
H
ASCII code for the 5th character
ASCII code for the 6th character
ASCII code for the 7th character
+4
+3
+2
+1
D1
D2
S
S
S
S
S
D1

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals