Skip to content

Spindle refactoring, issue with original Huanyang logic #18

@dresco

Description

@dresco

Looks like the refactoring has impacted speed control for original Huanyang VFDs..

Here it's setting spindle_hal->rpm_max to the configured RPM @ 50Hz, which is then enforced in spindle_set_rpm()

case VFD_GetMaxRPM50:
if(spindle_hal) {
spindle_hal->cap.rpm_range_locked = On;
spindle_hal->rpm_max = rpm_max50 = (float)((msg->adu[4] << 8) | msg->adu[5]);
}
break;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions