HOST_TO_BE16

HOST_TO_BE16 1:

The function performs a host-to-network conversion of a 16-bit number. See also under: Byte Order.

FUNCTION HOST_TO_BE16: WORD

VAR_INPUT

VAR_INPUT
    in : WORD;
END_VAR

in: Number to be converted.

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_Utilities (System)