Options in the Rotation tab
The following table shows the options under
Expression
.Options | Description |
---|---|
Expression | Specify a tag name or an expression that will evaluate to numeric values at runtime. An expression is a mathematical or logical equation that returns a value. It can contain tag names, constants and mathematical, relational, logical and/or bitwise operators. A tag name can be used as an expression. |
The following table shows the options under
Expression range
.Options | Description |
---|---|
Use tag's min and max property values | If you have specified a tag in the Expression box, click this button to use the tag's minimum and maximum values to define the range of values for the expression. This option only applies to tags for which minimum and maximum can be defined, such as HMI tags. |
Use constant | To use constant numeric values to define a range of values, click this button and specify values for minimum and maximum. |
Read from tags | To define the range of values using one tag's value for the minimum and another tag's value for the maximum, click this button and then specify a tag for minimum and another for maximum. Using this option, when the animation for an object is started, the tags' values are read once to set the minimum and maximum values. The tags are not read again after, nor are the minimum and maximum values changed. |
The following table shows the options under
Rotation (Degrees)
.Options | Description |
---|---|
Rotation (Degrees) | Use positive values for clockwise rotation and negative values for counter-clockwise rotation. |
At minimum | Specify the angle of rotation, in degrees, that the object is to be when the expression evaluates to its minimum value. The default rotation of the object is 0 degrees for the position it is in when it is selected. |
At maximum | Specify the angle of rotation, in degrees, that the object is to be when the expression evaluates to its maximum value. You can also determine the angles visually by using Rotate from the Objects menu to turn the object to the position you want for the minimum rotation position, then clicking the At Minimum check box. Repeat the process for the maximum rotation position. The values in the boxes will reflect the minimum and maximum rotation positions of the object. |
The following table shows the options under
Center of rotation
.Options | Description |
---|---|
Center of rotation | The center of rotation, or offset, determines the anchor point about which the object will rotate. The default is 0,0, which is the geographic center of the object. The anchor point can be moved anywhere inside or outside the object. If it is outside, the object can appear as if it is moving in an arc. Offset is expressed in pixels. You can click one of the nine buttons to specify the center of rotation, or click the tenth button beside the data input box, then type offset values, in pixels, in the box. |
Provide Feedback