MAKEWORD
Function - Builds a word as the concatenation of two bytes.
Inputs
|
Input |
Data type |
Description |
|
HI |
USINT |
Highest significant byte. |
|
LO |
USINT |
Lowest significant byte. |
Outputs
|
Output |
Data type |
Description |
|
Q |
UINT |
16 bit register. |
Remarks
In LD language, the operation is executed only if the input rung (EN) is TRUE. The output rung (ENO) keeps the same value as the input rung.
ST Language
Q := MAKEWORD (HI, LO);
FBD Language

LD Language
The function is executed only if EN is TRUE.
ENO keeps the same value as EN.

MAKEWORD |
|
IEC 61131-3 Automation platform > Programming - Reference guide > Registers > MAKEWORD |
Created with the Personal Edition of HelpNDoc: Create Professional CHM Help Files with HelpNDoc's Easy-to-Use Tool

