DeviceInfo (STRUCT)

TYPE DeviceInfo : STRUCT

This data structure assembles device identification data and basic information on the connection status.

InOut:

Name

Type

Comment

ID

DWORD

unique (within project) ID of device. Use with CommFB function blocks.

StationName

STRING(240)

stationname of the Profinet device

VendorID

UINT

vendor ident. number

DeviceID

UINT

device / product ident. number

Instance

UINT

instance number

IPSettings

IPParameterValue

currently configured IP-address, subnetmask, gateway.

xEnabled

BOOL

device enabled

xRunning

BOOL

Slave is in cyclic data exchange.

xError

BOOL

Communication error. PNIOStatus displays reason.

PNIOStatus

UDINT

The current PNIO Status of the device.

xDiagnosis

BOOL

Any module of the slave has a diagnosis entry.

xModuleDiff

BOOL

The module configuration is not matching (wrong or missing).