public static final enum

S7.DataType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.core.units.code.simatic.S7.DataType

Class Overview

Data types.

Summary

Enum Values
S7.DataType  ANY  Any data type  
S7.DataType  ARRAY   
S7.DataType  BLOCK_DB  Number of the data block  
S7.DataType  BLOCK_FB  Number of the function block  
S7.DataType  BLOCK_FC  Number of the function  
S7.DataType  BLOCK_SDB  Number of the system data block  
S7.DataType  BOOL   
S7.DataType  BYTE   
S7.DataType  CHAR   
S7.DataType  COUNTER  Number of the counter  
S7.DataType  DATE   
S7.DataType  DATE_AND_TIME   
S7.DataType  DINT   
S7.DataType  DWORD   
S7.DataType  INT   
S7.DataType  MULTI_INST_FB  Multi-instance FB  
S7.DataType  MULTI_INST_SFB  Multi-instance SFB  
S7.DataType  POINTER  Memory access  
S7.DataType  REAL   
S7.DataType  S5TIME   
S7.DataType  STRING   
S7.DataType  STRUCT   
S7.DataType  TIME   
S7.DataType  TIMER  Number of the timer  
S7.DataType  TIME_OF_DAY   
S7.DataType  UNKNOWN  Invalid or unknown  
S7.DataType  WORD   
Public Methods
static S7.DataType fromId(int id)
int getBitsize()
int getId()
Get the data type id (or code), used for example in binary blocks interfaces or MC7 pointers.
static S7.DataType valueOf(String name)
final static DataType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final S7.DataType ANY

Any data type

public static final S7.DataType ARRAY

public static final S7.DataType BLOCK_DB

Number of the data block

public static final S7.DataType BLOCK_FB

Number of the function block

public static final S7.DataType BLOCK_FC

Number of the function

public static final S7.DataType BLOCK_SDB

Number of the system data block

public static final S7.DataType BOOL

public static final S7.DataType BYTE

public static final S7.DataType CHAR

public static final S7.DataType COUNTER

Number of the counter

public static final S7.DataType DATE

public static final S7.DataType DATE_AND_TIME

public static final S7.DataType DINT

public static final S7.DataType DWORD

public static final S7.DataType INT

public static final S7.DataType MULTI_INST_FB

Multi-instance FB

public static final S7.DataType MULTI_INST_SFB

Multi-instance SFB

public static final S7.DataType POINTER

Memory access

public static final S7.DataType REAL

public static final S7.DataType S5TIME

public static final S7.DataType STRING

public static final S7.DataType STRUCT

public static final S7.DataType TIME

public static final S7.DataType TIMER

Number of the timer

public static final S7.DataType TIME_OF_DAY

public static final S7.DataType UNKNOWN

Invalid or unknown

public static final S7.DataType WORD

Public Methods

public static S7.DataType fromId (int id)

public int getBitsize ()

Returns
  • bitsize in memory, -1 if unknown or variable

public int getId ()

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

public static S7.DataType valueOf (String name)

public static final DataType[] values ()