. |
Memory Out with Enable Mechaware API Documentation >Output
OverviewOverviewThe Memory Out with Enable block is used to output a MechaWare block’s output to an internal memory location, other than those provided by the standard blocks. Any internal variable on the controller can be written to by the MemoryOut blocks. Note: Memory is only written to on samples where the Enable input is high (non-zero). The Memory Address defines the internal variable memory location that is written to by this block. The data type of the internal variable that is written to can be float (32 bits), double (64 bits), integer (32 bits) or a long integer (64 bits). Example
The configuration values for this block are as follows:
Matlab/SimulinkSimulink InterfaceThe Memory Address of the MemoryOut block specifies which memory location the block is writing to. The address is in hexadecimal format. Addresses for output variables can be obtained using VM3. 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++ APIMEMOUT_ENBlockDeclaration Public Method
Description The Memory Output with Enable block is used to output to memory locations other than those provided by the standard output blocks. Any internal variable on the controller can be written to using the Memory Output with Enable block. For more information, see Overview. Parameters
Methods See AlsoMemory | Noise Generator | Actual Position | Command Position | Position Error | Memory User Buffer | Command Acceleration | Command Velocity | Torque Output | Memory Out | Memory Out User Buffer | Scope | Feedback | Reset Status | Test In | Test Out
|
| | Copyright © 2001-2012 Motion Engineering |