Mitsubishi Electric R16MTCPU Programming Manual page 246

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

■Program which calculates the cam axis current feed value in the two-way cam pattern
operation
[F10]
//Set No.5 (Two-way cam) to the Cam No.
#1000=K5
//Cam position calculation data set
D2200=K0 //Cam position calculation type=
Cam axis current feed valuecalculation
D2201=K0
D2202L=K1000000L//Cam stroke amount=1000000[pulse]
D2204L=K2000000L//Cam axis length per cycle=
D2206L=K250000L //Cam reference position=
D2208L=K500000L //Cam axis current value per cycle=
D2210L=K0L
[G10]
X0
//Standby until X0 turns ON
[F20]
//Cam position calculation for cam No.0
(The result is stored in W1F00L.)
CAMPSCL #1000,D2200,W1F00L
■Program which calculates the cam axis current value per cycle in the feed operation cam
pattern
[F10]
//Set No.253 (Feed cam) to the Cam No.
W1000=K256
//Cam position calculation data set
W0000=K1 //Cam position calculation type=
Cam axis current feed value calculation
W0001=K0
W0002L=K4194304L //Cam stroke amount=
W0004L=K4194304L //Cam axis length per cycle=
W0006L=K0L
W0008L=K1048576L //Cam axis current value per cycle
W000AL=K-2097152L //Cam axis current feed value=
[G10]
X0
//Standby until X0 turns ON
[F20]
//Cam position calculation for cam No.0
(The result is stored in W1F00L.)
CAMPSCL W1000,W0000,#0L
4 OPERATION CONTROL PROGRAMS
244
4.16 Advanced Synchronous Control Dedicated Function
Cam (Two-way)
//Unusable
2000000[pulse]
250000[pulse]
500000[pulse]
//Cam axis current feed value=
0 (The setting is not required.)
END
Cam (Feed)
//Unusable
4194304[pulse]
4194304[pulse]
//Cam reference position=0[pulse]
=1048576[pulse]
-2097152[pulse]
END
Cam axis current value per cycle
500000[pulse]
Cam axis length per cycle
2000000[pulse]
Cam reference
position
250000[pulse]
Cam axis current
value feed value
1048576[pulse]
Cam axis current value
per cycle when the
search starts
1048576[pulse]
Cam axis length per cycle
4194304[pulse]
Cam reference
position
250000[pulse]
Cam axis current
value feed value
-2097152[pulse]
Cam stroke amount
1000000[pulse]
Cam axis current value per cycle
3148728[pulse]
Cam stroke amount
4194304[pulse]

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents