Macros | |
#define | MLPI_IO_FIELDBUS_SLAVE_ADDRESS_LEN ( 64 ) |
#define | MLPI_IO_FIELDBUS_DEVICE_NAME_LEN ( 81 ) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_ENABLE (0x0001) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DRIVER_AVAILABLE (0x0010) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_FOUND (0x0020) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_CONFIGURED (0x0040) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_ACTIVE (0x0080) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_BUS_ERROR (0x0100) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_ERROR (0x0200) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_DIAGNOSTIC_AVAILABLE (0x0400) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_PASSIVE (0x0800) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_OKAY(flags) |
#define | MLPI_IO_FIELDBUS_DIAGNOSIS_DIAG(flags) |
Typedefs | |
typedef struct MlpiIoDiagnosis | MlpiIoDiagnosis |
typedef struct MlpiIoHandle | MlpiIoHandle |
typedef struct MlpiIoFieldbusSlaveInfo | MlpiIoFieldbusSlaveInfo |
typedef struct MlpiIoFieldbusMasterInfo | MlpiIoFieldbusMasterInfo |
Enumerations |
List of used types, enumerations, structures and more...
#define MLPI_IO_FIELDBUS_SLAVE_ADDRESS_LEN ( 64 ) |
Maximum length of slave address.
Definition at line 281 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DEVICE_NAME_LEN ( 81 ) |
Maximum length of name of master or slave.
Definition at line 282 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_ENABLE (0x0001) |
Fieldbus diagnosis flag device enabled.
Definition at line 284 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DRIVER_AVAILABLE (0x0010) |
Fieldbus diagnosis flag driver available.
Definition at line 285 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_FOUND (0x0020) |
Fieldbus diagnosis flag device detected.
Definition at line 286 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_CONFIGURED (0x0040) |
Fieldbus diagnosis flag device configured.
Definition at line 287 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_ACTIVE (0x0080) |
Fieldbus diagnosis flag device active, bus active.
Definition at line 288 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_BUS_ERROR (0x0100) |
Fieldbus diagnosis flag bus error.
Definition at line 289 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_ERROR (0x0200) |
Fieldbus diagnosis flag general device error.
Definition at line 290 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_DIAGNOSTIC_AVAILABLE (0x0400) |
Fieldbus diagnosis flag diagnostic information available.
Definition at line 291 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_PASSIVE (0x0800) |
Fieldbus diagnosis flag passive mode of the second master in redundancy systems.
Fieldbus diagnosis flag combination 'okay'
Definition at line 292 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_OKAY | ( | flags | ) |
Fieldbus diagnosis flag combination 'diagnosis'.
Definition at line 295 of file mlpiIoLib.h.
#define MLPI_IO_FIELDBUS_DIAGNOSIS_DIAG | ( | flags | ) |
Fieldbus diagnosis flag combination 'error or diagnosis'.
Definition at line 314 of file mlpiIoLib.h.
MlpiIoDiagnosis |
This structure defines the diagnosis flag information of a fieldbus device.
Elements of struct MlpiIoDiagnosis
Type | Element | Description |
---|---|---|
ULONG | flags | Flag combination of fieldbus device diagnosis. |
MlpiIoHandle |
This structure defines the handle to a fieldbus device.
Elements of struct MlpiIoHandle
Type | Element | Description |
---|---|---|
ULONG | ident | Ident of fieldbus device. |
ULONG | hash | Hash of fieldbus device. |
MlpiIoFieldbusSlaveInfo |
This structure defines the information of a fieldbus slave.
Elements of struct MlpiIoFieldbusSlaveInfo
Type | Element | Description |
---|---|---|
MlpiIoHandle | handle | Handle of fieldbus slave. |
WCHAR16 | name | Name of fieldbus slave. |
MlpiIoDiagnosis | diagnosis | Diagnosis of fieldbus slave. |
WCHAR16 | address | Address of fieldbus slave. |
ULONG | numberOfInputs | Number of inputs. |
ULONG | numberOfOutputs | Number of outputs. |
MlpiIoFieldbusMasterInfo |
This structure defines the information about a fieldbus master.
Elements of struct MlpiIoFieldbusMasterInfo
Type | Element | Description |
---|---|---|
MlpiIoHandle | handle | Handle of fieldbus master. |
WCHAR16 | name | Name of fieldbus master. |
MlpiIoDiagnosis | diagnosis | Diagnosis of fieldbus master. |
MlpiIoFieldbusMasterType | type | Type of fieldbus master. |
ULONG | numberOfSlaves | Number of slaves. |
This enumeration defines types of fieldbus master.
Definition at line 351 of file mlpiIoLib.h.
enum MlpiIoFieldbusArea |
This enumeration defines the I/O areas 'Input' and 'Output' of a fieldbus device.
Enumerator | |
---|---|
MLPI_IO_AREA_INPUT |
Input area of a fieldbus device. |
MLPI_IO_AREA_OUTPUT |
Output area of a fieldbus device. |
Definition at line 367 of file mlpiIoLib.h.