Please check this one.
But you have to know that pendant send report about current state to the plugin only on pendant power on or when button pressed or other events.
If you start UCCNC and pendant was on - current state of the pendant will not send to UCCNC. You have to press any button or set speed for update.