IEC 61499-1 uses the ISO 2382 definition of parameter as "A variable that is given a constant value for a specified application and that may denote the application." In the IEC 61499 world, the only variables that can be treated this way are input variables of function blocks, devices and resources.
You can set the value of a parameter from the popup menu of an unconnected input variable of a function block, device or resource. This menu will show a Connect item with sub-items corresponding to other variables that can be connected to it, as well as a default value for the variable if it is to be treated as a parameter.
WSTRING
type does
not need to have leading and trailing double quotes ("
)
unless:
""
); orOnce an initial parameter value has been set, you can edit the parameter value by double-clicking on the parameter value or using the Edit item of its pop-up menu. This will open a dialog box with a text field for entering the modified parameter value. You can set the new parameter value by pressing the OK button or using the Enter key while typing. If the format of the entered data is incorrect, the data will not be entered and an INVALID_OBJECT error message will be displayed in the status line under the dialog box's title.
IEC 61499-1, as published in January 2005, adopts the IEC 61131-3 style for representation of parameters as a list of name/value pairs associated with the declaration of an instance of an element instead of "constant" connections in a connection list. The FBEditor application now supports this style of representation in the Source text view. The added complexity of this representation is one of the reasons that parsing of text from this view is no longer supported.
IEC 61499-2,as published in January 2005, also defines the representation of parameter lists rather than "constant connections" in its XML DTD. The FBEditor application now supports this style of representation in the XML text view and the File Save as XML format. The old "constant connection" style will also be properly parsed when reading old files with the File Open... menu option, but the file will be saved in the new style.
Some variables can be identified a priori as being parameters, namely:
This information can be used by software tools to suppress the display of parameters as an option to remove clutter from the display of function block networks. In the FBEditor application, parameter hiding is controlled from a Parameters checkbox item in a popup menu.