com.kuka.roboticsAPI.ioModel
Enum IecType

java.lang.Object
  extended by java.lang.Enum<IecType>
      extended by com.kuka.roboticsAPI.ioModel.IecType
All Implemented Interfaces:
Serializable, Comparable<IecType>

public enum IecType
extends Enum<IecType>

Enumeration of IEC dataypes.

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.

Enum Constant Summary
BOOL
          Boolean.
BYTE
          Bit string of length 8.
DATE
          Deprecated. Currently NOT SUPPORTED BY JAVA.
DATE_OF_TIME
          Deprecated. Currently NOT SUPPORTED BY JAVA.
DINT
          Signed double integer (32 bit).
DWORD
          Bit string of length 32.
INT
          Signed integer (16 bit).
LINT
          Signed long integer (64 bit).
LREAL
          Long reals (64 bit).
LWORD
          Bit string of length 64.
REAL
          Real numbers (32 bit).
SINT
          Signed short integer (8 bit).
STRING
          Deprecated. Currently NOT SUPPORTED BY JAVA.
TIME
          Deprecated. Currently NOT SUPPORTED BY JAVA.
TIME_OF_DAY
          Deprecated. Currently NOT SUPPORTED BY JAVA.
UDINT
          Unsigned double integer (32 bit).
UINT
          Unsigned integer (16 bit).
ULINT
          Unsigned long integer (64 bit).
UNKNWOWN
          Unknown data type (used for all data types which do not match with one of this enumeration, e.g. structures and arrays).
USINT
          Unsigned short integer (8 bit).
WORD
          Bit string of length 16.
 
Method Summary
 int getBitSize()
          gets the supported bit size by the IecType.
 com.kuka.roboticsAPI.ioModel.IOTypes getIOType()
          gets the corresponding IOType of the IecType.
 Class<?> getJavaType()
          gets the corresponding java type of the IecType.
 boolean isSigned()
          IecType is signed.
static IecType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IecType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNWOWN

public static final IecType UNKNWOWN
Unknown data type (used for all data types which do not match with one of this enumeration, e.g. structures and arrays).


BOOL

public static final IecType BOOL
Boolean.


SINT

public static final IecType SINT
Signed short integer (8 bit).


INT

public static final IecType INT
Signed integer (16 bit).


DINT

public static final IecType DINT
Signed double integer (32 bit).


LINT

public static final IecType LINT
Signed long integer (64 bit).


USINT

public static final IecType USINT
Unsigned short integer (8 bit).


UINT

public static final IecType UINT
Unsigned integer (16 bit).


UDINT

public static final IecType UDINT
Unsigned double integer (32 bit).


ULINT

public static final IecType ULINT
Unsigned long integer (64 bit).


REAL

public static final IecType REAL
Real numbers (32 bit).


LREAL

public static final IecType LREAL
Long reals (64 bit).


TIME

@Deprecated
public static final IecType TIME
Deprecated. Currently NOT SUPPORTED BY JAVA.
Duration.


DATE

@Deprecated
public static final IecType DATE
Deprecated. Currently NOT SUPPORTED BY JAVA.
Date (only).


TIME_OF_DAY

@Deprecated
public static final IecType TIME_OF_DAY
Deprecated. Currently NOT SUPPORTED BY JAVA.
Time of day (only).


DATE_OF_TIME

@Deprecated
public static final IecType DATE_OF_TIME
Deprecated. Currently NOT SUPPORTED BY JAVA.
Date and time of day.


STRING

@Deprecated
public static final IecType STRING
Deprecated. Currently NOT SUPPORTED BY JAVA.
Variable-length character string.


BYTE

public static final IecType BYTE
Bit string of length 8.


WORD

public static final IecType WORD
Bit string of length 16.


DWORD

public static final IecType DWORD
Bit string of length 32.


LWORD

public static final IecType LWORD
Bit string of length 64.

Method Detail

values

public static IecType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IecType c : IecType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IecType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getBitSize

public int getBitSize()
gets the supported bit size by the IecType.

Returns:
the supported bit size by the IecType.
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.

getJavaType

public Class<?> getJavaType()
gets the corresponding java type of the IecType.

Returns:
the corresponding java type of the IecType.
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.

getIOType

public com.kuka.roboticsAPI.ioModel.IOTypes getIOType()
gets the corresponding IOType of the IecType.

Returns:
the corresponding IOType of the IecType.
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.

isSigned

public boolean isSigned()
IecType is signed.

Returns:
IecType is signed.
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.