DeviceInfo (STRUCT)
TYPE DeviceInfo : STRUCT
This data structure assembles device identification data and basic information on the connection status.
- 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.
xEnabledBOOLdevice enabled
xRunningBOOLSlave is in cyclic data exchange.
xErrorBOOLCommunication error. PNIOStatus displays reason.
PNIOStatusUDINTThe current PNIO Status of the device.
xDiagnosisBOOLAny module of the slave has a diagnosis entry.
xModuleDiffBOOLThe module configuration is not matching (wrong or missing).