1
CS-Lab / Csmio-s with Opt laser
« on: October 23, 2019, 05:28:09 AM »
Hi
I connected the 5v TTL input of the opt laser on the analog 0 output in the controller, and the other TTL input of the laser to digital output 2 of the controller. I can switch the digital pin 2 with the M62/63 commands. But then the laser is switch on on full power. So for cutting it is fine.
Now I am battling to get the PWM working for engraving. I can not get the spindle analog value to work. I went through all the manuals and settings and I think I'm missing something. So now I want to try something different. The idea is to make my own custom mcodes to set the analog 0 value directly on and off in the macro's, and the I can write my own post processors for the values. But now I am over my head with lua.
I emailed the support at Cslabs but either they do not understand English or do not want to help.
Can somebody maybe help me with the code to set the analog 0 value in the register.
Thanks
Johan
I connected the 5v TTL input of the opt laser on the analog 0 output in the controller, and the other TTL input of the laser to digital output 2 of the controller. I can switch the digital pin 2 with the M62/63 commands. But then the laser is switch on on full power. So for cutting it is fine.
Now I am battling to get the PWM working for engraving. I can not get the spindle analog value to work. I went through all the manuals and settings and I think I'm missing something. So now I want to try something different. The idea is to make my own custom mcodes to set the analog 0 value directly on and off in the macro's, and the I can write my own post processors for the values. But now I am over my head with lua.
I emailed the support at Cslabs but either they do not understand English or do not want to help.
Can somebody maybe help me with the code to set the analog 0 value in the register.
Thanks
Johan