At a Glance

The Programs directory of the structural view of the project allows you to define the structure of the program and to access the language editors of the program elements: Program Units, sections, program modules and event processing.

The following illustration shows an example of a directory tree of the Programs directory:

NOTE: When Program Units in the application are not allowed, the Logic folder is replaced by the Sections folder in the directory tree. For more detailed information refer to the chapter Description of the Available Functions for Each Type of PLC.

Services associated with the sequential Tasks directories.

The sequential Tasks directories (MAST, FAST, etc.) allow you to access the following services, which can be reached via the contextual menu:

Directory

Services

Tasks

New Task ...: allows you to create a new sequential task (FAST, AUX, AUX0, AUX1). The MAST task is created by default.

Import ... : allows you to import a task.

MAST, FAST, etc.

Delete : allows you to delete the task. The MAST task cannot be deleted.

Clear : allows you to clear the contents of the task. This clears all the sections of the task.

Export: allows you to export the sequential task.

Properties: allows you to access the properties of the sequential task.

Logic

New Program Unit...: allows you to create a new “empty” Program Unit.

New Section ... : allows you to create a new “empty” section.

Import ...: allows you to import a program unit or a section.

Create builded Activation Conditions Table: allows you to initialize an animation table, with the activation condition variables associated with the sections.

Or

Sections

New Section ...: allows you to create a new "empty" section.

Import ...: allows you to import a section.

Create section activation conditions table: allows you to initialize an animation table, with the activation condition variables associated with the sections.

Services associated with the Program Unit

The structure of a Program Unit allow you to access the following services, which can be reached via the contextual menu:

Program Element

Services

For each Program Unit

Analyze : allows you to analyze the Program Unit.

Delete: allows you to delete the Program Unit.

Copy : allows you to copy the Program Unit.

Paste After: allows you to paste after a duplication of the copied Program Unit.

Paste Special after... : allows you to paste after a duplication of the copied Program Unit with effective parameters.

Import after: allows you to import a Program Unit or a section.

Export ...: allows you to export the Program Unit.

Properties: allows you to access the properties of the Program Unit.

For the Interface & Variables

Open : allows you to access the Program Unit data editor.

Sections directory (under Program Unit)

New Section ...: allows you to create a new “empty” section.

Import ...: allows you to import a section

For each section, section Macro-step, action, or transition

Refer to services associated with the section.

Animation Tables directory (under Program Unit)

Refer to services associated with the Animation Tables Directory.

For each animation table

Services associated with the section

The section allow you to access the following services, which can be reached via the contextual menu:

Program Element

Services

For each section

Open : allows you to access the section language editor.

Delete: allows you to delete the section.

Detach : allows you to detach the section of the functional module.

Export: allows you to export the section.

Import after ...: allows you to import a section

Forcing to 0, allows you to choose Force to 0 as the activation condition of the section (in online mode).

Forcing to 1, allows you to choose Force to 1 as the activation condition of the section (in online mode).

Unforce : allows you to choose cancel forcing as the activation condition of the section (in online mode).

Properties: allows you to access the properties of the section.

For each Section Macro-step, action, or transition

Open : allows you to access the section language editor.

Delete: allows you to delete the section.

Properties : allows you to access the properties of the section.

NOTE: Only the MAST task can contain one or more sections in SFC language.

Services associated with the program modules directories

The program modules directories (SR Sections) allow you to access the following services, which can be reached via the contextual menu:

Directory

Services

SR Sections

New SR Section ...: allows you to create a new “empty” program module.

Import ...: allows you to access import of program module.

For each program module

Open : allows you to access the program module language editor.

Delete: allows you to delete the program module.

Export : allows you to access export program module.

Properties: allows you to access the properties of the program module.

Services associated with the event processing directories

The event processing directories allow you to access the following services, which can be reached via the contextual menu:

Directory

Services

Timer Events , I/O Events

New Event Section: allows you to create a new “empty” event processing.

Import: allows you to access import of event processing.

For each event processing

Open : allows you to access the event processing language editor.

Delete: allows you to delete the event processing.

Detach: allows you to detach the event processing of the functional module.

Export: allows you to access export of event processing.

Properties: allows you to access the event processing properties.