com.github.wshackle.fanuc.robotserver.IIndPosition Maven / Gradle / Ivy
package com.github.wshackle.fanuc.robotserver ;
import com4j.*;
/**
* Enables you to work with position data without requiring you to create the position on the controller or find an existing one to use.
*/
@IID("{D21DF523-8D4A-4A7C-B367-5725E53A21A1}")
public interface IIndPosition extends com.github.wshackle.fanuc.robotserver.IRobotObject {
// Methods:
/**
*
* 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(8)
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(9)
void comment(
java.lang.String comment);
/**
*
* Returns a FRCIndGroupPosition object representing the 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.IIndGroupPosition
*/
@DISPID(202) //= 0xca. The runtime will prefer the VTID if present
@VTID(10)
com.github.wshackle.fanuc.robotserver.IIndGroupPosition group(
short groupNum);
/**
*
* Returns whether the specified group is supported on the controller.
*
*
* 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(11)
boolean groupMask(
short groupNum);
/**
*
* Returns the unique internal position identification number for the position.
*
*
* Getter method for the COM property "Id"
*
* @return Returns a value of type int
*/
@DISPID(204) //= 0xcc. The runtime will prefer the VTID if present
@VTID(12)
int id();
/**
*
* Returns whether the robot is currently at the 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(13)
boolean isAtCurPosition();
/**
*
* Returns whether the position is initialized.
*
*
* Getter method for the COM property "IsInitialized"
*
* @return Returns a value of type boolean
*/
@DISPID(206) //= 0xce. The runtime will prefer the VTID if present
@VTID(14)
boolean isInitialized();
/**
*
* 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(207) //= 0xcf. The runtime will prefer the VTID if present
@VTID(15)
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(250) //= 0xfa. The runtime will prefer the VTID if present
@VTID(16)
void copy(
@MarshalAs(NativeType.Dispatch) com4j.Com4jObject position);
/**
*
* Moves the robot to this position.
*
*/
@DISPID(251) //= 0xfb. The runtime will prefer the VTID if present
@VTID(17)
void moveto();
/**
*
* Records the current position of the robot to this position.
*
*/
@DISPID(253) //= 0xfd. The runtime will prefer the VTID if present
@VTID(18)
void record();
/**
*
* Uninitializes the position.
*
*/
@DISPID(254) //= 0xfe. The runtime will prefer the VTID if present
@VTID(19)
void uninitialize();
/**
*
* 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(255) //= 0xff. The runtime will prefer the VTID if present
@VTID(20)
com.github.wshackle.fanuc.robotserver.FREGroupBitMaskConstants groupBitMask();
/**
*
* 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(256) //= 0x100. The runtime will prefer the VTID if present
@VTID(21)
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:
}