User`s manual
16-34 Motion Mate™ DSM314 for Series 90™-30 PLCs User's Manual
–
January 2001 GFK-1742A
16
Figure 16-25. CAM Editor Correction Enable
Step 8: Save the CAM Profile
At this point, we have defined a simple CAM profile. Next, we will save the profile and return to
the main VersaPro program. To save the CAM blocks/profiles, select the File main menu item
followed by the Save Project submenu selection. You could also select Exit, which causes an
automatic save. The CAM editor has many more additional features and functionality. Refer to
the online documentation for a detailed description of these features.
Step 9: Generate Motion and Local Logic Programs
The next item we need to generate is a motion program and Local Logic program that will work
with this CAM profile. We plan to have this work with a DSM314 controlling two axes. Axis #1
will be the slave, and Axis #2 will be the master. Therefore, we will have two motion programs.
The Axis 1 program, for the slave, will do some base initialization, load the slave starting point for
the given CAM profile, and then execute the CAM command. The Axis 2 program, for the master
source, is a simple program that will initialize and then wait for the slave to be ready. It will then
execute a series of moves. The program stops at points described within the CAM master such that
it is easy to verify that the slave axis is correctly executing the CAM profile. We will also need to
have a Local Logic program for this example. In our example the Local Logic program serves a
supervisory role over the CAM slave and CAM master motion programs. Thus, the Local Logic
synchronizes the two programs.
This section does not attempt to explain the VersaPro motion editor, motion language, Local Logic
editor, or Local Logic language. Consult the applicable chapters in this manual for additional
details on these features. The motion program and Local Logic programs for this example are as
follows: