SysMemSet (FUN)

FUNCTION SysMemSet : POINTER TO BYTE

By use of this function a memory space is initialized with a specified value RETURN: Pointer to the memory block which was initialized. 0 if the operation failed

InOut:

Scope

Name

Type

Comment

Return

SysMemSet

POINTER TO BYTE

Input

pDest

POINTER TO BYTE

Pointer to memory block to initialize

udiValue

UDINT

Value with which the memory is to be initialized

udiCount

__XWORD

Number of bytes to be initialized in the memory block