Hi Jan,
Thanks for the details and sharing the program. So you have two coils connected each to one phase of the driver, and one coil pulls while the other pushes the plunger. So in this connection each pulse signal into the driver corresponds to one stroke of the plunger? First pulse - pull, second pulse - push, third pulse - pull, right?
But if you stop the pulses you don't know which state did it end in?
Also I tried your program, but didn't understand the Gcode it outputs. Only has "S0" at the beginning and "S0" at the end. In between only XY moves. So what driver the coils?
Thanks,
Dan
S0 means no impact and s1000 means full impact , between these two the soft gives values that goes from light gray to dark gray and black (s1000).
So if you want the soft to stay with the diamond needle up in the end of the job, just add a s0 in the end of gcode in the window .
"Thanks for the details and sharing the program. So you have two coils connected each to one phase of the driver, and one coil pulls while the other pushes the plunger. So in this connection each pulse signal into the driver corresponds to one stroke of the plunger? First pulse - pull, second pulse - push, third pulse - pull, right?"
No, almost that, the two pulses are alligned with the magnetism in the master neodymiun , so that it goes just down as much as the pwm adjusted , the coil and oposite neodymium in the point of the lever do the up effect , after each impact , no matter if it is S200 , S500 or S1000 , after each of them you will have a S0 so the driver is cut off ,
What drives the coil is the driver, but what comands the driver is a pwm signal , in themajority of control boards you will only be able to use it as Dithering , not grayscaling, because the majority of breakout boards will only reconize the pulses as 0vcc - (s0) or -5 vcc (s1000) , my board reconizes a scale from 0vcc to -5vcc as frequency 0v-no frequency, -1v more frequency until -5vcc ( 300 hz) .
But even if you use a commom board yo will have excellent results ! just play with feedrate.
Save your pics on dithering and you will have just up and down without grayscalling.
I'm preparing a soft in english , so that it will be easier to understand .