Monitoring or automatic control of welding parameters