Mitsubishi Electric Melsec Q Series Programming Manual page 326

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS
[Program examples]
(1) Program which batch-transfers a contents for 5 words from D0 to all data for 5
words from #10
BMOV #10,D0,K5
#10
12
#11
34
#12
56
#13
78
#14
90
(2) Program which batch-transfers a contents for 2048 words from #0 to the data area
of cam No.2 (resolution 2048)
BMOV N2,#0,K2048
Cam data of cam No.2
0th stroke ratio
First stroke ratio
Second stroke ratio
:
2047th stroke ratio
POINT
Cam stroke ratio is set within 0 to 7FFFH.
(3) Program which batch-transfers a contents for 4 words from X0 to all data for 4
words from #20
BMOV #20, X0, K4
b15
#20
0 0 1 0 0 1 1 1 0 0 0 0 1 1 1 1
b15
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
#21
b15
0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1
#22
b15
1 1 0 0 0 1 1 1 0 0 0 0 0 0 0 0
#23
Batch transfer
H0000
Batch transfer
H0005
H000A
:
H0000
b0
b0
Batch transfer
b0
b0
5 - 103
D0
12
D1
34
D2
56
D3
78
D4
90
#0
H0000
#1
H0005
#2
H000A
:
#2047
H0000
XF
0 0 1 0 0 1 1 1 0 0 0 0 1 1 1 1
X1F
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
X2F
0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1
X3F
1 1 0 0 0 1 1 1 0 0 0 0 0 0 0 0
:
X0
X10
X20
X30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents