Create Motor objects
Create sample Motor object data to populate the list box and gauges.
- InProject view, right-clickModeland select .
- Hover-over the object, selectEditMotor.
- Add and configure variables:
- InProperties, at the top, add two variables by selectingAddVariable.
- Rename the variables by hovering-over each variable, selectingEdit
- Speed
- Acceleration
- Convert the Model object into an object type:
- InType view, double-clickModel.
- FromProject view, dragMotorintoType view.
- Create and organize Motor object instances:
- InProject view, right-click theModelfolder and select .
- Hover-over the folder, selectEditMotorObjects.
- InProject view, dragMotorinto theMotorObjectsfolder.
- Create nine Motor object instances by draggingMotorTypefrom theType viewpane into theMotorObjectsfolder in theProject viewpane.
- Configure each Motor instance:
- InProject view, select a motor.
- InProperties, set theAccelerationandSpeedproperties values.You can enter any values of the valid type.For example, enter:PropertyValueAcceleration1Speed11
Provide Feedback