.

User

Overview

Overview

The User block is used to call a dynamically loaded function written by the user. The user block is a Multi Input Multi Output block (MIMO) .  Block configurations currently supported are 1 x1, 2x2 4x4 8x8, and 16x16, Input x Output parameters addition, An array of Simulink-configurable coefficients are made available to the user function for which to base its calculations.

The configuration values for this block are as follows:

User Function


K0, K1, ... , K15 Constants for use in the user provided function.
Evaluate Block This block allows you to specify whether the block executes Every Sample, Every Other Sample (Odd or Even), Every Fourth Sample (and specify the First, Second, Third, or Fourth) or in the background. This provides greater flexibility in controlling the execution of a model and preserves performance for other areas of motion control.
User Defined Block Priority When selected, allows you to enter a Priority Code to modify Execution Ordering of this block. For more information, see Block Execution Order and User Defined Block Priority.
Priority For an explanation of how the Priority field is used by the MechaWare Model Downloader, see Block Execution Order and User Defined Block Priority.
User Data 0 Application-specific data. See User Data Storage.
User Data 1 Application-specific data. See User Data Storage.

Matlab/Simulink

Simulink Interface

The blocks have 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++ API

UserBlock

There is no C++ API for this block.

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2012 Motion Engineering