Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4Java)  1.26.2
GroupConfig.java
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // MLPI - <GroupConfig.java>
3 // -----------------------------------------------------------------------
4 // Copyright (c) 2012 Bosch Rexroth. All rights reserved.
5 // Redistribution and use in source and binary forms of this MLPI software
6 // (SW) provided to you, with or without modification, are permitted
7 // without prior approval provided that the following conditions are met:
8 //
9 // 1. Redistributions of source code of SW must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 //
12 // 2. Redistributions in binary form of SW must reproduce the above copyright
13 // notice, this list of conditions and the following disclaimer in the
14 // documentation and/or other materials provided with the distribution.
15 //
16 // 3. User recognizes and acknowledges that it acquires no right,
17 // title or interest in or to any of the names or trademarks used in
18 // connection with the SW ("names") by virtue of this License and waives
19 // any right to or interest in the names. User recognizes and acknowledges
20 // that names of companies or names or products of companies displayed
21 // in the documentation of SW to indicate the interoperability of products
22 // with the SW are the names of their respective owners. The use of such
23 // names in the documentation of SW does not imply any sponsorship,
24 // approval, or endorsement by such companies of this product.
25 //
26 // 4. Modified code versions, i.e. any addition to or deletion from
27 // the substance or structure of the original code of the SW running
28 // the MLPI must be plainly marked as such and must not be misrepresented
29 // as being original SW.
30 //
31 // 5. The SW may only be used in connection with a Bosch Rexroth product.
32 //
33 // THIS INFORMATION IS PROVIDED BY BOSCH REXROTH CORPORATION "AS IS"
34 // AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING
35 // (BUT NOTLIMITED TO) ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
36 // FITNESS FOR ANY PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WHILE THE
37 // INFORMATION PROVIDED IS BELIEVED TO BE ACCURATE, IT MAY INCLUDE
38 // ERRORS OR INACCURACIES.
39 // SUBJECT TO COMPULSORY STATUTORY PROVISIONS OF THE GERMAN LAW AS
40 // THE APPLICABLE LAW FOR THIS LICENSE BOSCH REXROTH CORPORATION WILL
41 // NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF
42 // THE SOFTWARE DISTRIBUTED HEREUNDER, INCLUDING BUT NOT LIMITED TO
43 // DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES.
44 // -----------------------------------------------------------------------
45 //
55 //
56 // -----------------------------------------------------------------------
57 package com.boschrexroth.mlpi;
58 
75 public class GroupConfig extends MlpiComponent{
76 
77  /*
78  * Fields
79  */
80  private final Robot.GroupRef _groupRef;
81  private long _motionHandle;
82 
83 
84  /*
85  * Methods
86  */
87 
92  GroupConfig(MlpiHandle connection, Robot.GroupRef groupRef) {
93  super(connection);
94  _groupRef = groupRef;
95  }
96 
102  public native void AddAllAxisToGroup();
103 
109  public native void RemAllAxisFromGroup();
110 
123  public native void SetCartesianTransform(Robot.RobotCoordinateSystem coordSys, double posX, double posY, double posZ, double rotA, double rotB, double rotC);
124 
137  public native void SetCylindricTransform(Robot.RobotCoordinateSystem coordSys, double posX, double posY, double posZ, double rotA, double rotB, double rotC);
138 
153  public native void SetBeltConfiguration(Motion.AxisRef beltAxis, double posX, double posY, double posZ, double rotA, double rotB, double rotC, double beginLength, double totalLength);
154 
169  public native void SetRotaryTableConfiguration(Motion.AxisRef beltAxis, double posX, double posY, double posZ, double rotA, double rotB, double rotC, double beginLength, double totalLength);
170 
181  public native void SetBeltErrorReaction(Motion.AxisRef beltAxis, Robot.RobotSyncErrorReactionMode errorType, double time, double deceleration, double jerk);
182 
194  public native void SetName(String name);
195 
219  public native void SetAxisConfiguration(Robot.RobotAxisConfiguration[] axisConfig);
220 
227  public native void SetKinematicType(long type);
228 
234  public native void Reset();
235 
249  public native void SetSafeZone(long zoneNumber, Robot.RobotSafeZoneType zoneType, double maxPosX, double maxPosY, double maxPosZ, double minPosX, double minPosY, double minPosZ);
250 
264  public native void SetMoveId(long moveId);
265 
277  public native void ChangeTool(double posX, double posY, double posZ, double rotA, double rotB, double rotC);
278 }
native void SetMoveId(long moveId)
native void SetCylindricTransform(Robot.RobotCoordinateSystem coordSys, double posX, double posY, double posZ, double rotA, double rotB, double rotC)
This class defines the axis through the definition of control and axis number.
Definition: Motion.java:417
Class definition of the mlpiRobotLib.
Definition: Robot.java:84
native void SetKinematicType(long type)
native void ChangeTool(double posX, double posY, double posZ, double rotA, double rotB, double rotC)
This enumeration defines the type of a safe zone.
Definition: Robot.java:382
This class defines the reference in order to reference to the connected control and the robot that wi...
Definition: Robot.java:557
native void SetName(String name)
native void SetRotaryTableConfiguration(Motion.AxisRef beltAxis, double posX, double posY, double posZ, double rotA, double rotB, double rotC, double beginLength, double totalLength)
This enumeration defines the reaction of errors while sync moves.
Definition: Robot.java:265
native void SetCartesianTransform(Robot.RobotCoordinateSystem coordSys, double posX, double posY, double posZ, double rotA, double rotB, double rotC)
This enumeration defines the possible coordinate systems.
Definition: Robot.java:192
native void SetSafeZone(long zoneNumber, Robot.RobotSafeZoneType zoneType, double maxPosX, double maxPosY, double maxPosZ, double minPosX, double minPosY, double minPosZ)
native void SetBeltConfiguration(Motion.AxisRef beltAxis, double posX, double posY, double posZ, double rotA, double rotB, double rotC, double beginLength, double totalLength)
Class definition of the MotionLib.
Definition: Motion.java:66
native void SetBeltErrorReaction(Motion.AxisRef beltAxis, Robot.RobotSyncErrorReactionMode errorType, double time, double deceleration, double jerk)
native void SetAxisConfiguration(Robot.RobotAxisConfiguration[] axisConfig)
This class defines the configuration of the axis.
Definition: Robot.java:669