Manual

Programming 5-15
5.9.2 Creating Macro Programs
To create a new macro program:
1. Start ECXP and select
Edit > Edit Mode to open the Edit Screen.
2. Click on
View > Macro Program to make sure you are in macro program view.
A sample macro program named Macro1.ECM is furnished with ECXP. It contains
blank, programmable Begin Idle, During Idle, End Idle and Periodic procedures, plus
pre-programmed Go to Front and Z Home procedures. See Figure 5-13.
Figure 5-13 Creating a Macro Program
3. To create a copy of Macro1.ECM with a new name:
a. Open Macro1.ECM.
b. Click on
File > Save Macro Program As.
c. Enter a macro program name.
d. Select the folder where you want to save the macro program.
e. Click on
OK.
4. To create a new macro program:
a. Click on
New or select File > New Macro Program.
A new macro program will be created.
b. Click on
Save or select File > Save Macro Program As.
c. Enter a macro program name.
d. Select the folder where you want to save the macro program.
e. Click on
OK.
5. Create procedures as required and give them unique names. See 5.9.7 Creating a
Procedure.
6. Place Call Procedure instructions in the Main Pattern to execute the procedures.
See 5.9.10 Calling Procedures.
7. Click on
Save .