CmpInstanceComponent
(FUN)
FUNCTION CmpInstanceComponent : INT
Helper function for CmpInstancePaths: compares two components of instance paths.
Returns a value > 0 if component 1 comes after component 2, 0 if they are equal, and a value < 0 if component 1 comes before component 2.
- InOut:
Scope
Name
Type
Return
CmpInstanceComponent
INT
Input
pCmp1
POINTER TO BYTE
udiLen1
UDINT
pCmp2
POINTER TO BYTE
udiLen2
UDINT