Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4Java)  1.26.2
com.boschrexroth.mlpi.GroupConfig Class Reference

Inherits com.boschrexroth.mlpi.MlpiComponent.

Collaboration diagram for com.boschrexroth.mlpi.GroupConfig:
Collaboration graph

Public Member Functions

native void AddAllAxisToGroup ()
 
native void RemAllAxisFromGroup ()
 
native void SetCartesianTransform (Robot.RobotCoordinateSystem coordSys, double posX, double posY, double posZ, double rotA, double rotB, double rotC)
 
native void SetCylindricTransform (Robot.RobotCoordinateSystem coordSys, double posX, double posY, double posZ, double rotA, double rotB, double rotC)
 
native void SetBeltConfiguration (Motion.AxisRef beltAxis, double posX, double posY, double posZ, double rotA, double rotB, double rotC, double beginLength, double totalLength)
 
native void SetRotaryTableConfiguration (Motion.AxisRef beltAxis, double posX, double posY, double posZ, double rotA, double rotB, double rotC, double beginLength, double totalLength)
 
native void SetBeltErrorReaction (Motion.AxisRef beltAxis, Robot.RobotSyncErrorReactionMode errorType, double time, double deceleration, double jerk)
 
native void SetName (String name)
 
native void SetAxisConfiguration (Robot.RobotAxisConfiguration[] axisConfig)
 
native void SetKinematicType (long type)
 
native void Reset ()
 
native void SetSafeZone (long zoneNumber, Robot.RobotSafeZoneType zoneType, double maxPosX, double maxPosY, double maxPosZ, double minPosX, double minPosY, double minPosZ)
 
native void SetMoveId (long moveId)
 
native void ChangeTool (double posX, double posY, double posZ, double rotA, double rotB, double rotC)
 

Detailed Description

Type Element Description
GroupRef _groupRef References the robot to the whole system
long _motionHandle actual motion handle

Definition at line 75 of file GroupConfig.java.

Member Function Documentation

native void com.boschrexroth.mlpi.GroupConfig.AddAllAxisToGroup ( )

This function add all configured axis to the group/robot

Note:
This method maps to the mlpiCore function mlpiRobotAddAllAxisToGroup, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.RemAllAxisFromGroup ( )

This function remove all configured axes from the group/robot

Note:
This method maps to the mlpiCore function mlpiRobotRemAllAxisFromGroup, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetCartesianTransform ( Robot.RobotCoordinateSystem  coordSys,
double  posX,
double  posY,
double  posZ,
double  rotA,
double  rotB,
double  rotC 
)

This function configures a Cartesian transformation between PCS and MCS

Parameters
[in]coordSysReference to the coordinate system
[in]posXX position of the PCS in MCS
[in]posYY position of the PCS in MCS
[in]posZZ position of the PCS in MCS
[in]rotArotation of PCS around x axis in MCS
[in]rotBrotation of PCS around y axis in MCS
[in]rotCrotation of PCS around z axis in MCS
Note:
This method maps to the mlpiCore function mlpiRobotSetCartesianTransform, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetCylindricTransform ( Robot.RobotCoordinateSystem  coordSys,
double  posX,
double  posY,
double  posZ,
double  rotA,
double  rotB,
double  rotC 
)

This function configures a cylindrical transformation between PCS and MCS

Parameters
[in]coordSysReference to the coordinate system
[in]posXX position of the PCS in MCS
[in]posYY position of the PCS in MCS
[in]posZZ position of the PCS in MCS
[in]rotArotation of PCS around x axis in MCS
[in]rotBrotation of PCS around y axis in MCS
[in]rotCrotation of PCS around z axis in MCS
Note:
This method maps to the mlpiCore function mlpiRobotSetCylindricTransform, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetBeltConfiguration ( Motion.AxisRef  beltAxis,
double  posX,
double  posY,
double  posZ,
double  rotA,
double  rotB,
double  rotC,
double  beginLength,
double  totalLength 
)

This function configures a belt

Parameters
[in]beltAxisReference to the coordinate system
[in]posXX position of the PCS in MCS
[in]posYY position of the PCS in MCS
[in]posZZ position of the PCS in MCS
[in]rotArotation of PCS around x axis in MCS
[in]rotBrotation of PCS around y axis in MCS
[in]rotCrotation of PCS around z axis in MCS
[in]beginLengthbegin length of belt synchronous working area
[in]totalLengthtotal length of belt synchronous working area
Note:
This method maps to the mlpiCore function mlpiRobotSetBeltConfiguration, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetRotaryTableConfiguration ( Motion.AxisRef  beltAxis,
double  posX,
double  posY,
double  posZ,
double  rotA,
double  rotB,
double  rotC,
double  beginLength,
double  totalLength 
)

This function configures a rotary table

Parameters
[in]beltAxisReference to the coordinate system
[in]posXX position of the PCS in MCS
[in]posYY position of the PCS in MCS
[in]posZZ position of the PCS in MCS
[in]rotArotation of PCS around x axis in MCS
[in]rotBrotation of PCS around y axis in MCS
[in]rotCrotation of PCS around z axis in MCS
[in]beginLengthbegin length of belt synchronous working area
[in]totalLengthtotal length of belt synchronous working area
Note:
This method maps to the mlpiCore function mlpiRobotSetRotaryTableConfiguration, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetBeltErrorReaction ( Motion.AxisRef  beltAxis,
Robot.RobotSyncErrorReactionMode  errorType,
double  time,
double  deceleration,
double  jerk 
)

This function configures the error reaction of a belt.

Parameters
[in]beltAxisReference to the axis
[in]errorTypeType of error reaction
[in]timeDefines the time to stop the belt synchronous movement when error reaction mode of belt is time
[in]decelerationDefines the deceleration to stop the belt synchronous movement when error reaction mode is desynchronization with limits
[in]jerkDefines the jerk to stop the belt synchronous movement when error reaction mode is desynchronization with limits
Note:
This method maps to the mlpiCore function mlpiRobotSetBeltErrorReaction, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetName ( String  name)

This function sets a name for the robot

Parameters
[in]nameName for the robot
Example Java:
connection.robot().groups(1).configuration().SetName("Kinematic1");
Note:
This method maps to the mlpiCore function mlpiParameterWriteDataString (K-0-0002), where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetAxisConfiguration ( Robot.RobotAxisConfiguration[]  axisConfig)

This function sets the configuration for all given axes

Parameters
[in]axisConfigArray with the information for all axes
Example Java:
int numberOfAxes = 2;
Robot.RobotAxisConfiguration axis1 = new Robot.RobotAxisConfiguration();
axis1.axisConfiguration = 8; // MLPI_ROBOT_AXISTYPE_POSITIONING
axis1.controlNumber = 0; // MLPI_LOCAL_CONTROL
axis1.axisNumber = 1; // MLPI_AXIS_1
Robot.RobotAxisConfiguration axis2 = new Robot.RobotAxisConfiguration();
axis2.axisConfiguration = 8; // MLPI_ROBOT_AXISTYPE_POSITIONING
axis2.controlNumber = 0; // MLPI_LOCAL_CONTROL
axis2.axisNumber = 2; // MLPI_AXIS_2
Robot.RobotAxisConfiguration axisConfig[] = new Robot.RobotAxisConfiguration[numberOfAxes];
axisConfig[0] = axis1;
axisConfig[1] = axis2;
connection.robot().groups(1).configuration().SetAxisConfiguration(axisConfig);
Note:
This method maps to the mlpiCore function mlpiParameterWriteDataArrayUshort (K-0-0008), where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetKinematicType ( long  type)

This function sets the type of the robot

Parameters
[in]typeNumber that indicates the kinematic type
Note:
This method maps to the mlpiCore function mlpiParameterWriteDataUshort (K-0-0031), where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.Reset ( )

This function resets the robot from all of its data

Note:
This method maps to the mlpiCore function mlpiRobotReset, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetSafeZone ( long  zoneNumber,
Robot.RobotSafeZoneType  zoneType,
double  maxPosX,
double  maxPosY,
double  maxPosZ,
double  minPosX,
double  minPosY,
double  minPosZ 
)

This function configures a save zone of a robot.

Parameters
[in]zoneNumberzone number
[in]zoneTypezone type
[in]maxPosXX maximum position of zone
[in]minPosXX minimum position of zone
[in]maxPosYY maximum position of zone
[in]minPosYY minimum position of zone
[in]maxPosZZ maximum position of zone
[in]minPosZZ minimum position of zone
Note:
This method maps to the mlpiCore function mlpiRobotSetSafeZone, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.SetMoveId ( long  moveId)

This function will set an id in the block buffer for a command. This function can be called at any point. The block id will be incremented after the call of a movement command. The block id can be reseted with the id zero.

Parameters
[in]moveIdTo be set id
Example Java:
long moveID = 9;
connection.robot().groups(1).configuration().SetMoveId(moveID);
Note:
This method maps to the mlpiCore function mlpiRobotSetMoveId, where you can find further documentation.
native void com.boschrexroth.mlpi.GroupConfig.ChangeTool ( double  posX,
double  posY,
double  posZ,
double  rotA,
double  rotB,
double  rotC 
)

This function changes a tool.

Parameters
[in]posXX position of the PCS in MCS
[in]posYY position of the PCS in MCS
[in]posZZ position of the PCS in MCS
[in]rotArotation of PCS around x axis in MCS
[in]rotBrotation of PCS around y axis in MCS
[in]rotCrotation of PCS around z axis in MCS
Note:
This method maps to the mlpiCore function mlpiRobotChangeTool, where you can find further documentation.

The documentation for this class was generated from the following file: