Welding machine for plastic bags with motorized treadmill