Hello,
I ordered a KFLOP board few days ago for a laser cutting application and since then, I read many topics on the forum and almost all the user manual. I'm trying to figure out how I will implement my application on the board and I have some questions to clarify some points. First here is what my application has to do :
A client will produce a DXF file, which will be converted into G Code using LazyCam or any program. Then the G Code file will be converted into coordinated motion with the Gcode interpreter (With specific velocity and acceleration). As I said, it is a laser cutting application so it also needs a PWM output with variable frequency and duty cycle (to set the power of the CO2 Laser). From now the client was on his computer but once the settings are done, it will be uploaded to the flash memory and will run in stand alone. From there, the client has an HMI connected to a PLC and may have to change the feed rate and the power of the laser (duty cycle of the PWM). He also may have to switch from a path to an other (which have been uploaded to the flash memory previously)
My questions are :
1. Is it possible to upload many G code project (converted into coordinated motion) into the flash memory and then use an external command (in stand alone mode) to load a specific project into the Coordinated Motion Buffer ?
2. Is it possible to change the velocity (feed rate) and the duty cycle / frequency of a PWM output with external command (in stand alone mode) ?
3. Once the program is uploaded in the flash memory, can I come back to the computer, add an other project (coordinated motion) to flash memory and then select this project "easily" with external command or do I need to modofy the C program. What I tought here is the following sequence :
1- I read received ASCII command with RS232 which contain the name of the sequence or the enplacement of the sequence
2- Load this sequence to the buffer
3- Execute the buffer
Concerning the PWM output, I know that the frequency is set by dividing the clock (16.67 MHz) with entire number so I may not have the specific frequency for the laser (I don't have this information yet but it is in the range of 10 kHz to 100 kHz). If I can't get it, I could use a I/O bit to know when laser has to be ON/OFF and generate a PWM with external composants.
I may look a bit confused (I do not have received the KFLOP board yet). I also started to work with controllers recently so I'm not an expert.. If you have some advices concerning this application they are welcome :)
Thank you very much,
Guillaume