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
16-14
SCADA 3000 User’s Manual
Summary of Contents for Sensaphone SCADA 3000
Page 1: ...Sensaphone SCADA 3000 User s Manual Version 2 34...
Page 6: ...vi SCADA 3000 User s Manual...
Page 10: ...x SCADA 3000 User s Manual...
Page 30: ...1 6 SCADA 3000 User s Manual...
Page 48: ...4 6 SCADA 3000 User s Manual...
Page 70: ...9 8 SCADA 3000 User s Manual...
Page 122: ...12 8 SCADA 3000 User s Manual...
Page 190: ...15 30 SCADA 3000 User s Manual...
Page 211: ...lead 1 lag 0 else lead 0 lag 1 16 21 Chapter 16 Programming in C...
Page 212: ...16 22 SCADA 3000 User s Manual...
Page 236: ...21 8 SCADA 3000 User s Manual...
Page 248: ...22 12 SCADA 3000 User s Manual...
Page 258: ...23 10 SCADA 3000 User s Manual...
Page 274: ...25 8 SCADA 3000 User s Manual...
Page 288: ...27 8 SCADA 3000 User s Manual...
Page 294: ...28 6 SCADA 3000 User s Manual...
Page 296: ...A 2 SCADA 3000 User s Manual...
Page 302: ...D 2 SCADA 3000 User s Manual...
Page 318: ...I 2 SCADA 3000 User s Manual...
Page 320: ...J 2 SCADA 3000 User s Manual...
Page 322: ...K 2 SCADA 3000 User s Manual...
Page 335: ...Test Log...
Page 336: ......