|
Switching the output of M3/5 works fine from the Spindle button on the panel. However it is prone to errors using the M3 M5 commands.
I disconnected everything from the controller and just connected an LED with resister to the Spindle output. This worked fine from the panel.
I ran a simple gcode script which comprised a sequence of M3 and M5 commands with suitable delays of 1.5 secs on and 5 secs off. The parameters were set as shown :
(------------ Spindle parameters --------------)
#98=2300 (Maximum spindle speed at maximum voltage VSO) (min99.000; max99999.000 rpm)
#219=0 (Pause spindle) (0-No; 1-Yes)
#220=0 (Spindle speed source) (0- G-code; 1- By default, that is, from parameter 221)
#221=500 (Default spindle speed) (min.10.000; max99999.000 rpm)
#222=1 (Execution of M3 / M5 commands) (0-No; 1-Yes)
#224=0.000 (Time delay, for unwinding / stopping the spindle) (min0.000; max9.000 sec)
#227=1 (Active level M3 / M5, 1 appears to be active low) (1-Low; 0-High)
#422=0 (VSO control voltage increases or decreases at spindle start) (0-Increases; 1-Decreases)
#433=0 (Rise / fall rate of control voltage VSO) (min0; max65535 more-slower)
and the gcode run :-
S500
M3
G04 P1500
M5
G04 P5000
M3
G04 P1500
M5
etc ....
After a few steps the led is missing on and off times, as though the M commands are not always being executed after the G04 delays.
Also checked it with M8/9. Same errors.
Any help much appreciated
Best Regards
picclock
|
|