57 package com.boschrexroth.mlpi;
59 import java.util.Vector;
84 public class Robot extends MlpiComponent {
99 ROBOT_AXISTYPE_NONE ( 0),
100 ROBOT_AXISTYPE_POSITIONING ( 8),
101 ROBOT_AXISTYPE_ORIENTATION (16),
102 ROBOT_AXISTYPE_BELT (32);
105 int getCode() {
return _code; }
109 if (code == value.getCode())
return value;
130 int getCode() {
return _code; }
134 if (code == value.getCode())
return value;
151 ROBOT_SETMODE_TO (0),
152 ROBOT_SETMODE_VIA (1);
155 int getCode() {
return _code; }
159 if (code == value.getCode())
return value;
195 ROBOT_CS_MCS (0x0000),
196 ROBOT_CS_ACS (0x0001),
197 ROBOT_CS_BCS (0x0002),
198 ROBOT_CS_PCS1 (0x0003),
199 ROBOT_CS_PCS2 (0x0103),
200 ROBOT_CS_PCS3 (0x0203),
201 ROBOT_CS_PCS4 (0x0303),
202 ROBOT_CS_PCS5 (0x0403),
203 ROBOT_CS_PCS6 (0x0503),
204 ROBOT_CS_PCS7 (0x0603),
205 ROBOT_CS_PCS8 (0x0703),
206 ROBOT_CS_PCS9 (0x0803),
207 ROBOT_CS_PCS10 (0x0903),
208 ROBOT_CS_PCS11 (0x0A03),
209 ROBOT_CS_PCS12 (0x0B03),
210 ROBOT_CS_PCS13 (0x0C03),
211 ROBOT_CS_PCS14 (0x0D03),
212 ROBOT_CS_PCS15 (0x0E03),
213 ROBOT_CS_PCS16 (0x0F03),
214 ROBOT_CS_FCS (0x0004);
217 int getCode() {
return _code; }
221 if (code == value.getCode())
return value;
239 ROBOT_SLOPETYPE_BLOCK_SLOPE (0),
240 ROBOT_SLOPETYPE_PROGR_SLOPE (1),
241 ROBOT_SLOPETYPE_CONT_SLOPE (2);
245 int getCode() {
return _code; }
249 if (code == value.getCode())
return value;
267 ROBOT_BELT_ERROR_NO_SPECIFIC_REACTION (0),
268 ROBOT_BELT_ERROR_DESYNC_OVER_TIME (1),
269 ROBOT_BELT_ERROR_DESYNC_WITH_LIMITS (2);
273 int getCode() {
return _code; }
277 if (code == value.getCode())
return value;
300 ROBOT_MECH_CREATE_ROD (0),
301 ROBOT_MECH_CREATE_SPHERE (1),
302 ROBOT_MECH_POSITION (2),
303 ROBOT_MECH_DIRECTION (3),
305 ROBOT_MECH_CREATE_CUBOID (5),
306 ROBOT_MECH_SET_MCS (6),
307 ROBOT_MECH_ROTATE (7);
310 int getCode() {
return _code; }
314 if (code == value.getCode())
return value;
334 int getCode() {
return _code; }
338 if (code == value.getCode())
return value;
356 ROBOT_CYCLIC_MODE_POS_ABS (0),
357 ROBOT_CYCLIC_MODE_POS_REL (1),
358 ROBOT_CYCLIC_MODE_VEL (2);
362 int getCode() {
return _code; }
366 if (code == value.getCode())
return value;
383 ROBOT_SAFE_ZONE_TYPE_DEACTIVATED (0),
384 ROBOT_SAFE_ZONE_TYPE_INSIDE_OK (1),
385 ROBOT_SAFE_ZONE_TYPE_OUTSIDE_OK (2);
388 int getCode() {
return _code; }
392 if (code == value.getCode())
return value;
412 MLPI_ROBOT_CMD_INFO_TYPE_ALL (0),
413 MLPI_ROBOT_CMD_DATA_TYPE_PROGRESS (1),
414 MLPI_ROBOT_CMD_DATA_TYPE_TOTAL_DISTANCE (2),
415 MLPI_ROBOT_CMD_DATA_TYPE_UID (3),
416 MLPI_ROBOT_CMD_DATA_TYPE_STATE (4);
419 int getCode() {
return _code; }
423 if (code == value.getCode())
return value;
453 this.coordSys = coordSys;
460 this.csType = csType;
503 this.csType = csType;
535 this.deceleration = deceleration;
537 this.errorType = errorType;
542 public double deceleration;
560 this.groupNo = (short)groupNo;
564 this.groupNo = groupNo;
567 public short controlNo;
568 public short groupNo;
586 this.robotType = robotType;
644 this.
object = object;
652 public String object;
672 this.axisConfiguration = axisConfiguration;
673 this.controlNumber = controlNumber;
674 this.axisNumber = axisNumber;
678 public short axisConfiguration;
679 public short controlNumber;
680 public short axisNumber;
703 public double actualVelocity;
704 public double actualAcceleration;
706 public int stateExtended;
707 public int diagnosisNumber;
724 public String position;
725 public String velocity;
726 public String acceleration;
745 public int dimension;
747 public String posunits;
776 public int stateExtended;
777 public int diagnosisNumber;
778 public int dimension;
780 public String actualPosUnit;
781 public double actualVelocity;
782 public double actualAcceleration;
783 public double actualJerk;
784 public String pathUnit;
785 public String timeBase;
803 this.coordSys = coordSys;
827 public double zoneNumber;
829 public double pointPosX;
830 public double pointPosY;
831 public double pointPosZ;
833 public double pointNegX;
834 public double pointNegY;
835 public double pointNegZ;
875 this.commandID = commandID;
876 this.infoType = infoType;
880 public long commandID;
887 Vector<Group> _groups =
new Vector<Group>();
896 Robot(MlpiHandle connection) {
905 return groups((
int)groupNo);
914 if (groupNo <= _groups.size()) {
915 group = _groups.get(groupNo-1);
918 group =
new Group(getConnectionHandleObject(),
new GroupRef(groupNo));
919 if (groupNo > _groups.size()) {
920 for (
int i=_groups.size(); i<groupNo; i++){
924 _groups.set(groupNo-1, group);
synchronized Group groups(int groupNo)
This class defines the parameters of the GetCSInfo command. You may want to use this class to read al...
This class defines the axis through the definition of control and axis number.
This class defines the command ID of a motion command (motionhandle). You may want to use this class ...
Structure containing units of the kinematics as strings. You may want to use this structure to read a...
This enumeration must be used when defining the slope for blending.
This enumeration defines type of a coordinate system.
Class definition of the mlpiRobotLib.
This class defines the parameter values for a product coordinate transformation.
native RobotInformation[] GetConfiguredGroups()
This enumeration defines the type of an axis for the robot.
This enumeration defines the type of a safe zone.
Group groups(short groupNo)
This class defines the parameters of the StatusSummary command.
native RobotKinematicsValues[] GetKinematicsValues(GroupRef[] groups)
This class defines the parameters of the GetSafeZones command. You may want to use this class to read...
This class defines the reference in order to reference to the connected control and the robot that wi...
This class defines the inputparameters of the StatusSummary command.
This class defines the parameter values for a product coordinate transformation.
native RobotKinematicsUnits[] GetKinematicsUnits(GroupRef[] groups)
This enumeration defines the reaction of errors while sync moves.
Structure containing operation information about an kinematic. These values do change as soon as the ...
This enum defines the type of a cyclic position command.
This class defines the data for a command for a mechanic object.
This enumeration defines the possible coordinate systems.
RobotPoint CreatePoint(double point[], Robot.RobotCoordinateSystem type)
This class defines the data for a command for a mechanic object.
This class defines the parameter values for a coordinate transformation.
Class definition of the MotionLib.
This enumeration must be used to define which robotic kernel will be used.
This enumeration defines the command for a mechanical object.
This enumeration defines the type of information which should be read.
This enumeration must be used when defining the blending.
This class defines the configuration of the axis.
native RobotStatusSummary[] GetStatusSummary(RobotStatusSummaryIn[] statusSummaryIn)