UtilsWriteUINT (FUN)

FUNCTION UtilsWriteUINT : UDINT

Writes an UINT to an IServiceWriter instance.

InOut:

Scope

Name

Type

Comment

Return

UtilsWriteUINT

UDINT

0 if the processing was successful.

Input

itfServiceWriter

IServiceWriter

The IServiceWriter instance, where the data has to be written to

uiTag

UINT

The tag used for identifying the data

uiValue

UINT

The UINT value, that has to be written

xHasToSwap

BOOL

Flag, indicating, whether the bytes of the UINT value have to be swapped