HIBYTE
Function - Get the most significant byte of a word
Inputs
Input |
Data type |
Description |
IN |
UINT |
16 bit register. |
Outputs
Output |
Data type |
Description |
Q |
USINT |
Most significant byte. |
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 := HIBYTE (IN);
FBD Language
LD Language
The function is executed only if EN is TRUE.
ENO keeps the same value as EN.
HIBYTE |
IEC 61131-3 Automation platform > Programming - Reference guide > Registers > HIBYTE |
Created with the Personal Edition of HelpNDoc: Elevate Your Help Documentation with a Help Authoring Tool