Working on this spindle issue today and can not seem to make any headway.
1) Verified motor connections (Rotation is correct)
2) Verified encoder connections (All are good according to print)
3) Cleared VFD of all settings (Back to factory settings)
4) Verified configuration (Tried 3 known functioning configs and 1 new config)
5) Removed encoder from LCNC (Issue is still present)
6) Verified VFD is functioning from drive keypad/control panel (No issue with rotation)

Verified spindle does not move when analog5 is not physically connected to drive analog inputs
9) Verified there is ~ 0.006vdc analog5 outputs when either cw or ccw is pressed with no command input
10) Noticed there is always a 1rpm offset when watching items in hal configuration (Turn spindle on = 1rpm. Turn spindle up to 100rpm and hal shows 101rpm)
11) Tried spindle on analog4 and same issue as on analog5
Still no luck on this as of now. I will update more later as this gets worked through. As always any suggestions are welcome..