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, getOutputVoltage
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).
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
as argument 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
as argument 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 © 2021. All rights reserved.