Page Tree
Other Releases
Dynamics let you configure real-time changes for an object's look, position, size, colors, the value the object reflects, the user action for when a user clicks, and more. This dynamic behavior is configured by creating links between the object properties, tags, or other runtime properties for the project.
In some systems, "animation" is used to refer to these dynamic runtime changes. For FactoryStudio, we elected to use the term "Dynamics" to provide a clear distinction with the WPF animations features. WPF animations also refer to changes that occur in a graphic's object properties when running the displays. This occurs when timers and other object statuses are used to guide the animation, not real-time database values.
When you double click on an object, press the Dynamics button, or select it on the right-click context menu, a list is presented of compatible dynamics that can be applied to the selected object.
Dynamics animations | |
Setting | Description |
Action | Executes actions and commands triggered by the user interface. |
Shine | Changes the object appearance dynamically. |
TextIO | Text input and text output Dynamic. |
HyperLink | Opens a hyperlink. |
Security | Sets the object runtime permissions to execute actions. |
FillColor | Changes the object fill color dynamically. |
LineColor | Changes the object line color dynamically. |
TextColor | Changes the object text color dynamically. |
Bargraph | Bargraph dynamic. |
Visibility | Changes the object visibility and opacity dynamically. |
MoveDrag | Moves the object dynamically. |
Scale | Changes the object size dynamically. |
Rotate | Rotates the object dynamically. |
Skew | Skews the object dynamically. |
TextOutput | Text output dynamic. |
On this page: | ||||||
---|---|---|---|---|---|---|
|
Page Tree | ||
---|---|---|
|
Get, Apply, and Replace
After adding a dynamic to an object, the buttons Get and Apply can be used to move the dynamic's settings configuration from one object to another. Select the object with the dynamics you want to use, and click on Get. Right click the dynamic name in the left panel, in order to enable or disable the ones that will be applied. Select one or more target objects and press Apply.
You can use the Replace button to change the tags in the dynamics of the selected objects. The String button is used to change all of the strings for the selected objects.
The tables below lists the settings available for each type of dynamic.
Action Dynamic configuration | |
Setting | Description |
Action | Executes an action triggered by the user interface. |
Event | Choose events for a mouse's actions. More than one event can be selected for each action. For example, you can set one action for MouseLeftButtonDown and another action for MouseLeftButtonUp. |
Action | Select an action for the given event:
|
Info | ||
---|---|---|
| ||
Run Expressions Examples:
Expression—Tag.quantity1 + Tag.quantity2.
Expression—tagCounter + 1.
Expression—If(tagCounter < 10,tagCounter + 1,0). |
Shine Dynamic configuration | |
Setting | Description |
Shine | Changes the object appearance dynamically. |
IsMouseOver | Enter a tag that will receive the OverValue or the NotOverValue. |
OverValue | The IsMouseOver value when the mouse is over the object. |
NotOverValue | The IsMouseOver value when the mouse is not over the object. |
Mouse Over Appearance | The object appearance when the mouse is over it.
|
Mouse Not Over Appearance | The object appearance when the mouse is Not over it:
|
Is Selected Appearance | The object appearance when it is selected:
|
Scale Reference |
|
ShowUid | Set to show the Uid of the object on hover |
Tooltip | Set to show as a tooltip on hover |
Text I/O Dynamic configuration | |
Setting | Description |
TextIO | Text input and text output Dynamic. If text is a tag value or a property, it must be between curly brackets. For example: {Tag.analogInt1} |
Binding Mode | Associate an object with a tag:
|
Object or Expression | Object (input) or Expression (output only) connected with the Text Box. |
DesignModeCaption | The value shown in design mode:
|
Input Range | Defines the numeric range for the entered value. |
MaxLength | Defines the maximum number of characters. |
Format | Defines the text format for the field |
Hyperlink Dynamic configuration | |
Setting | Description |
HyperLink | Opens a hyperlink. |
HyperLinkType | Select the hyperlink type:
|
Url | Set the URL to open. |
Security Dynamic configuration | |
Setting | Description |
Security | Set the object runtime permissions. |
Disable | Enter a tag, a property, or an expression returning a value. If the resulting value is:
|
Verify Permissions | When selected, only the chosen permission groups can access the object. |
Confirm Message | Shows a confirmation dialog before taking some action:
|
ESign Required | Set if the Esign is required |
Fill, Line, and Text Color Dynamic configuration | |
Setting | Description |
FillColor | Changes the object fill color dynamically. |
Expression | The value used for the FillColor dynamic. |
Change Color |
|
Bad Quality | Select color when the related tag quality is bad. |
Undefined Quality | Select color when the related tag quality is undefined. |
LineColor | Changes the object line color dynamically. |
Expression | The value used for the LineColor dynamic. |
Change Color |
|
TextColor | Changes the object text color dynamically. |
Expression | the value used for the TextColor dynamic. |
Change Color |
|
Bargraph Dynamic configuration | |
Setting | Description |
Bargraph | Bargraph dynamic. |
Expression | The value used for the bargraph dynamic. |
Value Range | The minimum and maximum values that will correspond to the minimum and maximum fill percentage. |
Fill (%) | The minimum and maximum bargraph fill percentage. |
Bar Color | The bar graph color. |
Orientation | The bar graph orientation: |
Visibility Dynamic configuration | |
Setting | Description |
Visibility | Changes the object visibility and opacity dynamically. |
Visible | Enter a tag, a property, or an expression returning a value. If the resulting value is:
|
Hide when security is enabled | Hides the component when security is enabled for the current user. |
Opacity |
|
MoveDrag Dynamic configuration | |
Setting | Description |
MoveDrag | Moves the object dynamically. |
BindingMode |
|
Horizontal Move |
|
Vertical Move |
|
Use previous object for position reference | Reference the current object's position based on the previous object |
Scale Dynamic configuration | |
Setting | Description |
Scale | Changes the object size dynamically. |
Width Scale |
|
Height Scale |
|
Scale Reference: |
|
Rotate Dynamic configuration | |
Setting | Description |
Rotate | Rotates the object dynamically. |
Expression | The value used for the rotation. |
Value Range | The minimum and maximum values that will correspond to the minimum and maximum angle. For example: 0 to 100. |
Angle | The minimum and maximum rotation angle. For example: 0 to 360. |
RPM | Number of rotations per minute. The value can be defined on Expression. |
Center Reference | Clockwise – Check if you want Clockwise. |
ON/OFF | Enter with the object property that will turn ON/OFF the Rotation Dynamic |
Skew Dynamic configuration | |
Setting | Description |
Skew | Skews the object dynamically. |
X-axis Skew |
|
Y axis skew |
|
Skew Reference |
|
TextOutput Dynamic
Table 15: TextOuput Dynamic configuration | |
Setting | Description |
TextOutput | Text output dynamic. |
Expression | Indicates the text that will be shown in the object. |
Localizable | Indicates whether the text must be translated when the dictionary changes. |
DesignModeCaption |
|
MaxLength | Defines the maximum number of characters. |
Format | Specify the format of the field |