Mitsubishi Electric R16MTCPU Programming Manual page 269

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Program example
■Program which sets 3456H to all data for 100 words from #10
FMOV #10, H3456, K100
#10
H3456
#11
H3456
#12
H3456
:
:
#109
H3456
■Program which sets a content of D4000 to all data for 50 words from W0
FMOV W0, D4000, K50
W0
1234
W1
1234
W2
1234
:
:
W31
1234
■Program which sets 8000H to all data for 4 words from M0
FMOV M0, H8000, K4
M15
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
M31
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
M47
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
M63
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Transfer
Transfer
D4000
M0
M16
b15
Transfer
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
M32
M48
H3456
1234
b0
4 OPERATION CONTROL PROGRAMS
267
4.19 Other Instructions
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents