Mitsubishi Electric FX3G SERIES Programming Manual page 682

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
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)
D
+3 is set as follows depending on the ON/OFF status of M8091.
ON/OFF status
M8091=OFF
M8091=ON
2. 32-bit operation (DBINDA and DBINDAP)
1)
Each digit of 32-bit binary data stored in [
stored in
Command
input
DBINDAP
S +1
High-order 16 bits
32-bit binary data
For example, when [
follows:
S +1
-12345678
2)
The numeric range of 32-bit binary data stored in [
3)
The conversion result stored in
a) "sign data" (low-order byte of
S
] is positive, and "2DH (-)" is set when 32-bit binary data stored in [
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
680
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
S
+1,
S
] stores "-12,345,678", the conversion result is stored in
+0
D
+1
S
+2
+3
+4
+5
D
D
Effective digits
20H
D
+5 is set as follows depending on the ON/OFF status of M8091.
The high-order byte of
The high-order byte of
29.6 FNC261 – BINDA / BIN to Decimal ASCII Conversion
Contents of processing
S
+1,
S
] is converted into an ASCII code (30H to 39H), and
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
b15
b8 b7
20H (space)
31H(1)
20H (space)
33H(3)
35H(5)
37H(7)
00H or 20H
M8091=OFF:00H
M8091=ON:20H
+1,
S
S
is as follows:
) "20H (space)" is set when the 32-bit binary data stored in [
Contents of processing
D
+5 is set to "00H (NULL)."
D
+5 is set to "20H (space)."
29 Data Table Operation – FNC250 to FNC269
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
2DH(-)
32H(2)
34H(4)
36H(6)
38H(8)
] is from -2,147,483,648 to +2,147,483,647.
S
+1,
S
b0
D
and later as
S
+1,
] is negative.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents