.

Model List

Overview

Overview

The Model List block defines the list of models to download the blocks to. This block allows the same blocks to be loaded into multiple models. The input axis numbers and output motor numbers for these repeated models will either be absolute or defined by the model list. If these input and output numbers are defined by the Model List, the number is either defined by the model number, or a number relative to the model number.

The following parameters are used to configure this block at load time:

 
Model List Defines the models to download the blocks to.

Matlab/Simulink

Simulink Interface

1

The Model List block specifies a list of model numbers used to load the model. The model numbers to be used are defined by the parameter Model List. The blocks defined in the model will be downloaded to these listed model numbers.

2

The input block Axis numbers and output block Motor numbers defined in the blocks will determine the numbers that are used by MechaWare.

There are three ways that these numbers will be defined when used in conjunction with the model number:Absolute Numbering, Absolute Model List Numbering, or Relative Model List Numbering.

Absolute Numbering
If the numbers are defined in the input and output blocks, then these numbers are used by all models regardless of the model list numbering.

Absolute Model List Numbering
If the numbers in the input and output blocks are a dot “.” the numbers are defined by the model listing.

Relative Model List Numbering
If the model numbers are a dot “.” followed by a relative offset, then the numbers are defined by the model list numbers offset by this offset. The offset is defined by +/- number. For example if “.+1” is defined as the block input or output number, the input or output number is defined by the model list numbers plus one.

Below are some examples using an Error Block and an Output Block:

For the following model

If the Axis list is defined as 0,2 as below, two models defined by the blocks will be downloaded to the controller. The blocks in the model will be downloaded to models 0 and 2.

2

The Error block's input Axis numbers and the Output Block Motor Numbers will be determined at download time, based on the numbers that are loaded into these blocks and the model numbers. These numbers will be determined by the three following methods: Absolute Numbering, Absolute Model List Numbering, or Relative Model List Numbering.

 

Absolute Numbering

If the Axis Number is defined by a number in the Error Block, then this number will be used for both models loaded to the controller. For the case below, with the axis number defined as 4, Model 0’s error input and Model 2’s error inputs will both come from Axis 4.

model list

 

Absolute Model List Numbering

If the error Axis number is defined by a dot “.” as below, then the axis number is defined by the model numbers. For the case below, model 0’s error will come from Axis 0, and model 2’s error will come from Axis 2.

2

 

Relative Model List Numbering

If the error Axis number is relatively defined as below, then the axis number is defined by the model numbers with the relative offset defined. For the case below, model 0’s error will come from Axis 3 (0+3), and model 2’s error will come from Axis 5 (2+3).

2

 

C++ API

MODELLISTBlock

There is no API interface for this block

See Also

Actual Position
Command Position
Command Acceleration
Command Velocity
Error
Feedback
Noise Generator
Output
Reset Status

 

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