GetID (FUN)

FUNCTION GetID : DWORD

Get the ID of a Profinet Slave or Module from a DED.IDevice - object in the device tree.

This ID may be used for function blocks of the CommFB or ProfinetCommon libraries.

InOut:

Scope

Name

Type

Comment

Return

GetID

DWORD

Input

pnDevice

DED.IDevice

A node in the device tree that is an instance of IDevice