Siemens SIMATIC PCS 7 Operating Manual page 62

Plant automation accelerator 3.0
Hide thumbs Also See for SIMATIC PCS 7:
Table of Contents

Advertisement

Type configurator plugin
11.8 Creating functions
Note
Report script option
The new report script option FunctionsAndBlocksPlacingMode is available. This script
option is relevant when the functions are imported from PCS 7 and are automatically placed on
the function diagram.
This option controls the placing behavior of functions on the function diagram. By default it is set
to "0" and the functions are placed near their connection partner. If this option is set to "1", the
functions connected to inputs of CM are placed on the left side of the CM, beginning on the first
page on top or on the right if connected to outputs.
Requirement
The type configurator plugin is open. See also chapter Opening the Type configurator plugin
(Page 59).
Using predefined function blocks
1. Click the "Functions" button in the menu bar of the plugin.
The "Functions" column is displayed.
2. Select the desired functions.
3. Click the "Generate functions" button.
The selected functions are created in the "@Template > PCS 7 > Template-Container >
Functions" node and displayed in the column "Type library" of the plugin.
4. Select a function in the "Type library" column.
5. Select a parameter in the "Type structure" column.
6. Edit the properties of the parameter in the "Type attributes" column.
The Text 0/Text 1 attributes are only available on the BOOL type parameters.
7. Confirm your entries.
8. Repeat steps 4 to 7 for all the parameters to be edited.
Creating new function blocks
1. Select the "Insert new object > Function" command in the menu bar of the plugin.
The function is created in the "Type library" column. The name of the newly created function
is "Function_<consecutive number>". The function is displayed in the "Type structure"
column.
2. Select the function in the "Type structure" column.
3. Select the "Insert new object > Parameter" command from the shortcut menu.
4. Edit the properties of the parameter in the "Type attributes" column.
The Text 0/Text 1 attributes are only available on the BOOL type parameters.
5. Confirm your entries.
6. Repeat steps 3 to 5 for all the parameters to be created.
62
Plant Automation Accelerator 3.0
Operating Manual, 04/2019, A5E46351208-AA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents