Motions are defined in our code with mathematical functions. You do not need to know the mathematics. The functions are displayed as graphs in MotionDesigner.
Each function has an input from which we get the variable output. The input to the function is a value on the X-axis of the motion graph. The output from the function is a value on the Y-axis.
To make a part in MechDesigner move with the motion as specified in the motion-graph in MotionDesigner, we must link the motion to a Motion FB in the MechDesigner model.
|•||The motion-values at the input-connector of a Motion FB are the X–axis values of the motion-graph.|
|•||The motion-values at the output-connector of a Motion FB become the Y–axis values of the motion-graph.|
When you start MechDesigner, there is one motion name-tab in MotionDesigner, which is Motion0. It becomes the default motion applied to any Motion FB you add to the model. Usually, you will need more than one motion.
STEP 1: Add new Motion tabs
Do Step 2 again, to add more motions.
The default motion-names in each name-tab become Motion0, Motion1, Motion2...
STEP 2: Rename the Motions
It is easy to rename each motion:
You will need to link a motion, identified by a motion name-tab in MotionDesigner, with a Motion FB that you add to the model in MechDesigner.
STEP 1: Add a Motion FB to the graphic-area
The Motion FB is now in the graphic-area.
The Motion FB is linked automatically to the left-most Motion name-tab in MotionDesigner.
STEP 2: Open the Motion FB dialog-box
The Motion FB is now in the Selection-Window
The Motion FB dialog-box is now open.
STEP 3: Link the Motion FB in MechDesigner to the Motion name in MotionDesigner
To select a motion name in the Motion FB dialog-box:
STEP 4: Close the Motion FB dialog-box