EasyManua.ls Logo

Mitsubishi Electric Q173DSCPU - Page 407

Mitsubishi Electric Q173DSCPU
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 - 184
5 OPERATION CONTROL PROGRAMS
(2) Program which calculates the cam axis current feed value in the two-way cam
pattern operation.
[F10]
[G10]
[F20]
END
Cam (Two-way)
PX0 //Standby until PX0 turns ON
//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 //Unusable
D2202L=K1000000L//Cam stroke amount=1000000[pulse]
D2204L=K2000000L//Cam axis length per cycle=
2000000[pulse]
D2206L=K250000L //Cam reference position=
250000[pulse]
D2208L=K500000L //Cam axis current value per cycle=
500000[pulse]
D2210L=K0L //Cam axis current feed value=
0 (The setting is not required.)
Cam axis current value per cycle
500000[pulse]
Cam stroke amount
1000000[pulse]
Cam axis length per cycle
2000000[pulse]
Cam axis current
value feed value
1048576[pulse]
Cam reference
position
250000[pulse]
//Cam position calculation for cam No.0
(The result is stored in W1F00L.)
CAMPSCL #1000,D2200,W1F00L
(3) Program which calculates the cam axis current value per cycle in the feed
operation cam pattern
[F10]
[G10]
[F20]
Cam (Feed)
PX0 //Standby until PX0 turns ON
//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 //Unusable
W0002L=K4194304L //Cam stroke amount=
4194304[pulse]
W0004L=K4194304L //Cam axis length per cycle=
4194304[pulse]
W0006L=K0L //Cam reference position=0[pulse]
W0008L=K1048576L //Cam axis current value per cycle
=1048576[pulse]
W000AL=K-2097152L//Cam axis current feed value=
-2097152[pulse]
Cam stroke amount
4194304[pulse]
Cam axis current value per cycle
3148728[pulse]
Cam axis current
value feed value
-2097152[pulse]
Cam reference
position
250000[pulse]
Cam axis length per cycle
4194304[pulse]
END
//Cam position calculation for cam No.0
(The result is stored in W1F00L.)
CAMPSCL W1000,W0000,#0L
Cam axis current value
per cycle when the
search starts
1048576[pulse]

Table of Contents

Related product manuals