com.kuka.roboticsAPI.ioModel
Class IOUtil

java.lang.Object
  extended by com.kuka.roboticsAPI.ioModel.IOUtil

public final class IOUtil
extends Object

Utility methods for IO Support.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Method Summary
static long getDigitalMaxValue(boolean signed, int ioSize)
          Gets the minimum value for the supplied IO size.
static long getDigitalMinValue(boolean signed, int ioSize)
          Gets the maximum value for the supplied IO size.
static void validate(com.kuka.roboticsAPI.ioModel.IOTypes type, long value, int ioSize)
          Validates that the supplied digital IO value is between than the supported range of values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDigitalMinValue

public static long getDigitalMinValue(boolean signed,
                                      int ioSize)
Gets the maximum value for the supplied IO size.

Parameters:
signed - IO is signed
ioSize - size of the IO
Returns:
the maximum value
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getDigitalMaxValue

public static long getDigitalMaxValue(boolean signed,
                                      int ioSize)
Gets the minimum value for the supplied IO size.

Parameters:
signed - IO is signed
ioSize - size of the IO
Returns:
the minimum value
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

validate

public static void validate(com.kuka.roboticsAPI.ioModel.IOTypes type,
                            long value,
                            int ioSize)
Validates that the supplied digital IO value is between than the supported range of values.

Parameters:
type - type of the IO
value - value to set
ioSize - size of the IO
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.