. |
IO Input Mechaware API Documentation >Input
OverviewOverviewDescription The IO Input block is used for reading a discrete bit from a Node IO. Data Type defines the data type of the target I/O field: can be float (32 bits) , double (64 bits), short integer (16 bits), integer (32 bits) and long integer (64 bits). The Bit Number defines which bit to write to. Bit 0 is always the LSB. The MSB depends on the word type: 15 for short integer, 31 for float and integer, and 63 for double and long integer. Note: The input is read at the update rate, which is specified by the Evaluate Block Example
The configuration values for this block are as follows:
Matlab/SimulinkSimulink InterfaceThe Node Number of the IO Input specifies the index of the desired Node. The Bit Number defines which bit should be used for the input. Bit 0 is always the LSB for the input. The MSB depends on the word type: 15 for short integer, 31 for float and integer, and 63 for double and long integer. 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++ APIIO_INPUTBlockDeclaration Public Method
Description The IO_INPUT block is used to access specific node and motor I/O flags. For more information, see Overview.
Methods See Also
|
| | Copyright © 2001-2012 Motion Engineering |