. |
Motor General Input Mechaware API Documentation > Input
OverviewOverviewDescription The Motor General Input block is used to read a single bit of data from the Motor General Input memory. This memory often contains state information for general Inputs/Outputs, and varies from device to device. The block is updated at the update rate, determined by the Evaluate Block.
Matlab/SimulinkSimulink InterfaceThe Motor Number of the Motor General Input block specifies which Motor object will be used for input. The Bit Number defines which bit should be used for the input. Bit 0 is always the LSB for the input. The MSB is 31. The block has two user data fields (User Data 0, User Data 1) to store application-specific data for convenient storage and retrieval. For more information, see User Data Storage. The block's update schedule is determined by the Evaluate Block. The following Parameter Dialog Box can be opened by double-clicking on the block in a Simulink model:
C++ APIMOTOR_GENERAL_INPUTBlockDeclaration Public Method
Description The Motor Dedicated Input block is a special case of the Bit Input block. Used as a convenient way of targeting the motor’s input bits, abstracting the need for a source address and data type. See Overview for more information. Parameters
Methods Motor Dedicated Input | mpiMotorGeneralIn |
| | Copyright © 2001-2012 Motion Engineering |