Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-212
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
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