beautypg.com

Editing a script, Handling unsuccessful translations – Rockwell Automation GMLC Reference Manual User Manual

Page 212

background image

Publication GMLC-5.2 - November 1999

Editing a Script

175

Handling Unsuccessful Translations

During the translation, the GML Commander translator checks for
syntactical errors. If it finds errors and the translation is not successful, a
dialog box appears, identifying the problem and its location. As shown in
the following exhibit.

To correct a diagram error, select OK in the GML dialog box.
Commander automatically takes you to the section of the diagram where
the error occurred.

Make the appropriate corrections to the diagram and when complete run
the Translate to Script procedure from the Diagram menu options.

Editing a Script

The Script Editor can be used to edit and view the script text files. You
can create a new script by translating a GML Commander diagram to
script or by uploading the program from your controller.