PACK8
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
LD Language
ENO keeps the same value as EN.
|
PACK8 |
IEC 61131-3 Automation platform > Programming - Reference guide > Registers > PACK8 |
Created with the Personal Edition of HelpNDoc: Transform Your CHM Help File Creation Process with HelpNDoc