Get numerical value from Enumerator

Enumeration have a 4 Byte Datatype and can directly used as DINT.
Does the following code match your requirement, it can also be used in Cyclic.

Use an Additional Integer Variable to which you Convert the Data.

VAR
	TestINT : INT;
END_VAR

PROGRAM _INIT

	TestINT := DINT_TO_INT(e_Offset);
		 
END_PROGRAM