DELRRSModelTypePackage (no NLS) Methods

This section describes the methods of the DELRRSModelTypePackage.

This page discusses:

RRSConnectionMgr.AutoRRSConnect()

RRS connects the robot to its persisted RRS-I or RRS-II server using its persisted connection parameters if its RRS activation status is set to true (see IsRRSEnabled and EnableRRS APIs).

Signature

RRSConnectionMgr.AutoRRSConnect() : Integer

ReturnType

Integer

0 if robot got RRS connected and 1 if not.

Example

let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestInteger(Integer)
myTestInteger = MyRRSConnect.AutoRRSConnect()

RRSConnectionMgr.GetRRSConnectionParameters()

Retrieves the robot’s RRS connection parameters EKL interface on a given product occurrence to access robot's RRS parameters. These parameters are used to manage RRS connections and saved on the robot controller for later reuse. Once set, the AutoRRSConnect API from the RRSConnectionMgr will RRS connect the robot to the selected RRS-I or RRS-II server.

Signature

GetRRSConnectionParameters() : RRSConnectionParameters 

ReturnType

RRSConnectionParameters
Integer

Robot’s RRSConnectionsParameters EKL interface handle.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

RRSConnectionMgr.GetRRSConnectionMgr()

Retrieves the robot’s RRS connection manager EKL interface on a given product occurrence to manage robot's RRS connection. This is the main API to manage a robot's RRS connection status to an RRS-I (RCS) or RRS-II (VRC) server.

Signature

GetRRSConnectionMgr() : RRSConnectionMgr

ReturnType

RRSConnectionMgr
Integer

Robot’s RRSConnectionMgr EKL interface handle.

Example

let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

RRSConnectionMgr.GetRRSControllerType()

Retrieves robot's RRS controller type (and returns its connection status). This is the controller string stored in the rrs.servers file for robot's RRS server.

Signature

RRSConnectionMgr.GetRRSControllerType(oRRSControllerType : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
oRRSControllerType Out String Returned RRS controller type

ReturnType

Boolean

Robot’s RRS connection status to an RRS server at the moment.

Example

let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myTestBoolean(Boolean)
myTestBoolean = MyRRSConnect.GetRRSControllerType(myTestString) 

RRSConnectionMgr.IsRRSConnected()

Checks if the robot is connected to an RRS server at the moment.

Signature

RRSConnectionMgr.IsRRSConnected() : Boolean

ReturnType

Boolean

Robot’s RRS connection status to an RRS server at the moment.

Example

let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestBoolean(Boolean)
myTestBoolean = MyRRSConnect.IsRRSConnected() 

RRSConnectionMgr.LoadActivateVRCProgram()

Instructs robot's VRC to load/activate its persisted RRS-II VRC program file/name. Robot must be RRS-II connected before this is called.

Signature

RRSConnectionMgr.LoadActivateVRCProgram(iVRCProgramPath : String, iVRCProgramName : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iVRCProgramPath In String -
iVRCProgramName In String -

ReturnType

Boolean

True for success and false for failure.

Example

CATKnowledge.LoadActivateVRCProgram.Sample="
let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestBoolean(Boolean)
myTestBoolean = MyRRSConnect.LoadActivateVRCProgram(‘VRCProgramPath’, ‘VRCProgramName’)

RRSConnectionMgr.RRSDisconnect()

RRS disconnects the robot from its currently connected RRS-I or RRS-II server.

Signature

RRSConnectionMgr.RRSDisconnect() : Integer

ReturnType

Integer

0 if robot got RRS disconnected and 1 if not.

Example

let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestInteger(Integer)
myTestInteger = MyRRSConnect.RRSDisconnect()

RRSConnectionMgr.UsingRRS2Server()

Check if the robot is using an RRS-II server. IsRRSConnected API should first be called to ensure RRS is connected before this is called.

Signature

RRSConnectionMgr.UsingRRS2Server() : Boolean

ReturnType

Boolean

Returns true if robot is connected to an RRS-II server and false if not.

Example

let MyRRSConnect(RRSConnectionMgr)
MyRRSConnect = SelectedOcc->GetRRSConnectionMgr() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestBoolean(Boolean)
myTestBoolean = MyRRSConnect.UsingRRS2Server()

RRSConnectionParameters.EnableRRS()

Sets robot's persisted RRS activation status. This does not perform an RRS connection: if set to true, the AutoRRSConnect API will perform an RRS connection.

Signature

RRSConnectionParameters.EnableRRS(iEnable : Boolean) : Boolean

Arguments

Name Input/Output Required? Type Comment
iEnable Input Boolean -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot
MyRRSParam.EnableRRS(true)  //to activate the RRS support

RRSConnectionParameters.GetRRS1ControllerBackupDir()

Retrieves robot's persisted RRS-I controller backup directory.

Signature

RRSConnectionParameters.GetRRS1ControllerBackupDir(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I controller backup directory.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1ControllerBackupDir(myScope)

RRSConnectionParameters.GetRRS1DebugFile()

Retrieves robot's persisted RRS-I debug file path.

Signature

RRSConnectionParameters.GetRRS1DebugFile(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I debug file path.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1DebugFile(myScope)

RRSConnectionParameters.GetRRS1Manipulator()

Retrieves robot's persisted RRS-I manipulator.

Signature

RRSConnectionParameters.GetRRS1Manipulator(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I manipulator.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1Manipulator(myScope)

RRSConnectionParameters.GetRRS1RCSControllerVersion()

Retrieves robot's persisted RRS-I RCS controller version (as recorded during the last successful RRS connection).

Signature

RRSConnectionParameters.GetRRS1RCSControllerVersion(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I RCS controller version (as recorded during the last successful RRS connection).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1RCSControllerVersion(myScope)

RRSConnectionParameters.GetRRS1RCSDataHomeDir()

Retrieves robot's persisted RRS-I RCS data home directory.

Signature

RRSConnectionParameters.GetRRS1RCSDataHomeDir(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I RCS data home directory.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1RCSDataHomeDir(myScope)

RRSConnectionParameters.GetRRS1RCSSWVersion()

Retrieves robot's persisted RRS-I RCS software version (as recorded during the last successful RRS connection).

Signature

RRSConnectionParameters.GetRRS1RCSSWVersion(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I RCS software version (as recorded during the last successful RRS connection).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot
let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1RCSSWVersion(myScope)

RRSConnectionParameters.GetRRS1RCSSpotEmulation()

Retrieves robot's persisted RRS-I RCS spot emulation status. Return value of true means spot operations will be emulated by the RCS if supported.

Signature

RRSConnectionParameters.GetRRS1RCSSpotEmulation(iRRScope : RRSParameterScope) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

Boolean

Robot’s persisted RRS-I RCS spot emulation status. Return value of true means spot operations will be emulated by the RCS if supported.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestBoolean(Boolean)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestBoolean = MyRRSParam.GetRRS1RCSSpotEmulation(myScope)

RRSConnectionParameters.GetRRS1RCSTriggerEmulation()

Retrieves robot's persisted RRS-I RCS trigger emulation status. Return value of true means trigger instructions will be emulated by the RCS (as RRS-I events) if supported.

Signature

RRSConnectionParameters.GetRRS1RCSTriggerEmulation(iRRScope : RRSParameterScope) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

Boolean

Robot’s persisted RRS-I RCS trigger emulation status. Return value of true means trigger instructions will be emulated by the RCS (as RRS-I events) if supported.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestBoolean(Boolean)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestBoolean = MyRRSParam.GetRRS1RCSTriggerEmulation(myScope)

RRSConnectionParameters.GetRRS1RCSVersion()

Retrieves robot's persisted RRS-I RCS version (as recorded during the last successful RRS connection).

Signature

RRSConnectionParameters.GetRRS1RCSVersion(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I RCS version (as recorded during the last successful RRS connection).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1RCSVersion(myScope)

RRSConnectionParameters.GetRRS1RelativeRobotPath()

Retrieves robot's persisted RRS-I relative robot path.

Signature

RRSConnectionParameters.GetRRS1RelativeRobotPath(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I relative robot path.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1RelativeRobotPath(myScope)

RRSConnectionParameters.GetRRS1RobotNumber()

Retrieves robot's persisted RRS-I robot number.

Signature

RRSConnectionParameters.GetRRS1RobotNumber(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I robot number.

Example

CATKnowledge.GetRRS1RobotNumber.Sample="
let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1RobotNumber(myScope)

RRSConnectionParameters.GetRRS1SamplePeriod()

Retrieves robot's persisted RRS-I sample period (in milliseconds).

Signature

RRSConnectionParameters.GetRRS1SamplePeriod(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-I sample period (in milliseconds).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS1SamplePeriod(myScope)

RRSConnectionParameters.GetRRS2ControllerConfig()

Retrieves robot's persisted RRS-II controller configuration.

Signature

RRSConnectionParameters.GetRRS2ControllerConfig(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II string output line number used for VRC invoked triggers.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2TriggerOutputLine(myScope)

RRSConnectionParameters.GetRRS2ControllerSWVersion()

Retrieves robot's persisted RRS-II controller software version (as recorded during the last successful RRS-II connection).

Signature

RRSConnectionParameters.GetRRS2ControllerSWVersion(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s robot's persisted RRS-II controller software version (as recorded during the last successful RRS-II connection).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2ControllerSWVersion(myScope)

RRSConnectionParameters.GetRRS2FileSystemArchive()

Retrieves robot's persisted RRS-II file system archive path (typically a ZIP file).

Signature

RRSConnectionParameters.GetRRS2FileSystemArchive(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II file system archive path (typically a ZIP file).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2FileSystemArchive(myScope)

RRSConnectionParameters.GetRRS2SamplePeriod()

Retrieves robot's persisted RRS-II sample period (in milliseconds).

Signature

RRSConnectionParameters.GetRRS2SamplePeriod(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II sample period (in milliseconds).

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2SamplePeriod(myScope)

RRSConnectionParameters.GetRRS2TriggerOutputLine()

Retrieves robot's persisted RRS-II string output line number used for VRC invoked triggers. If the string sent by the VRC on this RRS-II string output line matches the name of a trigger instruction defined in the simulated robot task, that trigger's action will be executed during RRS-II simulation.

Signature

RRSConnectionParameters.GetRRS2TriggerOutputLine(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II string output line number used for VRC invoked triggers.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2TriggerOutputLine(myScope)

RRSConnectionParameters.GetRRS2UserLanguage()

Retrieves robot's persisted RRS-II user language (as recorded during the last successful RRS-II connection).

Signature

RRSConnectionParameters.GetRRS2UserLanguage(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II user language (as recorded during the last successful RRS-II connection

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2UserLanguage(myScope)

RRSConnectionParameters.GetRRS2VRCInstDebugFile()

Retrieves robot's persisted RRS-II VRC instance debug file path.

Signature

RRSConnectionParameters.GetRRS2VRCInstDebugFile(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II VRC instance debug file path.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2VRCInstDebugFile(myScope)

RRSConnectionParameters.GetRRS2VRCMgrDebugFile()

Retrieves robot's persisted RRS-II VRC manager debug file path.

Signature

RRSConnectionParameters.GetRRS2VRCMgrDebugFile(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II VRC manager debug file path.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2VRCMgrDebugFile(myScope)

RRSConnectionParameters.GetRRS2VRCProgramName()

Retrieves robot's persisted RRS-II VRC program name.

Signature

RRSConnectionParameters.GetRRS2VRCProgramName(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II VRC program name.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2VRCProgramName(myScope)

RRSConnectionParameters.GetRRS2VRCProgramPath()

Retrieves robot's persisted RRS-II VRC program path.

Signature

RRSConnectionParameters.GetRRS2VRCProgramPath(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In String ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS-II VRC program path.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRS2VRCProgramPath(myScope)

RRSConnectionParameters.GetRRSControlledMotionGroup()

Retrieves, as a string of semi-colon (;) separated motion group names, the persisted list of motion group names that represents robot's RRS device configuration.

Signature

RRSConnectionParameters.GetRRSControlledMotionGroup(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In RRSParameterScope -

ReturnType

String

The persisted list of motion group names that represents robot's RRS device configuration as a string of semi-colon (;) separated motion group names.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myControlledMGsString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myControlledMGsString = MyRRSParam.GetRRSControlledMotionGroup(myScope)

RRSConnectionParameters.GetRRSControlledMotionGroups()

Retrieves, as a list, the persisted list of motion group names that represents robot's RRS device configuration.

Signature

RRSConnectionParameters.GetRRSControlledMotionGroups(iRRScope : RRSParameterScope) : List

Arguments

Name Input/Output Required? Type Comment
iRRScope In List ‘Local’ or ‘Anywhere’

ReturnType

List

The persisted list of motion group names that represents robot's RRS device configuration as a string of semi-colon (;) separated motion group names.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myControlledMGsList(List)
let myScope(RRSParameterScope)
myScope = 'Local'
myControlledMGsList = MyRRSParam.GetRRSControlledMotionGroups(myScope)

RRSConnectionParameters.GetRRSServerName()

Retrieves the persisted RRS server name of the robot.

Signature

RRSConnectionParameters.GetRRSServerName(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In RRSParameterScope ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS server name.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot
let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRSServerName(myScope)

RRSConnectionParameters.GetRRSShlibVersion()

Retrieves the robot’s persisted RRS interface shared library version (as recorded during the last successful RRS connection).

Signature

RRSConnectionParameters.GetRRSShlibVersion(iRRScope : RRSParameterScope) : String

Arguments

Name Input/Output Required? Type Comment
iRRScope In RRSParameterScope ‘Local’ or ‘Anywhere’

ReturnType

String

Robot’s persisted RRS interface shared library version.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestString(String)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestString = MyRRSParam.GetRRSShlibVersion(myScope)

RRSConnectionParameters.IsRRSEnabled()

Checks if RRS activation is persisted for the robot. If set to true, the AutoRRSConnect API will perform an RRS connection.

Signature

RRSConnectionParameters.IsRRSEnabled(iRRScope : RRSParameterScope) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRRScope Input RRSParameterScope ‘Local’ or ‘Anywhere’

ReturnType

Boolean

Robot’s persisted RRS activation status.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myTestBoolean(Boolean)
let myScope(RRSParameterScope)
myScope = 'Local'
myTestBoolean = MyRRSParam.IsRRSEnabled(myScope)

RRSConnectionParameters.SetRRS1ControllerBackupDir()

Sets robot's persisted RRS-I controller backup directory.

Signature

RRSConnectionParameters.SetRRS1ControllerBackupDir(iControllerBackupDir : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iControllerBackupDir In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1ControllerBackupDir('MyControllerBackupDir')

RRSConnectionParameters.SetRRS1DebugFile()

Sets robot's persisted RRS-I debug file path.

Signature

RRSConnectionParameters.SetRRS1DebugFile(iDebugFile : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iDebugFile In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1DebugFile('MyDebugFile')

RRSConnectionParameters.SetRRS1Manipulator()

Sets robot's persisted RRS-I manipulator.

Signature

RRSConnectionParameters.SetRRS1Manipulator(iManipulator : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iManipulator In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1Manipulator('MyManipulator')

RRSConnectionParameters.SetRRS1RCSControllerVersion()

Sets robot's persisted RRS-I RCS controller version.

Signature

RRSConnectionParameters.SetRRS1RCSControllerVersion(iRCSControllerVersion : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRCSControllerVersion In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1RCSControllerVersion('MyRCSControllerVersion')

RRSConnectionParameters.SetRRS1RCSDataHomeDir()

Sets robot's persisted RRS-I RCS data home directory.

Signature

RRSConnectionParameters.SetRRS1RCSDataHomeDir(iRCSDataHomeDir : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRCSDataHomeDir In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1RCSDataHomeDir('MyRCSDataHomeDir')

RRSConnectionParameters.SetRRS1RCSSWVersion()

Sets robot's persisted RRS-I RCS software version.

Signature

RRSConnectionParameters.SetRRS1RCSSWVersion(iRCSSWVersion : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRCSSWVersion In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1RCSSWVersion('MyRCSSWVersion')

RRSConnectionParameters.SetRRS1RCSSpotEmulation()

Sets robot's persisted RRS-I RCS spot emulation status. Setting this to true will cause spot operations to be emulated by the RCS if supported.

Signature

RRSConnectionParameters.SetRRS1RCSSpotEmulation(iRCSSpotEmulation : Boolean) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRCSSpotEmulation In Boolean -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1RCSSpotEmulation(true)

RRSConnectionParameters.SetRRS1RCSTriggerEmulation()

Sets robot's persisted RRS-I RCS trigger emulation activation status. Setting this to true will cause trigger instructions to be emulated by the RCS (as RRS-I events) if supported.

Signature

RRSConnectionParameters.SetRRS1RCSTriggerEmulation(iRCSTriggerEmulation : Boolean) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRCSTriggerEmulation In Boolean -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1RCSTriggerEmulation(true)

RRSConnectionParameters.SetRRS1RCSVersion()

Sets robot's persisted RRS-I RCS version.

Signature

RRSConnectionParameters.SetRRS1RCSVersion(iRCSVersion : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRCSVersion In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1RCSVersion('MyRCSVersion')

RRSConnectionParameters.SetRRS1RelativeRobotPath()

Sets robot's persisted RRS-I relative robot path.

Signature

RRSConnectionParameters.SetRRS1RelativeRobotPath(iRelativeRobotPath : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRelativeRobotPath In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot
MyRRSParam.SetRRS1RelativeRobotPath('MyRelativeRobotPath')

RRSConnectionParameters.SetRRS1RobotNumber()

Sets robot's persisted RRS-I robot number.

Signature

RRSConnectionParameters.SetRRS1RobotNumber(iRobotNumber : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iRobotNumber In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot
MyRRSParam.SetRRS1RobotNumber('MyRobotNumber')

RRSConnectionParameters.SetRRS1SamplePeriod()

Sets robot's persisted RRS-I sample period (in milliseconds).

Signature

RRSConnectionParameters.SetRRS1SamplePeriod(iSamplePeriod : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iSamplePeriod In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS1SamplePeriod('10')

RRSConnectionParameters.SetRRS2ControllerConfig()

Sets persisted robot's RRS-II controller configuration.

Signature

RRSConnectionParameters.SetRRS2ControllerConfig(iControllerConfig : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iControllerConfig In String -

ReturnType

Boolean

Robot’s persisted RRS-II controller configuration.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2ControllerConfig('MyControllerConfig')

RRSConnectionParameters.SetRRS2ControllerSWVersion()

Sets robot's persisted RRS-II controller software version.

Signature

RRSConnectionParameters.SetRRS2ControllerSWVersion(iControllerSWVersion : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iControllerSWVersion In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2ControllerSWVersion('MyControllerSWVersion')

RRSConnectionParameters.SetRRS2FileSystemArchive()

Sets robot's persisted RRS-II file system archive path (typically a ZIP file).

Signature

RRSConnectionParameters.SetRRS2FileSystemArchive(iFileSystemArchive : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iFileSystemArchive In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2FileSystemArchive('MyFileSystemArchive')

RRSConnectionParameters.SetRRS2SamplePeriod()

Sets robot's persisted RRS-II sample period.

Signature

RRSConnectionParameters.SetRRS2SamplePeriod(iSamplePeriod : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iSamplePeriod In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2SamplePeriod('25')

RRSConnectionParameters.SetRRS2TriggerOutputLine()

Sets robot's persisted RRS-II user language.

Signature

RRSConnectionParameters.SetRRS2TriggerOutputLine(iTriggerOutputLine : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iTriggerOutputLine In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2TriggerOutputLine('9999')

RRSConnectionParameters.SetRRS2UserLanguage()

Sets robot's persisted RRS-II user language.

Signature

RRSConnectionParameters.SetRRS2UserLanguage(iUserLanguage : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iUserLanguage In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2UserLanguage('MyUserLanguage')

RRSConnectionParameters.SetRRS2VRCInstDebugFile()

Sets robot's persisted RRS-II VRC instance debug file path.

Signature

RRSConnectionParameters.SetRRS2VRCInstDebugFile(iVRCInstDebugFile : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iVRCInstDebugFile In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2VRCInstDebugFile('MyVRCInstDebugFile')

RRSConnectionParameters.SetRRS2VRCMgrDebugFile()

Sets robot's persisted RRS-II VRC manager debug file path.

Signature

RRSConnectionParameters.SetRRS2VRCMgrDebugFile(iVRCMgrDebugFile : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iVRCMgrDebugFile In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2VRCMgrDebugFile('MyVRCMgrDebugFile')

RRSConnectionParameters.SetRRS2VRCProgramName()

Sets robot's persisted RRS-II VRC program name. This should be set when RRS is disconnected for the robot.

Signature

RRSConnectionParameters.SetRRS2VRCProgramName(iVRCProgramName : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iVRCProgramName In String -

ReturnType

Boolean

True for success and false for failure.

Example

et MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2VRCProgramName('MyVRCProgramName')

RRSConnectionParameters.SetRRS2VRCProgramPath()

Sets robot's persisted RRS-II VRC program path. This should be set when RRS is disconnected for the robot.

Signature

RRSConnectionParameters.SetRRS2VRCProgramPath(iVRCProgramPath : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iVRCProgramPath In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRS2VRCProgramPath('MyVRCProgramPath')

RRSConnectionParameters.SetRRSControlledMotionGroup()

Get robot’s RRSConnectionParameters EKL interface handle

Signature

RRSConnectionParameters.SetRRSControlledMotionGroup(iControlledMotionGroup : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iControlledMotionGroup In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot
MyRRSParam.SetRRSControlledMotionGroup('MotionGroup.1;MotionGroup.3 ')

RRSConnectionParameters.SetRRSControlledMotionGroups()

Sets the persisted list of motion group names that represents robot's RRS device configuration using as input a list of motion group names.

Signature

RRSConnectionParameters.SetRRSControlledMotionGroups(iControlledMotionGroups : List) : Boolean

Arguments

Name Input/Output Required? Type Comment
iControlledMotionGroups In List -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

let myControlledMGsList(List)
//valuation of myControlledMGsList
MyRRSParam.SetRRSControlledMotionGroups(myControlledMGsList)

RRSConnectionParameters.SetRRSServerName()

Sets the persisted RRS server name of the robot.

Signature

RRSConnectionParameters.SetRRSServerName(iServerName : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iServerName In String -

ReturnType

Boolean

True for success and false for failure.

Example

CATKnowledge.SetRRSServerName.Sample="
let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRSServerName('MyServerName')

RRSConnectionParameters.SetRRSShlibVersion()

Sets the persisted RRS interface shared library version of the robot.

Signature

RRSConnectionParameters.SetRRSShlibVersion(iShlibVersion : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
iShlibVersion In String -

ReturnType

Boolean

True for success and false for failure.

Example

let MyRRSParam(RRSConnectionParameters)
MyRRSParam = SelectedOcc->GetRRSConnectionParameters() //SelectedOcc is the product node of type ProductOccurrence for the robot

MyRRSParam.SetRRSShlibVersion('MySharedLibVersion')