Print position on every PWM period if debug is enabled.
Check LOCK state on TAKE,CLEAR,NEUTRAL.
Read LOCK position from configuration.