Mitsubishi Electric Melsec Q Series Programming Manual page 386

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 reads 2048-points of data, starting from the first point cam data of
cam No. 2 (stroke ratio data format), and stores the read data to #0 to #4099.
CAMRD K2,K1,K2048, #0
(2) Program which reads 6-points of data, starting from the zeroth point cam data of
cam No.1 (coordinate data format), and stores the read data to #100 to #127.
CAMRD K1,K0,K6, #100
(a) Cam data No.1
Output value: Y
[Output axis position unit]
1000000
0
(X
(Cam reference
position)
-1000000
(b) Read cam data
#100=K2
#102L=K6
#104L=K0
#106L=K0
#108L=K524288
#110L=K400000
#112L=K1048576 //(3rd point) input value
#114L=K1000000 //(3rd point) output value
#116L=K2097152 //(4th point) input value
#118L=K300000
#120L=K3145728 //(5th point) input value
#122L=K-1000000 //(5th point) output value
#124L=K4194304 //(6th point) input value
#126L=K-500000 //(6th point) output value
(X
,Y
)
2
2
(X
,Y
)
1
1
,Y
)
0
0
Cam axis length per cycle 4194304 [pulse]
//Coordinate data format
//Number of coordinates 6
//(1st point) input value
//(1st point) output value
//(2nd point) input value
//(2nd point) output value
//(4th point) output value
5 - 163
(X
,Y
)
3
3
(X
,Y
5
(X
,Y
)
4
4
Input value: X
)
5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents