DeviceInfo (STRUCT)¶
TYPE DeviceInfo : STRUCT
- 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
Currently configured IP-address, subnetmask, gateway.
MAC
ARRAY [0..5] OF BYTE
MAC address of the connected device (or empty, if not connected)
xEnabled
BOOL
Device is 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. 0xFFFFFFFF means ‘undefined’, 0 means ‘OK’.
xDiagnosis
BOOL
Some module of the slave has diagnosis entries.
xModuleDiff
BOOL
The module configuration is not matching (wrong or missing).
xDataValid
BOOL
IO-data of device is valid (IO-PS/-CS of all active modules is GOOD)