- Posts: 266
- Thank you received: 120
rs485 huanyang speed control
- BrendaEM
- Offline
- Elite Member
-
Less
More
8 years 4 months ago - 8 years 4 months ago #113141
by BrendaEM
Replied by BrendaEM on topic rs485 huanyang speed control
Eureka!!! I found the problem!!!
Donning safety google, because I am now sitting pretty close to the spindle, I energized the system, and launched LinuxCNC...
While probing the spindle-command-rpm-abs signal, I clicked on the RPM increase until I got over 6600. As soon as I passed it, the motor RPM went up, and the at-speed indicator finally went green. : )
The system was sending correctly scaled RPM commands, but the sent speed was lower than the user-set VFD minimum, so that is what it was giving me. (Apparently, Huanyang air-cooled spindles motors don't like running under 110Hz, the water-cooled ones below 100hz, so I had indeed set those values.)
Editing the custompanel.xml control, changing the 3000 to 24000, fixed the visual widget issue.
The too-many-clicks issue was lessened by editing the .ini [DISPLAY] section, adding:
Ref:
forum.linuxcnc.org/21-axis/34056-spindle...nimum-starting-value
Though, the build code would have to be changed in Axis to change the increments, from what I have read, which likely should have been a ini variable.
I've removed all the classic ladder and PWM statements from my .hal.
Thank you all who helped me : )
Donning safety google, because I am now sitting pretty close to the spindle, I energized the system, and launched LinuxCNC...
While probing the spindle-command-rpm-abs signal, I clicked on the RPM increase until I got over 6600. As soon as I passed it, the motor RPM went up, and the at-speed indicator finally went green. : )
The system was sending correctly scaled RPM commands, but the sent speed was lower than the user-set VFD minimum, so that is what it was giving me. (Apparently, Huanyang air-cooled spindles motors don't like running under 110Hz, the water-cooled ones below 100hz, so I had indeed set those values.)
Editing the custompanel.xml control, changing the 3000 to 24000, fixed the visual widget issue.
The too-many-clicks issue was lessened by editing the .ini [DISPLAY] section, adding:
Code:
DEFAULT_SPINDLE_SPEED = 6600
Though, the build code would have to be changed in Axis to change the increments, from what I have read, which likely should have been a ini variable.
I've removed all the classic ladder and PWM statements from my .hal.
Thank you all who helped me : )
Last edit: 8 years 4 months ago by BrendaEM.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
8 years 4 months ago #113145
by andypugh
Replied by andypugh on topic rs485 huanyang speed control
Use MDI and M3 commands to set the spindle speed directly.
Normally the correct spindle speed will be set by the G-code.
M3 S20000
Normally the correct spindle speed will be set by the G-code.
M3 S20000
The following user(s) said Thank You: BrendaEM
Please Log in or Create an account to join the conversation.
- BrendaEM
- Offline
- Elite Member
-
Less
More
- Posts: 266
- Thank you received: 120
8 years 4 months ago - 8 years 4 months ago #113149
by BrendaEM
Replied by BrendaEM on topic rs485 huanyang speed control
I thought my first cut would be manual, but I used NativeCam to cut a pocket in a scrap of plywood.
It made chips! :woohoo:
Thank you again!
It made chips! :woohoo:
Thank you again!
Last edit: 8 years 4 months ago by BrendaEM.
Please Log in or Create an account to join the conversation.
Time to create page: 3.802 seconds