HOST_TO_BE32

HOST_TO_BE32 1:

This function converts host (little endian, intel) 32 bit number to network (big endian, motorola) format. See also: Byte Order.

FUNCTION HOST_TO_BE32 : DWORD

VAR_INPUT
    in      : DWORD;
END_VAR

in: Number to be converted.

Requirements

Development Environment

Target System Type

PLC Libraries to include

TwinCAT v2.10.0 Build >= 1327

PC or CX (x86, ARM)

TcUtilities.Lib