I hooked the preheater up to my Prolific USB-to-RS232 serial adapter. I set a terminal program to 9600 baud, 8n1 for the settings. There's a program that Weller provides to control the preheater but it seems to only work if you have the rework station as well. I opened it with a hex editor and I can see various things, for example, 9600 baud. The following is a single command. This should let you run the program with all the desired option. But before i end this i want to give special thanks to Andrew.46 from this forum and abraxa and alm from the eevblog forum. Share improve this answer.
Include programs are global repository objects used to modularize the source code. They allow you to use the same source code in different programs. Include programs also allow you to manage complex programs in an orderly way. In order to use an include program in another program, we use the following syntax −
INCLUDE statement has the same effect as copying the source code of the include program <program_name> into another program. As include program can’t run independently, it has to be built into other programs. You may also nest include programs.
Following are a couple of restrictions while writing the code for Include programs −
- Include programs can't call themselves.
- Include programs must contain complete statements.
Following are the steps to create and use an Include program −
Step 1 − Create the program (Z_TOBEINCLUDED) to be included in ABAP Editor. Code to be included in ABAP Editor is −
Step 2 − Set the Type of the program to INCLUDE program, as shown in the following screenshot.
Step 3 − Click the ‘Save’ button and save the program in a package named ZINCL_PCKG.
Step 4 − Create another program where the program Z_TOBEINCLUDED has to be used. Here we have created another program named Z_INCLUDINGTEST and assigned the type for the program as Executable program.
Step 5 − The coding for Z_INCLUDINGTEST program includes the Z_TOBEINCLUDED program with the help of the INCLUDE statement as shown in the following code.
Step 6 − Save, activate and execute the program.
The above code produces the following output −