Function - Builds a byte with bits.

Inputs

Input

Data type

Description

IN0

BOOL

Less significant bit.

IN7

BOOL

Most significant bit.

Outputs

Output

Data type

Description

Q

USINT

Byte built with input bits.

Remarks

In LD language, the input rung is the IN0 input. The output rung (ENO) keeps the same value as the input rung.

ST Language

Q := PACK8 (IN0, IN1, IN2, IN3, IN4, IN5, IN6, IN7);

FBD Language

Fixed_Image

LD Language

ENO keeps the same value as EN.

Fixed_Image

Fixed_Image See also

UNPACK8


Created with the Personal Edition of HelpNDoc: Transform Your CHM Help File Creation Process with HelpNDoc