DeviceInfo (STRUCT)
TYPE DeviceInfo : STRUCT
- InOut:
Name
Type
Comment
IDDWORDUnique (within project) ID of device. Use with CommFB function blocks.
StationNameSTRING(240)Stationname of the Profinet device
VendorIDUINTVendor ident. number
DeviceIDUINTDevice / product ident. number
InstanceUINTInstance number
IPSettingsCurrently configured IP-address, subnetmask, gateway.
MACARRAY [0..5] OF BYTE
MAC address of the connected device (or empty, if not connected)
xEnabledBOOLDevice is enabled
xRunningBOOLSlave is in cyclic data exchange.
xErrorBOOLCommunication error. PNIOStatus displays reason.
PNIOStatusUDINTThe current PNIO Status of the device. 0xFFFFFFFF means ‘undefined’, 0 means ‘OK’.
xDiagnosisBOOLSome module of the slave has diagnosis entries.
xModuleDiffBOOLThe module configuration is not matching (wrong or missing).
xDataValidBOOLIO-data of device is valid (IO-PS/-CS of all active modules is GOOD)