SETPA – Block for remote array parameter setting

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SETPA block is used for setting the array parameters of other blocks in the model remotely . The block operates in two modes, which are switched by the SETF parameter. For SETF = off the remote parameter cs is set to the value of the input vector signal arrRef at the start and every time when the input signal changes. If the SETF parameter is set to on, then the block works in one-shot write mode. In that case the remote parameter is set only when rising edge (off on) occurs at the SET input.

The name of the remote parameter is determined by the string parameter sc (string connection), which has the form <block_path:parameter_name>. The path to the block whose parameter should be read can contain hierarchic levels separated by dots followed by the block name. The path can be either relative or absolute:

The order and names of individual hierarchic levels are displayed in a tree structure in the RexView program.

Inputs

arrRef

Array reference

reference

SET

Input for initiating one-shot parameter write

bool

Output

E

Error flag

bool

Parameters

sc

String connection to the parameter

string

SETF

Continuous or one-shot mode

bool

off ..

Remote parameter is continuously updated

on ...

One-shot mode, the remote parameter is updated only when forced to by the SET input (rising edge)

SETS

Set array size flag. Use this flag to adjust the size of array when setting the parameter.

bool