com.github.wshackle.fanuc.robotserver.ITPPosition Maven / Gradle / Ivy
package com.github.wshackle.fanuc.robotserver ;
import com4j.*;
/**
* Provides access to a single position in a TP program.
*/
@IID("{3A49BE60-F5B9-11CF-8901-0020AF68F0A3}")
public interface ITPPosition extends com.github.wshackle.fanuc.robotserver.IRobotObject {
// Methods:
/**
*
* Returns the owning program object.
*
*
* Getter method for the COM property "Program"
*
* @return Returns a value of type com.github.wshackle.fanuc.robotserver.IProgram
*/
@DISPID(101) //= 0x65. The runtime will prefer the VTID if present
@VTID(8)
com.github.wshackle.fanuc.robotserver.IProgram program();
/**
*
* Returns/sets the text comment associated with the TP position.
*
*
* Getter method for the COM property "Comment"
*
* @return Returns a value of type java.lang.String
*/
@DISPID(201) //= 0xc9. The runtime will prefer the VTID if present
@VTID(9)
java.lang.String comment();
/**
*
* Returns/sets the text comment associated with the TP position.
*
*
* Setter method for the COM property "Comment"
*
* @param comment Mandatory java.lang.String parameter.
*/
@DISPID(201) //= 0xc9. The runtime will prefer the VTID if present
@VTID(10)
void comment(
java.lang.String comment);
/**
*
* Returns the position identification number for the TP position.
*
*
* Getter method for the COM property "Id"
*
* @return Returns a value of type int
*/
@DISPID(202) //= 0xca. The runtime will prefer the VTID if present
@VTID(11)
int id();
/**
*
* Returns whether the particular motion group is defined for the TP position.
*
*
* Getter method for the COM property "GroupMask"
*
* @param groupNum Mandatory short parameter.
* @return Returns a value of type boolean
*/
@DISPID(203) //= 0xcb. The runtime will prefer the VTID if present
@VTID(12)
boolean groupMask(
short groupNum);
/**
*
* Returns a FRCGroupPosition object representing the TP position in the specified motion group.
*
*
* Getter method for the COM property "Group"
*
* @param groupNum Mandatory short parameter.
* @return Returns a value of type com.github.wshackle.fanuc.robotserver.IGroupPosition
*/
@DISPID(204) //= 0xcc. The runtime will prefer the VTID if present
@VTID(13)
com.github.wshackle.fanuc.robotserver.IGroupPosition group(
short groupNum);
/**
*
* Returns whether the robot is currently at the TP position.
*
*
* Getter method for the COM property "IsAtCurPosition"
*
* @return Returns a value of type boolean
*/
@DISPID(205) //= 0xcd. The runtime will prefer the VTID if present
@VTID(14)
boolean isAtCurPosition();
/**
*
* Returns the reference count of the TP position.
*
*
* Getter method for the COM property "ReferenceCount"
*
* @return Returns a value of type int
*/
@DISPID(206) //= 0xce. The runtime will prefer the VTID if present
@VTID(15)
int referenceCount();
/**
*
* Returns/sets the TP position in a binary variant.
*
*
* Getter method for the COM property "Binary"
*
* @return Returns a value of type java.lang.Object
*/
@DISPID(207) //= 0xcf. The runtime will prefer the VTID if present
@VTID(16)
@ReturnValue(type=NativeType.VARIANT)
java.lang.Object binary();
/**
*
* Returns/sets the TP position in a binary variant.
*
*
* Setter method for the COM property "Binary"
*
* @param binaryPosData Mandatory java.lang.Object parameter.
*/
@DISPID(207) //= 0xcf. The runtime will prefer the VTID if present
@VTID(17)
void binary(
@MarshalAs(NativeType.VARIANT) java.lang.Object binaryPosData);
/**
*
* Moves the robot to this position for all groups defined for the TP position.
*
*/
@DISPID(251) //= 0xfb. The runtime will prefer the VTID if present
@VTID(18)
void moveto();
/**
*
* Records the current position of the robot to this position for all groups defined for the TP position.
*
*/
@DISPID(252) //= 0xfc. The runtime will prefer the VTID if present
@VTID(19)
void record();
/**
*
* Uninitializes the position for all groups defined for the TP position.
*
*/
@DISPID(253) //= 0xfd. The runtime will prefer the VTID if present
@VTID(20)
void uninitialize();
/**
*
* Returns True if the TP position has been taught (or has had its positional values manually set), False if it has not.
*
*
* Getter method for the COM property "IsInitialized"
*
* @return Returns a value of type boolean
*/
@DISPID(208) //= 0xd0. The runtime will prefer the VTID if present
@VTID(21)
boolean isInitialized();
/**
*
* Reads fresh values for a TP position from the robot.
*
*/
@DISPID(254) //= 0xfe. The runtime will prefer the VTID if present
@VTID(22)
void refresh();
/**
*
* Sends the local copy of a TP position to the robot.
*
*/
@DISPID(255) //= 0xff. The runtime will prefer the VTID if present
@VTID(23)
void update();
/**
*
* Returns a Boolean indicating if the robot can reach the position or not.
*
*
* Getter method for the COM property "IsReachable"
*
* @param from Optional parameter. Default value is com4j.Variant.getMissing()
* @param moType Optional parameter. Default value is 6
* @param orientType Optional parameter. Default value is 2
* @param destination Optional parameter. Default value is com4j.Variant.getMissing()
* @param motionErrorInfo Optional parameter. Default value is 0
* @return Returns a value of type boolean
*/
@DISPID(256) //= 0x100. The runtime will prefer the VTID if present
@VTID(24)
boolean isReachable(
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object from,
@Optional @DefaultValue("6") com.github.wshackle.fanuc.robotserver.FREMotionTypeConstants moType,
@Optional @DefaultValue("2") com.github.wshackle.fanuc.robotserver.FREOrientTypeConstants orientType,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object destination,
@Optional @DefaultValue("0") Holder motionErrorInfo);
/**
*
* Copies the positional data from another object into this one.
*
* @param position Mandatory com4j.Com4jObject parameter.
*/
@DISPID(257) //= 0x101. The runtime will prefer the VTID if present
@VTID(25)
void copy(
@MarshalAs(NativeType.Dispatch) com4j.Com4jObject position);
/**
*
* Returns the bit mask representation of the groups supported by this position.
*
*
* Getter method for the COM property "GroupBitMask"
*
* @return Returns a value of type com.github.wshackle.fanuc.robotserver.FREGroupBitMaskConstants
*/
@DISPID(258) //= 0x102. The runtime will prefer the VTID if present
@VTID(26)
com.github.wshackle.fanuc.robotserver.FREGroupBitMaskConstants groupBitMask();
/**
*
* Postion data for the First exist group in this TP position
*
*
* Getter method for the COM property "FirstExistGroup"
*
* @return Returns a value of type com.github.wshackle.fanuc.robotserver.IXyzWpr
*/
@DISPID(259) //= 0x103. The runtime will prefer the VTID if present
@VTID(27)
com.github.wshackle.fanuc.robotserver.IXyzWpr firstExistGroup();
/**
*
* Returns a Boolean indicating if the robot can reach the position or not.
*
* @param from Optional parameter. Default value is com4j.Variant.getMissing()
* @param moType Optional parameter. Default value is 6
* @param orientType Optional parameter. Default value is 2
* @param destination Optional parameter. Default value is com4j.Variant.getMissing()
* @param motionErrorInfo Optional parameter. Default value is 0
* @return Returns a value of type boolean
*/
@DISPID(260) //= 0x104. The runtime will prefer the VTID if present
@VTID(28)
boolean checkReach(
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object from,
@Optional @DefaultValue("6") com.github.wshackle.fanuc.robotserver.FREMotionTypeConstants moType,
@Optional @DefaultValue("2") com.github.wshackle.fanuc.robotserver.FREOrientTypeConstants orientType,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object destination,
@Optional @DefaultValue("0") Holder motionErrorInfo);
// Properties:
}