Mitsubishi FX3U Series Programming Manual page 604

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
• When the relationship between the number of all digits stored in
decimal part stored in
Number of all digits -3 ≥ Number of digits of decimal part
• When the number of all digits stored in
smaller than the number of digits of the binary data stored in [
• When the devices
(error code: K6706)
Program example
In the program below, the 16-bit binary data stored in D10 is converted into a character string in accordance
with the digit specification by D0 and D1 when X000 is set to ON, and then stored in D20 to D23.
X000
16-bit binary data
Number of all digits
Number of digits of
decimal part
602
+1 does not satisfy the following (error code: K6706)
S
1
S
1
and later storing a character string exceeds the corresponding device range
D
FNC 12
K12672
MOVP
FNC 12
MOVP
FNC 12
MOVP
FNC200
D0
STRP
" 12672"
D10
12672
D0
6
D1
0
26 Character String Control – FNC200 to FNC209
26.1 FNC200 – STR / BIN to Character String Conversion
S
1
including the digit for sign and the digit for decimal point is
+1,
S
2
D10
Data to be converted is set.
K6
D0
The number of all digits is set.
The number of digits of the decimal
K0
D1
part is set.
D10
D20
END
D20
D21
D22
D23
and the number of digits of the
] (error code: K6706)
S
2
b15
b8 b7
31H(1)
20H(space)
36H(6)
34H(2)
32H(2)
37H(7)
00H
b0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents