. |
Demand Mechaware API Documentation >Output
OverviewOverviewDescription The Demand is an output that is mapped to one of the Demand outputs of a motor. Each motor has 5 Demand outputs, and to operate a motor, one or more of these demand channels is required. For a standard Torque Mode model, only Demand Channel 0 is used (or the Torque Output block can be used). In a Velocity Mode model, Demand Channel 2 can be used to output raw torque for feed forwards, similar to velocity feed forward, acceleration feed forward and friction feed forward. However, the velocity is controlled by demand channel 3, where a velocity value should be commanded. Position Mode requires demand channels 2-4. Where Position, Velocity, and feed forward torques are specified. The block is updated at the update rate, determined by the Evaluate Block.
Matlab/SimulinkSimulink InterfaceThe Motor Number of the Demand block specifies which Motor object is used for output. The Channel defines which demand channel on the motor is written with the Demand value. The block's update schedule is determined by the Evaluate Block. The following Parameter Dialog Box is opened by double-clicking on the block in a Simulink Model:
C++ APIDEMANDBlockDeclaration Public Method
Description The Demand block is used to connect the outputs of a model. Methods |
| | Copyright © 2001-2012 Motion Engineering |