Mitsubishi Electric Q173CPU Programming Manual page 304

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

7 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
7 - 79
D0
12
D1
34
D2
56
D3
78
D4
90
#0
#1
#2
:
#2047
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
H0000
H0005
H000A
:
H0000
X0
X10
X20
X30

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents