NSC_NodeInfoInt (STRUCT)

TYPE NSC_NodeInfoInt : STRUCT

InOut:

Name

Type

Comment

wInfoVersion

UINT

can be used to decide which members are valid. In case of wVersion=VersionWithoutDeviceId the vendor- and the device name will not be valid

uiMaxChannels

UINT

bIntelByteOrder

BOOL

uiParentAddrSize

UINT

uiNodeNameLength

UINT

uiDeviceNameLength

UINT

uiVendorNameLength

UINT

udiTargetType

UDINT

udiTargetId

UDINT

udiTargetVersion

UDINT

bDynamicallyAllocatedNodeName

BOOL

IF True then the member pwsNodeName has to be used instead of wsNodeName!

bStaticNodeNameOverflow

BOOL

If True then the wsNodeName will contain some data but it is cut at the end!

wsNodeName

WSTRING(Constants.MaxStaticNodeNameLength)

fixed length wstring, only if <see cref=”bDynamicallyAllocatedNodeName”> = FALSE

pwsNodeName

POINTER TO WSTRING

arbitrary length wstring, only if <see cref=”bDynamicallyAllocatedNodeName”> = TRUE

bDynamicallyAllocatedDeviceName

BOOL

for the meaning <see cref=”bDynamicallyAllocatedNodeName”>

bStaticDeviceNameOverflow

BOOL

for the meaning <see cref=”bStaticNodeNameOverflow”>

wsDeviceName

WSTRING(Constants.MaxStaticDeviceNameLength)

fixed length wstring, only if <see cref=”bDynamicallyAllocatedDeviceName”> = FALSE

pwsDeviceName

POINTER TO WSTRING

arbitrary length wstring, only if <see cref=”bDynamicallyAllocatedDeviceName”> = TRUE

bDynamicallyAllocatedVendorName

BOOL

for the meaning <see cref=”bDynamicallyAllocatedNodeName”>

bStaticVendorNameOverflow

BOOL

for the meaning <see cref=”bStaticNodeNameOverflow”>

wsVendorName

WSTRING(Constants.MaxStaticVendorNameLength)

fixed length wstring, only if <see cref=”bDynamicallyAllocatedVendorName”> = FALSE

pwsVendorName

POINTER TO WSTRING

arbitrary length wstring, only if <see cref=”bDynamicallyAllocatedVendorName”> = TRUE

bDynamicallyAllocatedParentAddr

BOOL

for the meaning <see cref=”bDynamicallyAllocatedNodeName”>

bStaticParentAddrOverflow

BOOL

for the meaning <see cref=”bStaticNodeNameOverflow”>

addrParent

ARRAY [0..Constants.MaxStaticParentAddrLength] OF NSC_AddrComponent

fixed length array, only if <see cref=”bDynamicallyAllocatedParentAddr”> = FALSE

pAddrParent

POINTER TO NSC_AddrComponent

arbitrary length array, only if <see cref=”bDynamicallyAllocatedParentAddr”> = TRUE