IEC project structure
The IEC project has the following basic structure:
No. | Name | Description |
---|---|---|
[1] | SEW_GVL_Internal | The SEW_GVL_Internal global list of variables contains the instances that correspond to the software module used. These variables may not be written to from the user program. |
[2] | SEW_PRG | Program that contains all the important instance calls. Automatic code generation recreates this program in accordance with the configuration made in MOVISUITE® each time the IEC project is created, thereby overwriting the previous version. Therefore, you should not make any changes to this program. |
[3] | SEW_GVL | The SEW_GVL global list of variables is the interface for accessing the software module features. |
[4] | User_PRG | The user program is created once, initially, by automatic code generation. Since the program is not overwritten with each subsequent creation, this is the appropriate place for integrating user programs. The program is divided into five actions. These actions differ in the time at which they are called during the program sequence. |
[5] | Task configuration | List of tasks created in the project. Automatic code generation initially adds tasks that differ in how they are prioritized. The user can add additional programs to existing tasks or create new tasks. It is the responsibility of the user to design the capacity utilization of the tasks to enable the tasks to be processed within the required cycle time. Moving beyond the cyclical tasks, in particular, prevents setpoints for interpolating axes from being generated in time, which means that these axes cannot be operated properly. |