Mitsubishi Electric MELSEC FX3U Programming Manual page 720

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
b) "20H (space)" is stored for "0" on the left side of the effective digits (zero suppression).
0 0 3 2 5
c)
+3 is set as follows depending on the ON/OFF status of M8091.
D
ON/OFF status
M8091=OFF
M8091=ON
2. 32-bit operation (DBINDA and DBINDAP)
1) Each digit of 32-bit binary data stored in [
and stored in
Command
input
DBINDAP
S +1
High-order 16 bits
32-bit binary data
For example, when [
later as follows:
S +1
-12345678
2) The numeric range of 32-bit binary data stored in [
+2,147,483,647.
3) The conversion result stored in
a) "sign data" (low-order byte of
[
+1,
S
negative.
b) "20H (space)" is stored for "0" on the left side of the effective digits (zero suppression).
0 0 1 2 0 3 4 5 6 0
c) The high-order byte of
ON/OFF status
M8091=OFF
M8091=ON
718
Effective digits
20H
D
+3 is set to "0000H (NULL)".
D
+3 does not change.
and later.
D
FNC261
S
D
S
Low-order 16 bits
+1,
S
S
+0
D
+1
S
+2
+3
+4
+5
D
] is positive, and "2DH (-)" is set when 32-bit binary data stored in [
S
Effective digits
20H
+5 is set as follows depending on the ON/OFF status of M8091.
D
The high-order byte of
The high-order byte of
29 Data Table Operation – FNC250 to FNC269
29.6 FNC261 – BINDA / BIN to Decimal ASCII Conversion
Contents of processing
+1,
] is converted into an ASCII code (30H to 39H),
S
S
b15
+0
D
ASCII code for 1,000,000,000's digit
+1
ASCII code for 10,000,000's digit
+2
ASCII code for 100,000's digit
+3
ASCII code for 1000's digit
+4
ASCII code for 10's digit
+5
00H or 20H
] stores "-12,345,678", the conversion result is stored in
b15
b8 b7
20H (space)
2DH(-)
31H(1)
20H (space)
33H(3)
32H(2)
35H(5)
34H(4)
37H(7)
36H(6)
00H or 20H
38H(8)
M8091=OFF:00H
M8091=ON:20H
S
is as follows:
) "20H (space)" is set when the 32-bit binary data stored in
D
Contents of processing
+5 is set to "00H (NULL)."
D
+5 is set to "20H (space)."
D
b8 b7
Sign data
ASCII code for 100,000,000's digit
ASCII code for 1,000,000's digit
ASCII code for 10000's digit
ASCII code for 100's digit
ASCII code for 1's digit
M8091=OFF:00H
M8091=ON:20H
b0
+1,
] is from -2,147,483,648 to
S
S
b0
and
D
+1,
] is
S

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents