Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4LabVIEW)  1.26.2
Structs, Types, ...
Collaboration diagram for Structs, Types, ...:

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

Detailed Description

List of used types, enumerations, structures and more...

Macro Definition Documentation

#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)
Value:
( flags == ( \
MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_ENABLE \
) \
)
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_CONFIGURED
Fieldbus diagnosis flag device configured.
Definition: mlpiIoLib.h:287
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DRIVER_AVAILABLE
Fieldbus diagnosis flag driver available.
Definition: mlpiIoLib.h:285
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_FOUND
Fieldbus diagnosis flag device detected.
Definition: mlpiIoLib.h:286
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_ACTIVE
Fieldbus diagnosis flag device active, bus active.
Definition: mlpiIoLib.h:288

Fieldbus diagnosis flag combination 'diagnosis'.

Definition at line 295 of file mlpiIoLib.h.

#define MLPI_IO_FIELDBUS_DIAGNOSIS_DIAG (   flags)
Value:
( flags == ( \
MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_ENABLE \
) \
)
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_CONFIGURED
Fieldbus diagnosis flag device configured.
Definition: mlpiIoLib.h:287
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DRIVER_AVAILABLE
Fieldbus diagnosis flag driver available.
Definition: mlpiIoLib.h:285
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_DIAGNOSTIC_AVAILABLE
Fieldbus diagnosis flag diagnostic information available.
Definition: mlpiIoLib.h:291
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_FOUND
Fieldbus diagnosis flag device detected.
Definition: mlpiIoLib.h:286
#define MLPI_IO_FIELDBUS_DIAGNOSIS_FLAG_DEVICE_ACTIVE
Fieldbus diagnosis flag device active, bus active.
Definition: mlpiIoLib.h:288

Fieldbus diagnosis flag combination 'error or diagnosis'.

Definition at line 314 of file mlpiIoLib.h.

Typedef Documentation

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.

Enumeration Type Documentation

This enumeration defines types of fieldbus master.

Enumerator
MLPI_FIELDBUS_MASTER_GENERIC 

Generic, not all features are supported.

MLPI_FIELDBUS_MASTER_ONBOARD_IO 

Onboard I/O.

MLPI_FIELDBUS_MASTER_INLINE_IO 

Inline I/O.

MLPI_FIELDBUS_MASTER_PROFIBUS_DP 

Profibus DP.

MLPI_FIELDBUS_MASTER_SERCOS_III 

Sercos.

MLPI_FIELDBUS_MASTER_FAST_IO 

FastIO.

MLPI_FIELDBUS_MASTER_PROFINET 

ProfiNet.

MLPI_FIELDBUS_MASTER_DEVICENET 

DeviceNet.

MLPI_FIELDBUS_MASTER_ETHERNET_IP 

EthernetIP.

MLPI_FIELDBUS_MASTER_ETHERNET_NETX 

Ethernet.

Definition at line 351 of file mlpiIoLib.h.

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.