hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 620

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
• When the devices
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
618
and later storing a character string exceeds the corresponding device range (error code:
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
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
b15
b8 b7
31H(1)
20H(space)
36H(6)
32H(2)
32H(2)
37H(7)
0000H
b0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents