User`s manual
Introduction to Local Logic Programming
GFK-1742A Chapter 10 Introduction to Local Logic Programming 10-51
10
the field “Motion Program Block Name:”, we want to type in the name of our example program.
Our example program is named “MPExample”. Thus, we type “MPExample” into this field.
Note: This method of linking the DSM314 to a Motion program was chosen to allow the user to
easily specify multiple DSM314s that all use the same Motion program. In our example, we only
have one DSM314. However, if we had multiple DSM314 that all need to run the same Motion
program we would simply indicate that in the configuration for the specific DSM314. This allows
the programmer to have one Motion program source file for multiple DSM314’s. The reader
should also note this does not preclude DSM314’s executing different programs.
Since we are using the Beta 0.5 for our example, we need to set Axis1 Mode to Digital Servo.
The resulting Hardware Configuration screens will be as shown in Figure 10-52.
Figure 10-52. Hardware Configuration DSM314 Settings Tab
We also need to configure the DSM with the values calculated above for User Units to Counts and
top speed. The example also configures Axis direction and high position limit. These are optional.
Consult chapter 4 for information on these configuration fields. To add these values type the
following into the fields on the Axis#1 tab.
UserUnits: 600
Counts: 8192
High Position Limit: 599 (Optional, causes position to rollover every revolution)
Positive Velocity: 30000
Axis Direction: Reverse (Optional causes servo to turn clockwise)