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

Data types.

## Constant: ANY
Description: Any data type

## Constant: ARRAY

## 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

## Constant: BYTE

## Constant: CHAR

## Constant: COUNTER
Description: Number of the counter

## Constant: DATE

## Constant: DATE_AND_TIME

## Constant: DINT

## Constant: DWORD

## Constant: INT

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

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

## Constant: POINTER
Description: Memory access

## Constant: REAL

## Constant: S5TIME

## Constant: STRING

## Constant: STRUCT

## Constant: TIME

## Constant: TIMER
Description: Number of the timer

## Constant: TIME_OF_DAY

## Constant: UNKNOWN
Description: Invalid or unknown

## Constant: WORD

## 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: 

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


## 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[]`


