Enum Class S7.SectionType
- All Implemented Interfaces:
Serializable
,Comparable<S7.SectionType>
,Constable
- Enclosing class:
- S7
Categories for interface sections.
Note: the ordering reflects the id's (also used by the Step7 editor). When it comes to mapping in memory for FC/FB/DB interfaces, the ordering is not the same (e.g. RET after IN)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInput data of a non-OB routine (FB, FC, SFB, SFC)Read/write data of a non-OB routine (FB, FC, SFB, SFC)Output data of a non-OB routine (FB, FC, SFB, SFC)Return data of function (FC, SFC)Static storage data of a FB/SFB (not for OB/FC/SFC), stored in an associated instance data block (DI)Temporary data, a.k.a. -
Method Summary
Modifier and TypeMethodDescriptionstatic S7.SectionType
fromId
(int id) int
getId()
static S7.SectionType
Returns the enum constant of this class with the specified name.static S7.SectionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
IN
Input data of a non-OB routine (FB, FC, SFB, SFC) -
OUT
Output data of a non-OB routine (FB, FC, SFB, SFC) -
IN_OUT
Read/write data of a non-OB routine (FB, FC, SFB, SFC) -
STAT
Static storage data of a FB/SFB (not for OB/FC/SFC), stored in an associated instance data block (DI) -
TEMP
Temporary data, a.k.a. Dynamic data: local data of a routine (OB, FB, FC, SFB, SFC) -
RET
Return data of function (FC, SFC)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId() -
fromId
-