User`s manual

Contents
xiv Motion Mate DSM314 for Series 90-30 PLCs User's Manual January 2001 GFK-1742A
Section 1: Introduction.............................................................................16-1
Electronic CAM Overview..........................................................................................16-1
Basic CAM Shapes/Definition....................................................................................16-4
Section 2: Cam Syntax .............................................................................16-5
CAM Types................................................................................................................16-5
Non-Cyclic CAM.................................................................................................16-5
Linear Cyclic CAM..............................................................................................16-5
Circular Cyclic CAM............................................................................................16-6
Interpolation and Smoothing.......................................................................................16-8
Blending Sectors ..................................................................................................16-9
1
st
order to 1
st
order ............................................................................................. 16-9
1
st
order to 2
nd
order ............................................................................................16-9
2
nd
order to 1
st
order ............................................................................................16-9
2
nd
order to 2
nd
order ........................................................................................... 16-9
2
nd
order to 3
rd
order............................................................................................16-9
3
rd
order to 2
nd
order............................................................................................16-9
3
rd
order to 3
rd
order ............................................................................................16-9
Boundary Conditions.......................................................................................... 16-10
Interaction of Motion Programs with CAM............................................................... 16-11
CAM Command ....................................................................................................... 16-11
CAM-LOAD Command ........................................................................................... 16-13
CAM-PHASE Command.......................................................................................... 16-14
CAM and MOVE Instructions................................................................................... 16-14
Time-Based CAM Motion ........................................................................................16-14
CAM Scaling Editor and Hardware Configuration .................................................... 16-14
Synchronization of CAM Motion with External Events............................................. 16-19
CAM-Specific DSM Error Codes.............................................................................. 16-20
Section 3: Electronic Cam Programming Basics...................................16-22
Requirements............................................................................................................ 16-22
Introduction to Electronic CAM Programming.......................................................... 16-22
Creating a CAM Application Example................................................................ 16-22
Basic Steps ....................................................................................................... 16-22
Step 1: Create a New Folder ...................................................................... 16-23
Step 2: Create a CAM Block Using the CAM Editor.................................. 16-24
Step 3: Create a CAM Profile.................................................................... 16-27
Step 4: Link the CAM Profile to the CAM Block....................................... 16-29
Step 5: Configure CAM Profile Data Points............................................... 16-30
Step 6: Specify the CAM Type .................................................................. 16-32
Step 7: Specify the Correction Property..................................................... 16-33
Step 8: Save the CAM Profile.................................................................... 16-34
Step 9: Generate Motion and Local Logic Programs...................................16-34
Step 10: Set up Hardware Configuration in VersaPro................................. 16-38
Step 11: Execute (Test) Your CAM-Based Motion Program ...................... 16-49
Appendix A Error Reporting ..............................................................................................A-1
DSM314 Error Codes .................................................................................................. A-1