Verifying User Programs

After you  have created a User Program, it must be verified before downloading and running it in the RMC. The verify process checks the program for errors that will keep it from running. It does not check for other errors, such as invalid command parameters or bad logic. If the verify finds errors, the verify will fail, and the Programming node will not be allowed to be downloaded to the RMC.

To Verify the User Programs

  1. In the Project Pane, expand the desired controller, right-click Programming and click Verify Programs.
    Or, on the Programming menu, click Verify.

  2. The results of the verify will appear in the Verify tab of the Output window. If errors are found, you must edit the program to fix the problem and verify again. To locate the error, double-click the error in the Verify Results window. Or, press F4 to open the location of the next error and press Shift + F4 to open the location of the previous error. RMCTools will open the editor in which the error exists and highlight the error.

  3. If no errors are found, download the User Programs to the controller. If errors are found, you must correct them before you will be able to download the programs to the RMC.
    If the program size or time exceeds the limits, see the Program Capacity and Time Usage topic for tips on how to fix this.

  4. After you have downloaded the User Programs, you may run them. See the Running User Programs topic for instructions.

 

Note:
The Verify will not verify user programs that have been disabled. Disabled user programs will be downloaded to the RMC, but will not be able to be run. Disabling user programs is useful if you want to keep a user program in the project for reference or later use even if it has errors. See the User Program Properties topic for details on disabling programs.

 

See Also

User Program Overview


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion