public interface ToolIOInterfaceControllable extends ToolIOInterface
ToolIOInterface.OutputVoltage| Modifier and Type | Method and Description |
|---|---|
AnalogInputModeConfigFactory |
getAnalogInputModeConfigFactory() |
DigitalOutputModeConfigFactory |
getDigitalOutputModeConfigFactory() |
boolean |
hasControl()
This method can be used to verify, if this URCap controls the Tool I/O Interface resource (after the control has
been granted the URCap).
|
void |
setAnalogInputModeConfig(AnalogInputModeConfig config)
Configure the analog input mode for the analog inputs in the connector in the robot tool.
|
void |
setDigitalOutputModeConfig(DigitalOutputModeConfig config)
Configure the digital output mode for the digital outputs in the connector in the robot tool.
|
void |
setOutputVoltage(ToolIOInterface.OutputVoltage outputVoltage)
Sets the tool output voltage level for the power supply that delivers power to the connector in the robot tool.
|
getAnalogInputModeConfig, getDigitalOutputModeConfig, getOutputVoltageboolean hasControl()
This method can be used to verify, if this URCap controls the Tool I/O Interface resource (after the control has been granted the URCap).
The URCap will not control the resource, if the control is reassigned to a different URCap or manual control for the end user is selected. A callback will be generated when the control is revoked, seeToolIOInterfaceController.onControlToBeRevoked(ToolIOInterfaceControlEvent).true, if this instance is in control. false otherwise (the control has been revoked).void setOutputVoltage(ToolIOInterface.OutputVoltage outputVoltage)
outputVoltage - the tool output voltage level.IllegalStateException - if the caller does not have control (see hasControl())@RequiredCapability(value=DIGITAL_OUTPUT_MODE) DigitalOutputModeConfigFactory getDigitalOutputModeConfigFactory()
CapabilityNotSupportedException - if the digital output mode capability is not available on the system.
Use CapabilityManager.hasCapability(Capability) with ToolIOCapability.DIGITAL_OUTPUT_MODE
to verify the availability.@RequiredCapability(value=DIGITAL_OUTPUT_MODE) void setDigitalOutputModeConfig(DigitalOutputModeConfig config)
Configure the digital output mode for the digital outputs in the connector in the robot tool.
UsegetDigitalOutputModeConfigFactory() to access a factory for creating configurations.config - the configuration of the digital output mode for the digital tool outputsIllegalStateException - if the caller does not have control (see hasControl())CapabilityNotSupportedException - if the digital output mode capability is not available on the system.
Use CapabilityManager.hasCapability(Capability) with ToolIOCapability.DIGITAL_OUTPUT_MODE
to verify the availability.AnalogInputModeConfigFactory getAnalogInputModeConfigFactory()
void setAnalogInputModeConfig(AnalogInputModeConfig config)
Configure the analog input mode for the analog inputs in the connector in the robot tool.
UsegetAnalogInputModeConfigFactory() to access a factory for creating configurations.config - the configuration of the analog input mode for the analog tool inputsIllegalStateException - if the caller does not have control (see hasControl())Copyright © 2019. All rights reserved.