Application examples (tutorials)
TIP:
You can use a preconfigured alarm grid instead of creating it from scratch. For more information, select and select .
Template Libraries
IMPORTANT:
Pressing
Shut down system
immediately shuts down the host operating system
on which the FactoryTalk Optix Application
runs.For example, if you run the
FactoryTalk Optix Application
on an emulator target, pressing Shut down system
immediately shuts down your Windows system.This tutorial assumes familiarity with this information:
Prerequisites
Download a sample project:
- Create a Server project. See create-a-project.html.
- Create a Client project. See create-a-project.html.
TIP:
The Client project imports data from the Server project.
- To develop the project
- Arrange the interface elements.
- CONTAINER STEPFor more information about dynamic links, see create-dynamic-links.html.TIP: Graphical objects are created based on the variables types.TIP: If you do not see the required option, select theShow allcheck box.TIP: You can select the@BrowseNameattribute by selecting it from theAttributedrop-down menu at the bottom.TIP: Motor manufacture dates are set while creating the Motor object type and object instances.TIP: You may need to enterColumn1manually.TIP: You can select thevalues from the@AttributeAttributedrop-down menu at the bottom of the dialog.
- InProject view, right-clickAlarmGridPaneland select .
- Configure the motor name column:
- InProperties, double-clickDataGridColumn1and enterMotorNameCol
- UnderDataItemTemplate, create a dynamic link between theTextproperty andTIP: You can select the@BrowseNameattribute by selecting it from theAttributedrop-down menu at the bottom.For more information about dynamic links, see create-dynamic-links.html.
- Crete a dynamic link between theOrder byproperty andTIP: You can select the@BrowseNameattribute by selecting it from theAttributedrop-down menu at the bottom.For more information about dynamic links, see create-dynamic-links.html.
- SetTitletoMotor Name
- Create the motor speed column:
- InProperties, next toColumns, selectAddText column.
- Double-click the column name and enterMotorSpeedCol
- UnderDataItemTemplate, create a dynamic link betweenTextand .For more information about dynamic links, see create-dynamic-links.html.
- SetTitletoSpeed
- Create the motor acceleration column:
- InProperties, next toColumns, selectAddText column.
- Double-click the column name and enterMotorAccelerationCol
- UnderDataItemTemplate, create a dynamic link betweenTextand .For more information about dynamic links, see create-dynamic-links.html.
- SetTitletoAcceleration
- Create the motor torque column:
- InProperties, next toColumns, selectAddText column.
- Double-click the column name and enterMotorTorqueCol
- UnderDataItemTemplate, create a dynamic link between theTextproperty and .For more information about dynamic links, see create-dynamic-links.html.
- Set theTitleproperty value toTorque
- Save the project.
- InProject view, right-click theOPC-UAfolder and select .
- InProperties, take a note of theEndpoint URLproperty value.NOTE: You need theEndpoint URLproperty value to configure the OPC UA Client later on.
- OBJECT EXAMPLES
- InProject view, create or select aCombo boxobject.
- InProperties, create a dynamic link between theModelproperty and a node.Selected nodeCombo boxDatabase objectValues contained in database tables.Project nodeValues of attributes or properties of all direct child nodes.For more information about dynamic links, see create-dynamic-links.html.
- (optional) Specify the kind of items to display in the object by settingItemKind.TIP:TheItemKindproperty is automatically set with the object or variable type recognized among the child nodes.For example, if the model is based on a folder node that contains several instances of aMotorobject type,ItemKindis automatically set with the reference to theMotortype. In this case, the values that display are the attributes or properties of different instances (Motor1,Motor2,Motor3, and so on).
- (optional) Sort items by settingSort orderandOrder byvalues.
- (optional) InEvents, associateSelection changedwith theRefreshmethod.The items contained in the object refresh each time you interact with it.
- Configure chart labels by creating a dynamic link betweenLabeland a variable argument (for example,@BrowseName).
In to run the project using the client emulator to test your project. To run the project on a remote client, see add-a-client-device.html.
FactoryTalk Optix Studio
, select Run
In to run Server and Client projects using the client emulator to test your project. To run the project on a remote client, see add-a-client-device.html.
FactoryTalk Optix Studio
, select Run
Provide Feedback