Mitsubishi Electric Melsec Q Series Programming Manual page 390

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 writes the data stored in #0 to #4099 to the 2048-point area,
starting from the first point cam data, of cam No. 256 (stroke ratio data format)
CAMWR K256,K1,K2048,#0
(2) Program (Cam axis length per cycle = 4194304) which writes the data stored in #0
to #27 to the 6-point area, starting from the zeroth point cam data, of cam No. 255
(coordinate data format)
#0=K2
#2L=K6
#4L=K0
#6L=K0
#8L=K524288
#10L=K400000
#12L=K1048576
#14L=K1000000
#16L=K2097152
#18L=K300000
#20L=K3145728
#22L=K-1000000
#24L=K4194304
#26L=K-500000
CAMWR K255,K0,K6,#0
Output value: Y
[Output axis position unit]
1000000
0
(X
,Y
0
0
(Cam reference
position)
-1000000
//Coordinate data format
//Number of coordinates 6
//(1st point) input value
//(1st point) output value
//(2nd point) input value
//(2nd point) output value
//(3rd point) input value
//(3rd point) output value
//(4th point) input value
//(4th point) output value
//(5th point) input value
//(5th point) output value
//(6th point) input value
//(6th point) output value
//Cam data write
(X
,Y
)
2
2
(X
(X
,Y
)
1
1
)
Cam axis length per cycle 4194304[pulse]
5 - 167
,Y
)
3
3
(X
,Y
5
5
(X
,Y
)
4
4
Input value: X
)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents