Create a Program

Once the project has been created and the EtherCAT devices have been defined, a program may be created.

  1. Right-click the Programs item in the project tree.
  2. Click New Programs and select the language to use. (Figure 1)
  3. Figure 1: Programs > New Program

    The New Program dialog box opens. (Figure 2)

  4. Name the program.
  5. Figure 2: New Program dialog box

  6. Click Ok to create the program and open the language-specific editor. (Figure 3)
  7. Figure 3: Language-specific Editor

The empty program is ready for you to add functions and function blocks.

Other information you may need to complete your program includes:

See IEC 61131-3 Editors in the Programs: Structure and Syntax section for more in-depth information on the programming languages.