Description

Bit/integer operation of an analog value.

Function

This function block is mainly used to perform bit operation on analog values, which is often seen in Modbus communication when the Client reads some synthetic data such as general alarm, DI and DO from the Server.

Input

PIN

Description

Input

Analog value, normally an integer. If it isn’t, only the integer part is taken (not rounded).

Output

PIN

Description

Output

A value getting from switching outputs 0...15 or taking from the integer part of a decimal (not rounded), depending on how you've selected for the function block.

Example 1

Fan fault alarm and filter alarm take Bit0 and Bit1 of the main alarm respectively.

Example 2

The temperature setpoint of the Server is got from the integer part of that of the Client.