EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 720

Mitsubishi Electric MELSEC FX Series
838 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...
7 Applied Instructions
7.23 Data Table Operation
718
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Function and operation explanation
1. 16-bit operation (DABIN/DABINP)
1) Data expressed in decimal ASCII codes (30H to 39H) and stored in the device specified by is
converted into 16-bit binary data, and stored in the device specified by .
For example, when the device specified by stores ASCII codes expressing "-25108", 16-bit binary
data is stored in the device specified by as follows:
2) The numeric range of data stored in the device specified by is from "-32768" to "32767".
3) As "sign data", "20H (space)" is set when the data to be converted is positive, and "2DH (-)" is set when
the data to be converted is negative.
4) An ASCII code for each digit is within the range from 30H to 39H.
5) When an ASCII code for each digit is "20H (space)" or "00H (NULL)", it is handled as "30H".
DABIN
EN ENO
d
s
Label 1
*1
Command
input
Device storing conversion result
*1. This defines the head device that stores data (ASCII codes) to be converted into binary data.
+0
+2
b8 b7 b0
+1
b0b15
16-bit binary data(BIN)
ASCII code for 1's digit ASCII code for 10's digit
ASCII code for 10000's digit
ASCII code for 100's digit
Sign data
ASCII code for 1000's digit
b15
d
s
+0
b15
+2
b8 b7 b0
+1
-25108
b0b15
38H(8) 30H(0)
32H(2)
31H(1)
2DH(-)
35H(5)
s
d

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals