beautypg.com

Uploading, compiling, & starting, Downloading – Sensaphone SCADA 3000 Users manual User Manual

Page 200

background image

16-14

SCADA 3000 User’s Manual

Uploading, Compiling, & Starting

Once you have finished writing your C program you can upload it to the SCADA 3000. To

upload your C program, go on-line with the SCADA 3000. Once on-line, open the C editor

as shown above. Open the program you wish to upload to the SCADA 3000. Click the Upload

button from the toolbar or select Program>Upload from the main menu. Your C program will

start transferring to the SCADA 3000.

Figure 3: C Program Upload form

If your SCADA 3000 is on a radio network, an additional screen will be displayed so that

you can select the SCADA 3000 that you want the C program sent to. Once the transfer is

complete SCADA 3000 will automatically compile the program. This procedure is required

to translate the program into a language that your SCADA 3000 can understand. When the

program is compiled, SCADA 3000 scans your program, looks for errors, and converts it to

a new format. If a problem is found, an error code will be displayed. The type of error code

depends on where the error is found and what kind it is. Multiple errors must be corrected one

at a time before SCADA 3000 will continue to scan the program. Please refer to the ERROR

HANDLING section to identify the types of errors in your program. Each time you make a

change to your C program you must Upload/Compile the new version.

Note: All C variables are reset to zero when the program is compiled.

Downloading

The C-Program source code can be downloaded from your SCADA unit by clicking the

Download button from the C-Program toolbar, or by selecting Program, then Download from the

C-Editor main window.

Run

After the program has been compiled, the following form will appear:

Figure 4: Start C Program form