Introduction

Create SFC sections for Modicon M340, and Modicon M580:

  • in the MAST task (Logic directory of the task)

  • in a Program Unit that belongs to the MAST task ( Sections directory of the Program Unit.)

  • in offline and online mode

Create SFC sections for Quantum, Premium and Atrium:

  • in the MAST task (Sections directory of the task)

  • in offline and online mode

When creating an SFC section, the following three directories are created in addition to the actual SFC section:

Creating SFC sections

Creating SFC sections:

Step

Action

1

To create a section in the MAST task, select the desired directory (Sections or Logic ) or place the cursor using the arrow keys on this directory.

2

Click the right mouse button or use Shift+F10 to select New Section in the context menu.

Or

Select Edit > New Section

Result: The New dialog box for the section opens.

3

Enter the section name.

The section name must be unique in the entire project and conform to the general naming conventions.

4

Select the programming language SFC.

5

If necessary, assign an automation area from 0-15 to the section in the Area number list box.

This automation area (area number) can be used as sorting criteria in the diagnostic viewer.

It makes sense to assign the area number corresponding to the functional unit.

Example:

Cutting: No. 1

Milling: No. 2

Thread cutting: No. 3

In the example, the Area number must have the value 1, 2 or 3.

6

If you want an explicit acknowledgment of all diagnostic results for the SFC section (e.g. exceeding the step monitoring times) to be required in the diagnostic viewer, activate the Operator control check box.

7

Select the type of access protection if necessary from the Protection list box:

  • None

    No protection

  • Read-Only

    Write protection

  • No read & write

    Read and write protection

See also Project Protection.

8

Select the functional module to which the section is allocated from the Localization tab if necessary.

See Functional module.

9

Define a Boolean variable in the Condition tab with which the section can be activated/deactivated (section active when variable=1) if required.

You have the following options to select variables:

  • You can enter the name of the variable/address directly or copy it from the clipboard.

  • Use the command button ... to open an instance selection dialog box.

Activate the Can be forced check box when you want to force the variable.

10

Only applies to Quantum projects:

Assign a read RIO drop and a write RIO drop to the section in the Remote IO tab if required.

See also section Executing Quantum sections with distributed inputs/outputs.

11

Enter a comment in the Comment tab if desired.

12

If you wish to create additional sections, confirm the entries with Apply . In this case, the New dialog box will remain open and you can generate additional sections.

If you do not wish to create additional sections, confirm the entries with OK . In this case, the New dialog box will close and the generated section will open automatically.

Displaying or modifying section properties

Displaying or modifying section properties:

Step

Action

1

Left-click on the desired section, or place the cursor on this section with the arrow keys.

2

Select (right-click or Shift+F10 key combination) the Properties... menu command from the shortcut menu.

Result: The Properties of dialog box for the section opens.

3

Implement the desired changes.

4

Confirm all entries with OK.

Importing/exporting sections

See sections: