Changeover from STRUC V4.x to D7-SYS
4-30
System- and communication configuring D7-SYS - SIMADYN D
Edition 03.2001
4.6.4 Compiling and loading the user program
in STRUC V.4.x
in D7-SYS
Compile the master
program (MP-
COMP)
Check the hardware configuration for consistency.
In the HWConfig:
Select the menu command
Station > Check
consistency
.
Compile the
function packages
(FP-COMP)
Not necessary as individual step (refer below)
Compile the
processor program
(PN-COMP)
Not necessary as individual step (refer below)
Compile the
selected processor
program
(AUTOCOMP)
Compile the user program of a CPU
In the CFC:
Place the chart window of the CPU to be compiled in the
foreground. Select the menu command
Chart > Compile
.
All of the charts of this CPU are compiled and are then
linked with the hardware configuration, which has been
checked for consistency as well as the code libraries to
form a runnable user program. In so doing, a map listing
of the user program is generated. You will be able to
identify the path names of the map listing from the
compilation protocol.
Create the address
book (OPTIONS
address book)
In the CFC:
Select the menu command
Extras > Settings > Compile
and select the "Create address book" option in the dialog
window which opens.
When compiling the user program (menu command
Chart
> Compile
) an address book is automatically generated
for this CPU. You will be able to identify the path names of
the address book file from the compilation protocol.
Load the program
module (PROG -
selected PN)
Loading the user program offline
In the CFC:
Select the menu command
Target system > Load
. Select
the "
Offline
" option in the dialog window which
subsequently opens, and then depress "
Load
":
The compiled user program, and if relevant, the
SIMADYN D operating system are loaded into the memory
module. This memory module is then inserted into the
PCMCIA slot of your PC.
Download (PROG
download)
Loading the user program online
In the CFC:
Select the
Target system > Load
menu command. In the
dialog window which opens, select the "
Online
" option
and then depress "
Load
":
The compiled user program, and if relevant the
SIMADYN D operating system are loaded into the CPU
memory module via a communications link.
Table 4-23
Compiling and loading the user program