46
••••
3 - 505 SoftShop Basics
3.
Type the program name in the Filename line, or click Browse to
search from valid program names.
4.
Select Tags, Descriptions, or Headers from Include to merge in.
5.
Click OK to import the documentation.
Figure 3.27
Merge Memory
Merge allows you to merge externally developed subroutine programs
into User Memory. For example, you can merge compiled C, Pascal,
assembly language, and other programs into U-Memory.
Follow these steps to prepare the external subroutine for use in the
controller.
1.
Compile/assemble the subroutines and header to create object
modules.
2.
Link the object modules for the header and subroutines to create the
load module. The file name must have the extension ".rec". The
output must have the header at zero followed by the code and data
constants, then the variables, and finally the stack.
3.
Select Merge from the File menu and U-Memory from the list
Window.
Result: The Merge dialog box appears (Figure 3.28).
4.
Type the program name in the Filename line, or click Browse to
search from valid program names.
5.
Click OK to merge the program.
Figure 3.28