Manual

5-12 Programming
5.9.2 Creating Macro Programs
To create a new macro program:
1. Start ECNT 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 ECNT. 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-8.
Figure 5-8 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 a folder to save it in.
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 a folder to save it in.
e. Click on
OK.
5. Create procedures as required and give them unique names. See 5.9.5 Creating a Procedure.
6. Place Call Procedure instructions in the Main Pattern to execute the procedures.
See 5.9.7 Calling Procedures.
7. Click on
Save .