LoByte

PLCopen motion icon

 Function - Get the lowest byte of a word.

Inputs

Input

Data Type

Range

Unit

Default

Description

IN

UINT

 

 

 

16-bit register.

Outputs

Output

Data Type

Range

Unit

Description

Q

USINT

 

 

Lowest significant byte.

Remarks

None

FBD Language Example

FFLD Language Example

  • In the FFLD 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.
  • The function is executed only if EN is TRUE.
  • ENO keeps the same value as EN.

IL Language Example

Not available.

ST Language Example

Q := LOBYTE (IN);

See Also