Widget for rotation of motor

How do you want to represent the direction in the HMI?

With the ImageList you can have an image mapped to the values of the enumeration. Enumerations are just a DINT value under the hood and you can match that value to an image with the ImageList widget.

If you need something else, you could take a look at the following topics here in the community.