CHCPeerAddress (STRUCT)

TYPE CHCPeerAddress : STRUCT

InOut:

Name

Type

Initial

Comment

dwStructSize

DWORD

SIZEOF(THIS^)

addrType

CHCAddressType

/ Determines whether the specified address is a relative OR an absolute address.

nAddrOffset

DINT

Only valid, if type==AT_RELATIVE. Contains the negative number of address components to move up in the node tree, before going down the path specified in pAddress. (e.g. “-1” to move up one level). This field specifies the initial value of AdrIndex in router package header.

nAddrLength

UDINT

Number of valid elements in array pointed to by pAddress

nAddrComponentCount

UDINT

(SIZEOF(addrComponents) / SIZEOF(addrComponents[0]))

For possible extensibility of further address components

addrComponents

ARRAY [0..(MAX_NODE_ADDR_LEN - 1)] OF CHCAddressComponent