BSSET, BSSETOCT – Binary Structure - Set a single value of given type

Block SymbolsLicensing group: ADVANCED
PIC PIC

Function Description
This group of blocks is used for setting values into a binary structure (byte array). The function is the inverse of the BSGET and BSGETOCT blocks, i.e. all signals have the same meaning, only the data is copied in the opposite direction - from the u input to the binary structure represented by the byte array connected to the uVec input. The block modifies the binary structure only if HLD=off.

Inputs

HLD

Hold

Bool

uVec

Binary Structure (array of bytes) input

Reference

uOffset

Offset to start in the input Binary Structure (in bytes)

Long (I32)

u

Scalar value input (scalar type defined by parameter)

Any

Outputs

yVec

Copy of the uVec input, for easy chaining

Reference

yOffset

Offset after the last processed byte of the input Binary Structure (in bytes), for easy chaining

Long (I32)

Parameters

m

Number of active items (for multi-blocks)   1  8 8

Long (I32)

BE

Big-Endian byte order (default is Little-Endian, e.g. Intel)

Bool

type

Data type of item   2  10 2

Long (I32)

2023 © REX Controls s.r.o., www.rexygen.com