Appendix a operational examples – Yaskawa MotionWorks+ Windows Software User Manual
Page 175
MotionWorks+
Appendix A Operational Examples
169
Appendix A Operational Examples
Example Calculating Cam Tables from within a MotionWorks+
program
The .cdd table (cam points table) can be calculated within a MotionWorks+
program.
The format of the .cdd table is shown below.
Table Format
MW
Table Syntax
Value
Description
MP940 Address
MyTable[0]
9
Number of Master/Slave Pairs
ML20640
MyTable[1]
0
First master position
ML20642
MyTable[2]
0
First slave position
ML20644
MyTable[3]
100
Second master position
ML20646
MyTable[4]
100
Second slave position
ML20648
MyTable[5]
200
Third master position
ML20650
MyTable[6]
300
Third slave position
ML20652
MyTable[7]
300
Fourth master position
ML20654
MyTable[8]
450
Fourth slave position
ML20656
MyTable[9]
400
Fifth master position
ML20658
MyTable[10]
500
Fifth slave position
ML20660
MyTable[11]
500
Sixth master position
ML20662
MyTable[12]
450
Sixth slave position
ML20664
MyTable[13]
600
Seventh master position
ML20666
MyTable[14]
300
Seventh slave position
ML20668
MyTable[15]
700
Eighth master position
ML20670
MyTable[16]
100
Eighth follower position
ML20672
MyTable[17]
800
Ninth master position
ML20674
MyTable[18]
0
Ninth follower position
ML20676