Semantics
A component instance is an instance of a component that resides on a node instance. A component instance may have a state.
Procedure for creating component instance
In order to create ComponentInstance,
1. | Click [Toolbox] -> [Component] -> [ComponentInstance] button. |
2. | And click at the position where ComponentInstance will be placed in the [main window]. |
3. | Enter the component instance name at the quick dialog and press [Enter] key. The result is as follows. |
Procedure for adding attribute to component instance
There are two way to add AttributeLink to component instance.
· | using ComponentInstance model in the main diagram or the [model explorer] |
· | using [collection editor] |
In the case of using ComponentInstance model,
1. | Select ComponentInstance in the [main window] or in the [model explorer]. |
2. | Right-click the selected ComponentInstance, select [Add] -> [Attribute Link] popup menu. |
3. | and you can add Attribute Link. |
In the other case,
1. | Select [Collection Editor...] popup menu of ComponentInstance. |
2. | Click button in slots property on properties window. |
3. | At [Slots] tab of the [collection editor], you can add attribute link by using button. |
|