# Enum: com.pnfsoftware.jeb.core.units.code.simatic.S7.DataType

Data types.

## Constant: ANY
Description: Any data type

## Constant: ARRAY
Description: Array value

## Constant: BLOCK_DB
Description: Number of the data block

## Constant: BLOCK_FB
Description: Number of the function block

## Constant: BLOCK_FC
Description: Number of the function

## Constant: BLOCK_SDB
Description: Number of the system data block

## Constant: BOOL
Description: Boolean value

## Constant: BYTE
Description: Unsigned 8\-bit value

## Constant: CHAR
Description: 8\-bit character

## Constant: COUNTER
Description: Number of the counter

## Constant: DATE
Description: Date value

## Constant: DATE_AND_TIME
Description: Date and time value

## Constant: DINT
Description: Signed 32\-bit integer

## Constant: DWORD
Description: Unsigned 32\-bit value

## Constant: INT
Description: Signed 16\-bit integer

## Constant: MULTI_INST_FB
Description: Multi\-instance FB

## Constant: MULTI_INST_SFB
Description: Multi\-instance SFB

## Constant: POINTER
Description: Memory access

## Constant: REAL
Description: 32\-bit floating\-point value

## Constant: S5TIME
Description: S5 time value

## Constant: STRING
Description: String value

## Constant: STRUCT
Description: Structure value

## Constant: TIME
Description: Signed time span

## Constant: TIMER
Description: Number of the timer

## Constant: TIME_OF_DAY
Description: Time of day value

## Constant: UNKNOWN
Description: Invalid or unknown

## Constant: WORD
Description: Unsigned 16\-bit value

## Method: getBitsize
- return type: `int`

Description: 
return: bitsize in memory, \-1 if unknown or variable

## Method: getId
- return type: `int`

Description: Get the data type id \(or code\), used for example in binary blocks interfaces or MC7 pointers.
return: data type id

## Static Method: fromId
- parameter: `id`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.simatic.S7.DataType`

Description: Retrieve a data type from its id.
parameter: id: data type id
return: data type, or [#UNKNOWN](#UNKNOWN)

## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.simatic.S7.DataType`


## Static Method: values
- return type: `com.pnfsoftware.jeb.core.units.code.simatic.S7.DataType[]`


