Organization of electrodes and workpieces. All the workpieces and electrodes are set up outside the machine. If necessary, their offset values are determined outside the machine. Thus programs can be generated in advance, and automation becomes possible. Quality measurements enhance process safety and are an important factor for successful quality management.