Translating your program, Translating feature, Chapter 8 – Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 95: Translating feature -1, Chapter

Advertising
background image

1

Publication 1746-PM001A-US-P

Chapter

8

Translating Your Program

When you have completed this chapter, you will know how to:

translate your program

locate and correct programming errors

configure your translator

Translating Feature

The translate/compile feature available with the BASIC Development Software is
executed based on the extension portion of a filename. Refer to Chapter 3 for
details on setting up filename extensions. For proper program translation, the
following file extensions must be used:

Before performing a translate/compile operation on a program, load the file into an
edit window. If it already has been loaded, verify that the window is the currently
active window. Once this is accomplished, translate/compile your program by
using one of the following paths:

Path: Toplevel Menu

Translate/compile

Path: Toplevel Menu

Edit mode

Other

Translate/compile

QuickStroke: Toplevel Menu

Edit mode

[CTRL F8]

Table 8.1 Filename Extensions

File Extension

Description

name.BDL

This is your source file you have written in the BASIC development
language. This is the file you should be translating.

name.BAS

This is the BASIC file created by the 1747-PBASE Translator. This file is
the file you download to the BASIC module.

name.MAP

This file is generated by the 1747-PBASE Translator. It is used for
tracking variables when executing the development software debugger
discussed in chapter 9.

IMPORTANT

The 1747-PBASE Translator (

BTRAN.EXE

)

works only with these

file extensions and cannot be reconfigured.

Advertising