Class for controlling the monochromator. A thread is started any time a command is perfomed, and it ends when the actions and movements are finished. This avoids timeout problems. It uses the PLCs for energy movements.