Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4MATLAB)  1.26.2
Type
Collaboration diagram for Type:
Type Definitions

Type Definitions

Description

This function group provides functions to create MLPI type variables.

More Information

For more information, refer to mlpiCore documentation: Typedefs.

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiAddressMode32

MlpiAddressMode32

MlpiAddressMode32

Enumeration definition.

Description

This enumeration defines the address mode for parameter access.

Note: This enumeration is different from the mlpiCore definitions MLPI_ADDRESS_MODE_LOGICAL, MLPI_ADDRESS_MODE_PHYSICAL, MLPI_ADDRESS_MODE_TOPOLOGICAL. This is because MATLAB Coder does not support 64bit values.

The 32bit values can be:

  • MLPI_ADDRESS_MODE_LOGICAL
  • MLPI_ADDRESS_MODE_PHYSICAL
  • MLPI_ADDRESS_MODE_TOPOLOGICAL

Syntax

out = MlpiAddressMode(0)
out = MlpiAddressMode.MLPI_ADDRESS_MODE_LOGICAL
num2str(MlpiAddressMode.MLPI_ADDRESS_MODE_LOGICAL)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiAddressMode.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore definitions in the ParameterLib.

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiApiProtection

MlpiApiProtection

MlpiApiProtection

Enumeration definition.

Description

This enumeration defines the protection levels of a connection.

The values can be:

  • MLPI_API_PROTECTION_NON The connection is not protected and can be closed by an other connection.
  • MLPI_API_PROTECTION_WATCHDOG The connection is protected against closing by an other connection if the connection watchdog is active (enabled and not fired).
  • MLPI_API_PROTECTION_COMPLETE The connection is protected against closing by an other connection completely.

Syntax

out = MlpiApiProtection(0)
out = MlpiApiProtection.MLPI_API_PROTECTION_NON
num2str(MlpiApiProtection.MLPI_API_PROTECTION_NON)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiApiProtection.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiApiProtection

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiApplicationMemoryArea

MlpiApplicationMemoryArea

MlpiApplicationMemoryArea

Enumeration definition.

Description

This enumeration defines the memory areas 'Ix' (Input), 'Qx' (Output) and 'Mx' (Marker) of an application.

The values can be:

  • MLPI_MEMORY_AREA_INPUT 'Ix' input memory area (Input) of an application.
  • MLPI_MEMORY_AREA_OUTPUT 'Qx' output memory area (Output) of an application.
  • MLPI_MEMORY_AREA_MARKER 'Mx' marker memory area (Marker) of an application.

Syntax

out = MlpiApplicationMemoryArea(0)
out = MlpiApplicationMemoryArea.MLPI_MEMORY_AREA_INPUT
num2str(MlpiApplicationMemoryArea.MLPI_MEMORY_AREA_INPUT)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiApplicationMemoryArea.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiApplicationMemoryArea

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiAxisStateDecoder

MlpiAxisStateDecoder

MlpiAxisStateDecoder

Structure definition.

Description

This function creates an empty structure of MlpiAxisStateDecoder. The structure contains the following fields:

Type     Element             Description
-------------------------------------------------------------------------
logical  CamTab_0             Bit0 of active CAM table of CamIn command.
logical  CamTab_1             Bit1 of active CAM table of CamIn command.
logical  CamTab_2             Bit2 of active CAM table of CamIn command.
uint32   CamTab               Active CAM table of CamIn command.
logical  CamSwitching         Cam is waiting for switching position.
logical  InVelocity           Axis is in velocity.
logical  Standstill           Axis is in standstill.
logical  InPosition           Axis is in position.
logical  InSynchron           Axis is synchronous to another axis.
logical  Warning              Axis has warning.
logical  Error                Axis has an error.
logical  Homed                Axis is homed.
logical  InTorque             Axis is in torque.
logical  OperationMode        Axis is in P4.
logical  Inbb                 Axis is ready for power.
logical  InAb                 Axis is ready for operation.
logical  Power                Axis has power.
logical  CmdActive            Axis has a active sercos command.
logical  ErrInProgress        Error reaction of axis is in progress.
logical  InMasterPhaseOffset  Axis has reached the master phase offset.
logical  NRTActive            NRT channel for axis is connected.
logical  Interrupted          Axis did not follow control.
logical  Modulo               Axis is in Modulo format.
logical  Rotatory             Axis is rotatory.
logical  Valid                Actual data of axis is valid.
logical  Decoupled            Axis is decoupled from commanded position
                              of control.

Syntax

[structure] = MlpiAxisStateDecoder()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure as described above.

See also

Reference to mlpiCore

This structure maps to the mlpiCore-structure MlpiAxisStateDecoder that can be found in the header file ../mlpi/mlpiCore/include/util/mlpiMotionHelper.h.

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiAxisStateExtendedDecoder

MlpiAxisStateExtendedDecoder

MlpiAxisStateExtendedDecoder

Structure definition.

Description

This function creates an empty structure of MlpiAxisStateExtendedDecoder. The structure contains the following fields:

Type      Element             Description
-------------------------------------------------------------------------
logical   ErrorStop           Axis is in state ErrorStop.
logical   Stopping            Axis is in state Stopping.
logical   Homing              Axis is in state Homing.
logical   PowerOn             Axis has power.
logical   DiscreteMotion      Axis is in state DiscreteMotion.
logical   ContinuousMotion    Axis is in state ContinousMotion.
logical   SynchronizedMotion	 Axis is in state SynchronizedMotion.
logical   Standstill          Axis is in state Standstill.
logical   CoordinatedMotion   Axis is in state CoordinatedMotion.

Syntax

[structure] = MlpiAxisStateExtendedDecoder()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure as described above.

See also

Reference to mlpiCore

This structure maps to the mlpiCore-structure MlpiAxisStateExtendedDecoder that can be found in the header file ../mlpi/mlpiCore/include/util/mlpiMotionHelper.h.

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiAxisType

MlpiAxisType

MlpiAxisType

Enumeration definition.

Description

This enumeration defines the available axis types for motion commands.

The values can be:

  • MLPI_AXISTYPE_VIRTUAL Virtual axis, no physical drive attached.
  • MLPI_AXISTYPE_REAL Real axis, this is the common axis when doing motion.
  • MLPI_AXISTYPE_ENCODER An encoder that is attached to a real drive, no motion possible.
  • MLPI_AXISTYPE_LINK A link ring axis.
  • MLPI_AXISTYPE_CONTROLLER An axis that can be used when generating your own controller to operate the drive.

Syntax

out = MlpiAxisType(0)
out = MlpiAxisType.MLPI_AXISTYPE_VIRTUAL
num2str(MlpiAxisType.MLPI_AXISTYPE_VIRTUAL)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiAxisType.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiAxisType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiAxisValues

MlpiAxisValues

MlpiAxisValues

Structure definition.

Description

This function creates an empty structure of MlpiAxisValues. The structure contains operation information about an axis. These values do change as soon as the axis is in operation. You may want to use this structure to read several sets of axis information using one single function call during operation of the axis. This gives increased performance in comparison to reading the values bit by bit. Especially when reading the values for multiple axes.

The structure contains the following fields:

Type          Element             Description
-------------------------------------------------------------------------
1x2 uint32    axis                Logical axis address.
double        actualPosition      Actual position of the axis
double        actualVelocity      Actual velocity of the axis
double        actualAcceleration  Actual acceleration of the axis
double        actualTorque        Actual torque of the axis
uint32        state               Axis state of the axis
uint32        stateExtended       Extended axis state of the axis
uint32        diagnosisNumber     Current diagnosis number of the axis
uint32        condition           Condition of the axis

Syntax

[structure] = MlpiAxisValues()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiAxisValues

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiCamTableID

MlpiCamTableID

MlpiCamTableID

Enumeration definition.

Description

This enumeration defines the available cam numbers. The cams actually available depend on the hardware used.

The values can be:

  • MLPI_CAM_TABLE_1
  • ...
  • MLPI_CAM_TABLE_100

Syntax

out = MlpiCamTableID(0)
out = MlpiCamTableId.MLPI_CAM_TABLE_1
num2str(MlpiCamTableId.MLPI_CAM_TABLE_1)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiCamTableID.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiCamTableID

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiConnectionDescription

MlpiConnectionDescription

MlpiConnectionDescription

Structure definition.

Description

This function creates an empty structure of MlpiConnectionDescription. The structure contains the following fields:

Type Element Description ------------------------------------------------------------------------- uint32 uid 1x2 unique identifier of connection. char user Login user name of connection. char uri URI of client of connection (e.g. "mlpi.tcp://'IP-address':'port'"). char name Userdefined name of connection. char label Userdefined label of connection. MlpiDateAndTime time Buildup system date and time (broken down time, UTC) of connection. uint32 requestCounter Absolute number of requests. uint32 lastRequest Elapsed time since last access in milliseconds. MlpiApiProtection protection Protection status of connection. uint32 watchdog Watchdog status of connection (==1 if watchdog is active (enabled and not fired)).

Syntax

[structure] = MlpiConnectionDescription()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiConnectionDescription

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiConnectionInfo

MlpiConnectionInfo

MlpiConnectionInfo

Structure definition.

Description

This function creates an empty structure of MlpiConnectionInfo. This structure is used by the function m4MApiTestConnection to return the results of the timing measurements.

The structure contains the following fields:

Type      Element             Description (numeric values)
-------------------------------------------------------------
double    minimum             Minimum time duration of all
                              measurements.
double    maximum             Maximum time duration of all
                              measurements.
double    average             Average time duration of all
                              measurements.
double    variance            Variance of all measurements.
double    standardDeviation   Standard deviation of all
                              measurements.
The unit of all values is microseconds.

Syntax

[structure] = MlpiConnectionInfo()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

Examples

myStruct = MlpiConnectionInfo()

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiConnectionInfo

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiConnection

MlpiConnection

MlpiConnection

Class definition.

Description

This class can be used to create a connection to the MLPI target device. The class is derived from the handle class. It has its own constructor and a destructor method. To create an object of this class, assign it to a variable as follows:

myCon = MlpiConnection();

To destroy the object use the destructor as follows:

m4MApiDisconnect(myCon);
delete(myObject);

or

m4MApiDisconnect(myCon);
clear myObject;

A connection to an MLPI target consists of a connection handle on the target side and on the MATLAB side. Before deleting an object use the function m4MApiDisconnect preceeding deleting the object as shown above. When deleting the connection object without disconnecting the target first causes the MATLAB side of the connection to be deleted but not on the target side. If a connection object was deleted before disconnecting the target the functions m4MApiClose* can be used to delete also the connection handle on the target side.

Note: reassigning an object to a variable will overwrite the existing object so the connection handle at MATLAB side will be lost. Again, recreate a connection and use the m4MApiClose* functions to delete the handles on the target side.

Syntax

connection = MlpiConnection()

Output arguments

connection contains a MlpiConnection object.

Properties

con This property contains a unique connection identifier of type uint32.

throwError This property contains the information if an error exception will be thrown or not. The property is of type logical. For details refer to the section Error Identification and Handling in Fundamentals of MLPI Programming.

Other properties are inherited from the class handle.

Methods

constuctor: create the connection.

destructor: destroy the connection.

Other methods are inherited from the class handle.

Events

Events are inherited from handle.

Superclasses

Superclass is class handle.

See also

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiContainerInformation

MlpiContainerInformation

MlpiContainerInformation

Structure definition.

Description

This function creates an empty structure of MlpiContainerInformation. The structure contains the following fields:

Type                  Element             Description
------------------------------------------------------------------------
1xL char array        name                Name of the container.
MlpiDateAndTime       dateTime            Date and time structure when
                                          the container was created.
uint32                numItems            Number of tag list items in the
                                          container.
uint32                numElementsTagList  Number of elements describing
                                          the container.
uint32                dataSize            Total data size of the
                                          container in byte.
MlpiContainerAccess   accessFlag          READ or WRITE access to the
                                          container.

Syntax

[structure] = MlpiContainerInformation()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiContainerInformation

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiContainerItemInformation

MlpiContainerItemInformation

MlpiContainerItemInformation

Structure definition.

Description

This function creates an empty structure of MlpiContainerItemInformation. The structure contains the following fields:

Type      Element     Description
----------------------------------------------------------------------
MlpiType  type        MlpiType enumeration of the container variable.
uint32    offset      Offset of the item within the container in bytes.
uint32    dataSize    Size of item in bytes.

Syntax

[structure] = MlpiContainerItemInformation()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiContainerItemInformation

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiDateAndTime

MlpiDateAndTime

MlpiDateAndTime

Structure definition.

Description

This function creates an empty structure of MlpiDateAndTime. The structure contains the following fields:

Element                   Description
-------------------------------------------------------------
year          Year:                      2000..2099
month         Month:                     1..12: 1 = January,...
                                         12 = December
day           Day of month:              1..31
hour          Hours after midnight:      0..23
minute        Minutes after hour:        0..59
second        Seconds after minute:      0..59
milliSecond   Milliseconds after second: 0..999
microSecond   Microseconds after second: 0..999
dayOfWeek     Day of week:               1..7: 1 = Monday,...
                                         7 = Sunday
dayOfYear     Day of year:               1..366: 1 = January 1,
                                         365/366 = December 31

All elements are of type uint16.

Syntax

[structure] = MlpiDateAndTime()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiDateAndTime

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiDiagnosisCategory

MlpiDiagnosisCategory

MlpiDiagnosisCategory

Enumeration definition.

Description

This enumeration defines different diagnosis categories on the device.

The values can be:

  • MLPI_DIAGNOSIS_ERROR_FATAL Fatal error, error reaction in motion system.
  • MLPI_DIAGNOSIS_ERROR_NONFATAL_CONTROL Non fatal error, all axes are disengaged the best possible.
  • MLPI_DIAGNOSIS_ERROR_NONFATAL Non fatal error, no error reaction.
  • MLPI_DIAGNOSIS_WARNING Warning.
  • MLPI_DIAGNOSIS_MESSAGE Message.

Syntax

out = MlpiDiagnosisCategory(248)
out = MlpiDiagnosisCategory.MLPI_DIAGNOSIS_ERROR_FATAL
num2str(MlpiDiagnosisCategory.MLPI_DIAGNOSIS_ERROR_FATAL)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiDiagnosisCategory.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiDiagnosisCategory

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiIoDiagnosis

MlpiIoDiagnosis

MlpiIoDiagnosis

Structure definition.

Description

This function creates an empty structure of MlpiIoDiagnosis. The structure contains the following fields:

Type      Element  Description
-------------------------------------------------------------------------
uint32    flags    Flag combination of fieldbus device diagnosis.

Syntax

[structure] = MlpiIoDiagnosis()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiIoDiagnosis

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiIoFieldbusArea

MlpiIoFieldbusArea

MlpiIoFieldbusArea

Enumeration definition.

Description

This enumeration defines the language settings in the device.

The values can be:

  • MLPI_IO_AREA_INPUT
  • MLPI_IO_AREA_OUTPUT

Syntax

out = MlpiIoFieldbusArea(0)
out = MlpiIoFieldbusArea.MLPI_IO_AREA_INPUT
num2str(MlpiIoFieldbusArea.MLPI_IO_AREA_INPUT)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiIoFieldbusArea.

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiIoFieldbusArea

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiIoFieldbusMasterInfo

MlpiIoFieldbusMasterInfo

MlpiIoFieldbusMasterInfo

Structure definition.

Description

This function creates an empty structure of MlpiIoFieldbusMasterInfo. The structure contains the following fields:

Type                      Element         Description
-------------------------------------------------------------------------
MlpiIoHandle              handle          Handle of fieldbus master.
char                      name            Name of fieldbus master.
MlpiIoDiagnosis           diagnosis       Diagnosis of fieldbus master.
MlpiIoFieldbusMasterType  type            Type of fieldbus master.
uint32                    numberOfSlaves  Number of slaves.

Syntax

[structure] = MlpiIoFieldbusMasterInfo()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiIoFieldbusMasterInfo

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiIoFieldbusMasterType

MlpiIoFieldbusMasterType

MlpiIoFieldbusMasterType

Enumeration definition.

Description

This enumeration defines the language settings in the device.

The values can be:

  • MLPI_FIELDBUS_MASTER_GENERIC
  • MLPI_FIELDBUS_MASTER_ONBOARD_IO
  • MLPI_FIELDBUS_MASTER_INLINE_IO
  • MLPI_FIELDBUS_MASTER_PROFIBUS_DP
  • MLPI_FIELDBUS_MASTER_SERCOS_III
  • MLPI_FIELDBUS_MASTER_FAST_IO
  • MLPI_FIELDBUS_MASTER_PROFINET
  • MLPI_FIELDBUS_MASTER_DEVICENET
  • MLPI_FIELDBUS_MASTER_ETHERNET_IP
  • MLPI_FIELDBUS_MASTER_ETHERNET_NETX

Syntax

out = MlpiIoFieldbusMasterType(0)
out = MlpiIoFieldbusMasterType.MLPI_FIELDBUS_MASTER_SERCOS_III
num2str(MlpiIoFieldbusMasterType.MLPI_FIELDBUS_MASTER_SERCOS_III)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiIoFieldbusMasterType.

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiIoFieldbusMasterType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiIoFieldbusSlaveInfo

MlpiIoFieldbusSlaveInfo

MlpiIoFieldbusSlaveInfo

Structure definition.

Description

This function creates an empty structure of MlpiIoFieldbusSlaveInfo. The structure contains the following fields:

Type              Element          Description
-------------------------------------------------------------------------
MlpiIoHandle      handle           Handle of fieldbus slave.
char              name             Name of fieldbus slave.
MlpiIoDiagnosis   diagnosis        Diagnosis of fieldbus slave.
char              address          Address of fieldbus slave.
uint32            numberOfInputs   Number of inputs.
uint32            numberOfOutputs  Number of outputs.

Syntax

[structure] = MlpiIoFieldbusSlaveInfo()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiIoFieldbusSlaveInfo

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiIoHandle

MlpiIoHandle

MlpiIoHandle

Structure definition.

Description

This function creates an empty structure of MlpiIoHandle. The structure contains the following fields:

Type    Element  Description
-------------------------------------------------------------------------
uint32  ident    Ident of the fieldbus device.
uint32  hash     Hash of the fieldbus device.

Syntax

[structure] = MlpiIoHandle()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiIoHandle

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiLanguage

MlpiLanguage

MlpiLanguage

Enumeration definition.

Description

This enumeration defines the language settings in the device.

The values can be:

  • MLPI_LANGUAGE_GERMAN
  • MLPI_LANGUAGE_ENGLISH
  • MLPI_LANGUAGE_USER_DEFINED

Syntax

out = MlpiLanguage(0)
out = MlpiLanguage.MLPI_LANGUAGE_ENGLISH
num2str(MlpiLanguage.MLPI_LANGUAGE_ENGLISH)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiLanguage.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiLanguage

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiLawType

MlpiLawType

MlpiLawType

Enumeration definition.

Description

This enumeration defines flex profile motion laws for segments.

The values can be:

  • MLPI_REST_IN_REST_INCLINEDSINE
  • MLPI_REST_IN_REST_POLY5
  • MLPI_REST_IN_VELOCITY_POLY5
  • MLPI_REST_IN_VELOCITY_POLY7
  • MLPI_VELOCITY_IN_REST_POLY5
  • MLPI_VELOCITY_IN_REST_POLY7
  • MLPI_CONSTANT_VELOCITY
  • MLPI_VELOCITY_IN_VELOCITY_POLY5
  • MLPI_REST_IN_REST_LINEAR
  • MLPI_REST_IN_REST_POLY7
  • MLPI_REST_IN_REST_SINE
  • MLPI_REST_IN_REST_GUTMANSINE
  • MLPI_REST_IN_REST_SINEACC
  • MLPI_REST_IN_REST_SINETORQUE
  • MLPI_REST_IN_REST_MOD_TRAPEZE
  • MLPI_REST_IN_REST_MOD_SINE
  • MLPI_VELOCITY_IN_VELOCITYPOLY7
  • MLPI_VELOCITY_IN_VELOCITY_MOD_SINE
  • MLPI_REST_IN_REST_POLY5_VLIM
  • MLPI_REST_IN_REST_PARABOLA
  • MLPI_REST_IN_REST_POLY8
  • MLPI_MOTION_IN_MOTION_POLY5
  • MLPI_MOTION_IN_MOTION_POLY7

common polynomials

  • MLPI_COMMON_POLY5
  • MLPI_COMMON_POLY7
  • MLPI_COMMON_POLY2
  • MLPI_COMMON_POLY3
  • MLPI_COMMON_POLY4
  • MLPI_COMMON_POLY8

extended laws

  • MLPI_X_VELOCITY_IN_VELOCITY_TRAPEZE_ALIM
  • MLPI_X_MOTION_IN_MOTION_POLY5_VLIM
  • MLPI_X_MOTION_IN_MOTION_POLY5_SLIM
  • MLPI_X_FIT_VEL_TRAPEZE_ALIM
  • MLPI_X_FIT_SINE_TRAPEZE_ALIM
  • MLPI_X_FIT_ACC_TRAPEZE_ALIM
  • MLPI_X_MOTION_IN_MOTION_ACAM
  • MLPI_X_MOTION_IN_MOTION_VCAM
  • MLPI_X_MOTION_IN_MOTION_VCAM2_A
  • MLPI_X_MOTION_IN_MOTION_VCAM2_B

cam tables

  • MLPI_CAMTABLE_1
  • MLPI_CAMTABLE_2
  • ...
  • MLPI_CAMTABLE_100

Syntax

out = MlpiLawType(0)
out = MlpiLawType.MLPI_CAMTABLE_1
num2str(MlpiLawType.MLPI_CAMTABLE_1)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiLawType.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiLawType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiMemoryInfo

MlpiMemoryInfo

MlpiMemoryInfo

Structure definition.

Description

This function creates an empty structure of MlpiMemoryInfo. The structure contains the following fields:

Type     Element                 Description
-------------------------------------------------------------------------
uint64   totalVolatileBytes    Total RAM of the device in bytes.
uint64   totalNonvolatileBytes Total non-volatile RAM of the device
                               in bytes. This memory is not
                               directly accessible for the user,
                               but used for storing system
                               parameters and settings. For example
                               axis configuration etc.
uint64   freeVolatileBytes     Free RAM of the device in bytes.
uint64   freeNonvolatileBytes  Free non-volatile RAM of the device
                               in bytes. This value should never
                               reach 0.

Syntax

[structure] = MlpiMemoryInfo()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure as described above.

See also

Reference to mlpiCore

This structure maps to the mlpiCore-structure: MlpiConnectionInfo

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiMotionStatus

MlpiMotionStatus

MlpiMotionStatus

Structure definition.

Description

This function creates an empty structure of MlpiMotionStatus. The structure contains the following fields:

Type      Element         Description
-------------------------------------------------------------------------
logical   done            TRUE when command is completed.
logical   active          TRUE as long as command is active.
logical   aborted         TRUE when command has been aborted by another
                          command.
logical   error           TRUE when motion command issued an error.
uint16    errorID         Short description of error.
uint16    table           Additional description of error.
uint32    additional1     Additional diagnosis number1.
uint32    additional2     Additional diagnosis number2.

Syntax

[structure] = MlpiMotionStatus()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure as described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiMotionStatus

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiProfileExecutionMode

MlpiProfileExecutionMode

MlpiProfileExecutionMode

Enumeration definition.

Description

This enumeration defines how the flex profile is executed.

The values can be:

  • MLPI_EXECUTE_CYCLIC Cyclic execution.
  • MLPI_EXECUTE_SINGLE Single execution.

Syntax

out = MlpiProfileExecutionMode(0)
out = MlpiProfileExecutionMode.MLPI_EXECUTE_CYCLIC
num2str(MlpiProfileExecutionMode.MLPI_EXECUTE_CYCLIC)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiProfileExecutionMode.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiProfileExecutionMode

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiProfileMasterType

MlpiProfileMasterType

MlpiProfileMasterType

Enumeration definition.

Description

This enumeration defines possible flex profile master.

The values can be:

  • MLPI_MASTER_TIME Slave depends on time.
  • MLPI_MASTER_AXIS0 Slave depends on master axis.

Syntax

out = MlpiProfileMasterType(0)
out = MlpiProfileMasterType.MLPI_MASTER_AXIS0
num2str(MlpiProfileMasterType.MLPI_MASTER_AXIS0)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiProfileMasterType.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiProfileMasterType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiProfileSetSelection

MlpiProfileSetSelection

MlpiProfileSetSelection

Enumeration definition.

Description

This enumeration defines a profile set. The motion profile or flex profile works based on a set of parameters. In order to change a set consistently, the set that is not in use should be changed. Once the change is done, the set can be verified and then used.

The values can be:

  • MLPI_PROFILE_SET_0
  • MLPI_PROFILE_SET_1
  • MLPI_PROFILE_SET_2
  • MLPI_PROFILE_SET_3

Syntax

out = MlpiProfileSetSelection(0)
out = MlpiProfileSetSelection.MLPI_PROFILE_SET_0
num2str(MlpiProfileSetSelection.MLPI_PROFILE_SET_0)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiProfileSetSelection.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiProfileSetSelection

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiProfileStartPoint

MlpiProfileStartPoint

MlpiProfileStartPoint

Enumeration definition.

Description

This enumeration defines the method of how a flex profile interprets the start point.

The values can be:

  • MLPI_SLAVE_ORIGIN_MASTER_ORIGIN Synchronize absolute slave and master position.
  • MLPI_SLAVE_CURRENT_MASTER_CURRENT Synchronize absolute to master position and relative to current slave position.
  • MLPI_SLAVE_ORIGIN_MASTER_CURRENT Synchronize absolute to slave position and relative to current master position.
  • MLPI_SLAVE_CURRENT_MASTER_ORIGIN Synchronize relative to current axis positions.

Syntax

out = MlpiProfileStartPoint(0)
out = MlpiProfileStartPoint.MLPI_SLAVE_CURRENT_MASTER_CURRENT
num2str(MlpiProfileStartPoint.MLPI_SLAVE_CURRENT_MASTER_CURRENT)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiProfileStartPoint.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiProfileStartPoint

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiProfileStepType

MlpiProfileStepType

MlpiProfileStepType

Enumeration definition.

Description

This enumeration defines the relation between master and slave for each flex profile step.

The values can be:

  • MLPI_STEP_FIX Default step type with fixed relative hub and range. Start and end velocity also fixed.
  • MLPI_STEP_FLEX_REL_REL Flex step type with fixed relative hub and range. Start and end velocity are taken dynamically from preceding and following step.
  • MLPI_STEP_FLEX_REL_ABS Flex step type with fixed relative hub absolute master axis position. Start and end velocity are taken dynamically from preceding and following step.
  • MLPI_STEP_FLEX_ABS_REL Flex step type with fixed relative range and absolute master axis position. Start and end velocity are taken dynamically from preceding and following step.
  • MLPI_STEP_FLEX_ABS_ABS Flex step type with absolute master and slave axis positions. Start and end velocity are taken dynamically from preceding and following step.

Syntax

out = MlpiProfileStepType(0)
out = MlpiProfileStepType.MLPI_STEP_FIX
num2str(MlpiProfileStepType.MLPI_STEP_FIX)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiProfileStepType.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiProfileStepType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiSpecialPathInfo

MlpiSpecialPathInfo

MlpiSpecialPathInfo

Structure definition.

Description

This function creates an empty structure of MlpiSpecialPathInfo. The structure contains the following fields:

Type      Element       Description
-------------------------------------------------------------------------
uint64    totalBytes    Total size of the partition in bytes.
uint64    freeBytes     Free disk-space of the partition in bytes.

Syntax

[structure] = MlpiSpecialPathInfo()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiSpecialPathInfo

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiSpecialPath

MlpiSpecialPath

MlpiSpecialPath

Enumeration definition.

Description

This enumeration contains different logical paths on the device. Use
<group___system_lib__fcn.html#m4MSystemGetSpecialPath_help |m4MSystemGetSpecialPath|> to
retrieve absolute path information on a specific device.

The values can be:

  • MLPI_PATH_SYSTEM
  • MLPI_PATH_OEM
  • MLPI_PATH_USER

Note: Usually, your target device has at least 3 partitions, a SYSTEM, an OEM and an USER partition. The absolute, native paths of these partitions depends on the target itself, e.g. on an IndraMotion XLC CML45 the absolute path of the OEM partition is called "/ata0a/". Different FTP clients shows the absolute paths itself (Filezilla, e.g. "/ata0a/") or the logical paths (IndraWorks, e.g. "OEM").

Logical path of partition 	Absolute path "IndraMotion xLC CMLx5" 	Absolute path "IndraMotion xLC XMxx"
SYSTEM                       "/ata0/"                                "/sd0:2/"
OEM                          "/ata0a/"                               "/sd0:3/"
USER                         "/ata0b/"                               "/sd0:4/"
PROJECTDATAPROTECTED         "/ata0a/ProjectDataProtected/"          "/sd0:3/ProjectDataProtected/"
PROJECTDATA                  "/ata0a/ProjectData/"                   "/sd0:3/ProjectData/"
PROJECTDATA_BUNDLES          "/ata0a/ProjectData/bundles/"           "/sd0:3/ProjectData/bundles/"
PROJECTDATA_PLC              "/ata0a/ProjectData/PLC/"               "/sd0:3/ProjectData/PLC/"
PROJECTDATA_TMP              "/ata0a/ProjectData/TMP/"               "/sd0:3/ProjectData/TMP/"

Use mlpiSystemGetSpecialPath to retrieve absolute path information on a specific device.

Syntax

out = MlpiSpecialPath(0)
out = MlpiSpecialPath.MLPI_PATH_OEM
num2str(MlpiSpecialPath.MLPI_PATH_OEM)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiSpecialPath.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiSpecialPath

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiStartMode

MlpiStartMode

MlpiStartMode

Enumeration definition.

Description

This enumeration defines the method how the synchronization is done.

The values can be:

  • MLPI_STARTMODE_ABSOLUTE Slave axis position is absolutely synchronous with the master position.
  • MLPI_STARTMODE_RELATIVE Slave axis position is relatively synchronous with the master position (velocity synchronous).
  • MLPI_STARTMODE_ABSOLUTE_RAMPIN Slave axis position ramps to an absolutely synchronous position with the master position.
  • MLPI_STARTMODE_RELATIVE_RAMPIN Slave axis position ramps to a relatively synchronous position with the master position.

Syntax

out = MlpiStartMode(0)
out = MlpiStartMode.MLPI_STARTMODE_ABSOLUTE
num2str(MlpiStartMode.MLPI_STARTMODE_ABSOLUTE)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiStartMode.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiStartMode

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiSyncDirection

MlpiSyncDirection

MlpiSyncDirection

Enumeration definition.

Description

This enumeration defines the direction in which synchronization takes place.

The values can be:

  • MLPI_SYNC_SHORTESTWAY Axis will synchronize in the direction in which it has to move the shortest distance.
  • MLPI_SYNC_CATCHUP Axis will only move in positive direction.
  • MLPI_SYNC_SLOWDOWN Axis will only move in negative direction.

Syntax

out = MlpiSyncDirection(0)
out = MlpiSyncDirection.MLPI_SYNC_CATCHUP
num2str(MlpiSyncDirection.MLPI_SYNC_CATCHUP)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiSyncDirection.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiSyncDirection

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiSyncType

MlpiSyncType

MlpiSyncType

Enumeration definition.

Description

This enumeration defines the direction and type in which synchronization takes place. The enumeration can be used only for flex profiles.

The values can be:

  • MLPI_SYNC_RAMPIN_SHORTESTWAY Axis will synchronize in the direction in which it has to move the shortest distance.
  • MLPI_SYNC_RAMPIN_CATCHUP Axis will only move in positive direction.
  • MLPI_SYNC_RAMPIN_SLOWDOWN Axis will only move in negative direction.
  • MLPI_SYNC_DIRECT No synchronization at all.

Syntax

out = MlpiSyncType(0)
out = MlpiSyncType.MLPI_SYNC_DIRECT
num2str(MlpiSyncType.MLPI_SYNC_DIRECT)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiSyncType.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiSyncType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiSystemMode

MlpiSystemMode

MlpiSystemMode

Enumeration definition.

Description

This enumeration must be used when accessing the mode settings in the device. The mode can only be set to initialization mode (MLPI_SYSTEMMODE_P0), parameter mode (MLPI_SYSTEMMODE_P2) or operation mode (MLPI_SYSTEMMODE_BB). The read only modes can also be displayed in case of an error during a mode transition.

The values can be:

  • MLPI_SYSTEMMODE_P0 initialization mode.
  • MLPI_SYSTEMMODE_P1 transition state from initialization mode to parameter mode.
  • MLPI_SYSTEMMODE_P2 parameter mode.
  • MLPI_SYSTEMMODE_P3 transition state from parameter mode to operation mode.
  • MLPI_SYSTEMMODE_BB operation mode.
  • MLPI_SYSTEMMODE_SWITCHING mode switching active.

Syntax

out = MlpiSystemMode(0)
out = MlpiSystemMode.MLPI_SYSTEMMODE_BB
num2str(MlpiSystemMode.MLPI_SYSTEMMODE_BB)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiSystemMode.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiSystemMode

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiTaskEvent

MlpiTaskEvent

MlpiTaskEvent

Enumeration definition.

Description

There are different system task events in the system.

The values can be:

  • MLPI_TASKEVENT_SERCOS_CYCLE This event raises every new sercos cycle after the actual values arrives.
  • MLPI_TASKEVENT_MOTION_CYCLE This event raises every new motion cycle after the actual values of all axes have been updated.
  • MLPI_TASKEVENT_WATCHDOG This event raises every time a watchdog expires.
  • MLPI_TASKEVENT_PLC_TASK_AFTER_READ_INPUTS This event raises after any plc task will reads its inputs (helpful for I/O simulation, e.g. write to inputs of task images).
  • MLPI_TASKEVENT_PLC_TASK_BEFORE_WRITE_OUTPUTS This event raises before any plc task will writes its outputs (helpful for I/O simulation, e.g. read from outputs of task images).

Syntax

out = MlpiTaskEvent(0)
out = MlpiTaskEvent.MLPI_TASKEVENT_MOTION_CYCLE
num2str(MlpiTaskEvent.MLPI_TASKEVENT_SERCOS_CYCLE)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiTaskEvent.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiTaskEvent

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiType

MlpiType

MlpiType

Enumeration definition.

Description

This enumeration defines the MLPI data types.

The values can be:

  • MLPI_TYPE_INVALID invalid or not supported type
  • MLPI_TYPE_CHAR 1 byte signed integer
  • MLPI_TYPE_UCHAR 1 byte unsigned integer
  • MLPI_TYPE_SHORT 2 byte signed integer
  • MLPI_TYPE_USHORT 2 byte unsigned integer
  • MLPI_TYPE_LONG 4 byte signed integer
  • MLPI_TYPE_ULONG 4 byte unsigned integer
  • MLPI_TYPE_LLONG 8 byte signed integer
  • MLPI_TYPE_ULLONG 8 byte unsigned integer
  • MLPI_TYPE_FLOAT 4 byte floating point
  • MLPI_TYPE_DOUBLE 8 byte floating point
  • MLPI_TYPE_CHAR_ARRAY 1 byte signed integer array
  • MLPI_TYPE_UCHAR_ARRAY 1 byte unsigned integer array
  • MLPI_TYPE_SHORT_ARRAY 2 byte signed integer array
  • MLPI_TYPE_USHORT_ARRAY 2 byte unsigned integer array
  • MLPI_TYPE_LONG_ARRAY 4 byte signed integer array
  • MLPI_TYPE_ULONG_ARRAY 4 byte unsigned integer array
  • MLPI_TYPE_LLONG_ARRAY 8 byte signed integer array
  • MLPI_TYPE_ULLONG_ARRAY 8 byte unsigned integer array
  • MLPI_TYPE_FLOAT_ARRAY 4 byte floating point array
  • MLPI_TYPE_DOUBLE_ARRAY 8 byte floating point array
  • MLPI_TYPE_BOOL8 1 byte boolean
  • MLPI_TYPE_BOOL8_ARRAY 1 byte boolean array
  • MLPI_TYPE_CHAR_UTF8 string with 1 byte per character
  • MLPI_TYPE_CHAR_UTF16 string with 2 bytes per character
  • MLPI_TYPE_CHAR_UTF8_ARRAY string array with 1 byte per character
  • MLPI_TYPE_CHAR_UTF16_ARRAY string array with 2 bytes per character

The correspondance between MATLAB and MLPI data types is:

MLPI type                    MATLAB type
-------------------------------------------------------------
MLPI_TYPE_INVALID            no correspondance
MLPI_TYPE_CHAR               int8
MLPI_TYPE_UCHAR              uint8
MLPI_TYPE_SHORT              int16
MLPI_TYPE_USHORT             uint16
MLPI_TYPE_LONG               int32
MLPI_TYPE_ULONG              uint32
MLPI_TYPE_LLONG              int64
MLPI_TYPE_ULLONG             uint64
MLPI_TYPE_FLOAT              single
MLPI_TYPE_DOUBLE             double
MLPI_TYPE_CHAR_ARRAY         column vector of int8
MLPI_TYPE_UCHAR_ARRAY        column vector of uint8
MLPI_TYPE_SHORT_ARRAY        column vector of int16
MLPI_TYPE_USHORT_ARRAY       column vector of uint16
MLPI_TYPE_LONG_ARRAY         column vector of int32
MLPI_TYPE_ULONG_ARRAY        column vector of uint32
MLPI_TYPE_LLONG_ARRAY        column vector of int64
MLPI_TYPE_ULLONG_ARRAY       column vector of uint64
MLPI_TYPE_FLOAT_ARRAY        column vector of single
MLPI_TYPE_DOUBLE_ARRAY       column vector of double
MLPI_TYPE_BOOL8              logical
MLPI_TYPE_BOOL8_ARRAY        column vector of logical
MLPI_TYPE_CHAR_UTF8          no direct correspondance
                             (char)
MLPI_TYPE_CHAR_UTF16         no direct correspondance
                             (char)
MLPI_TYPE_CHAR_UTF8_ARRAY    no direct correspondance
                             (matrix with char)
MLPI_TYPE_CHAR_UTF16_ARRAY   no direct correspondance
                             (matrix with char)

Syntax

out = MlpiType(0)
out = MlpiType.MLPI_TYPE_BOOL8
num2str(MlpiType.MLPI_TYPE_BOOL8)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiType.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiType

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiVersion

MlpiVersion

MlpiVersion

Structure definition.

Description

This function creates an empty structure of MlpiVersion. The structure contains the following fields:

Type      Element       Description
-------------------------------------------------------------
uint32    major         Major release, changes of interfaces,
                        behavior or significant changes of
                        code may occur.
uint32    minor         Minor release, new features or a
                        significant set of bug fixes may
                        occur.
uint32    bugfix        Bugfixes of existing features.
uint32    patch         Patch of an existing release.
uint32    build         Build number.

Syntax

[structure] = MlpiVersion()

Input Arguments

No input arguments.

Output Arguments

structure contains a structure with the fields described above.

See also

Reference to mlpiCore

This function maps to the mlpiCore function: MlpiVersion

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiWatchdogAction

MlpiWatchdogAction

MlpiWatchdogAction

Enumeration definition.

Description

This enumeration defines the actions when a watchdog timeout expires.

The values can be:

  • MLPI_WATCHDOG_REBOOT device will be rebooted.
  • MLPI_WATCHDOG_PLCSTOPP PLC will be stopped.
  • MLPI_WATCHDOG_ERROR Error with class F5 severity (all axes go to errorstop) will be generated.
  • MLPI_WATCHDOG_WARNING Error with class F0 severity (warning, no action) will be generated.

Syntax

out = MlpiWatchdogAction(0)
out = MlpiWatchdogAction.MLPI_WATCHDOG_ERROR
num2str(MlpiWatchdogAction.MLPI_WATCHDOG_ERROR)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiWatchdogAction.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiWatchdogAction

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0

MlpiWatchdogState

MlpiWatchdogState

MlpiWatchdogState

Enumeration definition.

Description

This enumeration must be used to define the action when a watchdog has expired.

The values can be:

  • MLPI_WATCHDOG_DISABLED Watchdog has not started.
  • MLPI_WATCHDOG_ENABLED Watchdog has started.
  • MLPI_WATCHDOG_TIMEOUT Watchdog has expired and had been disabled.

Syntax

out = MlpiWatchdogState(0)
out = MlpiWatchdogState.MLPI_WATCHDOG_DISABLED
num2str(MlpiWatchdogState.MLPI_WATCHDOG_DISABLED)

Input Arguments

Valid numeric enumeration value.

Output Arguments

out is a scalar enumeration of MlpiWatchdogState.

See also

Reference to mlpiCore

This enumeration maps to the mlpiCore enumeration: MlpiWatchdogState

Copyright

Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0