YASKAWA JEPMC-MP2300-Y Series User Manual page 102

Machine controller basic module
Table of Contents

Advertisement

2 System Startup and Sample Programs
2.2.4 Operation Check 4: Phase Control - Electronic Cam
[ b ] L Drawing
P00125 L
########## 電子カムテーブルデータ生成  ##########
##########Electronic Cam Table Data Generation##########
0000
0000
NL-1
Name
0001
0001
NL-1
[ c ] L06 Drawing
P00126 L06
Main Program: Electronic Cam Table Data Generation
##########Cam Table Data Generation (Leading Data)##########
Cam operation command
Cam table (leading data)
MB300008
0000
0000
DL00010 =ML30200;
NL-1
DL00012 =ML30202;
ML30210 =DL00010;
ML30212 =DL00012;
MW31000 =361;
MW31001 =0;
DF00030 =0;
##########Cam Table Generation (following data)##########
Cam displacement calculation
0001
FOR
0002
Variable I
NL-1
Init 00000
Max 00360
Step 00001
Phase (deg.)
0002
STORE
0003
Source I
NL-1
Dest DF00030
Displacement calculation work
0003
COS
0004
Source DF00030
NL-1
Dest DF00032
Cam displacement calculation and table setting
0004
EXPRESSION
0005
J =I*4;
NL-1
ML31002j =DF00030*DL00012/360.
DF00034 =DL00010/2*(1-DF00032)
ML31004j =DF00034;
0005
END_FOR
0006
NL-1
0006
0007
NL-1
2-58
The L parent drawing manages the low-speed scan that controls the overall sample program.
Main Program: Low-speed Main Program
メインプログラム
低速メインプログラム
########## 低速メインプログラム  ##########
SEE
L06
The L06 child drawing creates cam pattern data for phase control (electronic cam).
##########Electronic Cam Table Data Generation##########
EXPRESSION
Low-speed Main Program
END
END

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mp2300

Table of Contents