You need to create components for the symbol table and program blocks. The files supplied are to be used for this purpose.
Create the OB_Cycle program block.
- Select the Step7 unit.
- From the popup menu, select New > Step7 > Source > Program.
- In the Resource location panel, click Import.
The Open dialog now appears.
- Select the file OB_Cycle.AWL.
- Confirm with [Open].
The OB_Cycle name is automatically imported. The Step7-LD language of the block is also automatically detected.
- Select the Parameters editor.
The Number parameter has already been entered.
- Enter the number 1 in the Value column.
- Repeat steps 1 and 7 for the following symbol table and blocks. Use the specified values for the Number parameter:
New > Step7 > Source > Function:
FC_Org_Functions.AWL, Number = 1
New > Step7 > Source > Function:
FC_ASI_CopyInputs.AWL, Number = 2
New > Step7 > Source > Function block:
FB_Sequence.AWL, Number = 1
New > Step7 > Source > Function block:
FB_Insert.AWL, Number = 20
New > Step7 > Source > Function block:
FB_Move.AWL, Number = 21
New > Step7 > Source > Function block:
FB_Inspect.AWL, Number = 22
New > Step7 > Source > Symbol table:
Symboltable.SDF
The results should look as follows:
The parameters of the imported blocks are listed in the Parameter unit that is automatically generated.