Hi Karsten,
the way I would do this:
use Macros in the G-Code for your parametersettings.
So as an example : switch Welding Current to 10 Amperes
M10001 P10
then there is a file M10001.m1s with the code
Declare Sub SetCurrent Lib "WeldControl" (ByVal Parameter1 As Double)
DIM Ampere as double
Ampere = Param1()
Call SetCurrent (Ampere)
And at last the plugin will have:
EXTERN_C DLLEXPORT void SetCurrent (double ampere)
{
// set the current with USB-Calls
}
Bye, Steffen