SysMemCmp (FUN)

FUNCTION SysMemCmp : DINT

Compares the content of two buffers RETURN: Returns 0 if the buffer contents are equal, else !=0

InOut:

Scope

Name

Type

Comment

Return

SysMemCmp

DINT

Input

pBuffer1

POINTER TO BYTE

Address of first memory area (buffer 1)

pBuffer2

POINTER TO BYTE

Address of second memory area (buffer 2)

udiCount

__XWORD

Number of bytes to be compared