The commands of the mechanism are the driven DOF (degrees of freedom) of the joints of the
mechanism. In the generated Modelica representation, the joints with driven DOF are
converted into joints with visible flanges.
For each command of the mechanism, a corresponding flange connector is created in the
generated model. That flange connector is internally connected to the flange of the joint.
These connectors are intended to be driven by force or torque inputs. To drive a connector
by position, you must, depending on the type of joint, specify the
rotationControl or translationControl
parameter of the corresponding joint to By position. (The default
value is By force.) In the generated model, a small ruler is present
on the icon of the joint if it is driven by position.
In the diagram and icon layer, the flange connectors corresponding to mechanism commands
are located at the bottom of the diagram layer and icon layer. They are equally distributed
along the width of the model.
For joints that are not controlled at all, that is, they are not connected to any command
in the mechanism, the rotationControl, or
translationControl parameter (depending on type of joint) is
specified to None. This means that no corresponding flange connector
is created in the generated model.
If mechanical motors are attached to commands, these motors can optionally be included in
the generated Modelica code. If you select to include mechanical motors, motors instead of
simple connectors are instantiated from the CATIAMultiBody library in the generated code to
implement such motors in Modelica. These motors use the same equations as the motors in the
Physical mechanism.
Note:
The Max Force specification that can be
found in the Motor definition is not taken into account when generating the Modelica code.