SIS function blocks > SIS Math Blocks > Logic Solver Calculation function block > Expressions in DeltaV SIS Software > Functions in Logic Solver Expressions

ASR16 function

Arithmetic shift a value right a specified number of bits. This is an emulation of PROVOX ASR in a DeltaV expression. This function assumes the operand is 16-bit.

Syntax:

'external reference' := ASR16(value, shift bits);

Example:

'OUT1' := ASR16(IN1, 1);

If IN1 is 1024, OUT1 is 512