User`s manual

10-50 Motion Mate DSM314 for Series 90-30 PLCs User's Manual
January 2001 GFK-1742A
10
Figure 10-51. MPExample Successful Syntax Check
If the information window indicates a syntax error has occurred, the user can scroll the information
window to the line that contains the error message. While the information window has focus,
double click the error message. This causes the editor window to automatically go to the line
within the program that caused this error.
If you are actively editing a motion program and want to find out your approximate line number,
click on the vertical scrollbar on right side of the motion progrma editor. It will display the line
number of the line at the top of the window. If the cursor is several lines below the top of the
window, either scroll the window until the current line is at the top of the window or count down
the number of lines from the top and add them to the current line number.
Chapter 12 contains additional details that cover an unsuccessful syntax check and corrective
action. Once a successful syntax check has occurred, we need to setup the hardware configuration
that will allow the example program to be downloaded to the correct DSM314 module. The order
the example is done is not typical for most installations. Most users will first setup their hardware
configuration and then generate the programming statements. However, the example is aimed at
illustrating the Motion programs and has reversed the order to better illustrate the link between
hardware configuration and the Motion program name in the DSM314 hardware configuration.
Thus, the next step in our example is to bring up hardware configuration. There are multiple ways
to bring up the Hardware configuration screens. Consult the VersaPro documentation for
additional details. Earlier sections in this chapter show a step by step method to activate the
Hardware configuration. As such, this information will not be repeated in this section. The section
concentrates on the additional information that needs to be put into the Hardware configuration to
allow the motion program to function. For additional details concerning the DSM314
configuration settings consult chapter 4. The first field we need to edit is on the Settings tab. We
need to define to the DSM314 the Motion program name we wish to download to the module. In