Integrating moving objects into your EasyBuilder Pro projects offers a compelling visualization tool that can significantly elevate their visual appeal. In this post, we will delve into the fundamental steps of setting up moving objects within your projects.
EasyBuilder Pro 6.05.02.712+
Navigate to the “Object” tab and select the “Animation” icon, you will find the “Moving/Rotating Shape” option:
In the “General” tab you can configure the read address of the object.
[a]: Click on “Usage” in the “Read” section to see which memory address corresponds to the movements of the object. Within this example, LW-1 will control the movements of the object along the X-axis.
[b]: Within the “Attributes” section, specify the number of states your moving object will have. Then, for each state, define the movement ratio.
[c]: In the “Position” section, “Mode” will allow you to choose in which directions your object will move. In the example below, the object can move along the X and Y axis.
[d]: In the “Rotate” section, “Mode” will allow you to choose in what directions your object will rotate or if it will. In the example below, when the object needs to rotate it will do so in a clockwise format.
[e]: To impose restrictions on the object’s movement along the X and Y axis or control the degree of rotation, opt for the “Limit Register” feature. Then, access the “Usage” hyperlink to identify the registers where limiting values can be inserted to restrict the object’s motion:
In the “Shape” tab of the object, you can configure the look of your object. This includes [A] changing the picture, [B] changing the color of the object, or [C] using a shape to indicate the object’s current state:
In the example below, “Numeric” objects are used to changes the objects state, X-axis coordinate, and object rotation. Each address aligns with what was specified in the “Usage” window within the “Read” section of the object’s properties menu:
Upon configuring limitations for your object’s movement, it’s imperative to actively read the defined limits. Failure to do so will result in a non-responsive object.