myCNC Setup: Automatic Gas Console

The Automatic Gas Console (AGC for short) will allow to manipulate the gas cutting process through proportional valve control. AGC will monitor and smoothly correct the gas pressures to match a certain value.

In order to set up the AGC control through PIDs, head into Settings > Config > Technology > Special Purpose > PWM PIDs.

In this configuration window, six PID controls (#0-5) can be seen. These are mapped directly to PWM #1-6 which can be typically seen in the Diagnostics panel:

PID #0 PWM 1
PID #1 PWM 2
PID #2 PWM 3
PID #3 PWM 4
PID #4 PWM 5
PID #5 PWM 6

Note that these connections between PIDs and PWM ports are hard-coded into the software (PID#0 is ALWAYS PWM 1, for example, when PID#0 is activated in the config window).

The following settings are available for the PID controls:

After the necessary PID has been turned on and the config has been saved, the PWM outputs will be switched from being controlled through PLC processed to being controlled entirely by the internal PIDs within the myCNC controller. In order to check whether the PWM control has been switched to the internal controller PIDs, you can head to the Diagnostics panel:

The necessary value for the pressure will be stored in the controller by using a global variable. By changing this global variable, the controller will smoothly adjust the gas pressure until it matches the required value.