For inductive loads we have the configuration shown in the figure. Note that the opto-coupler (optical isolator) provides an insulation of 7,000 volts, which guarantees total security for the control device, in this case the computer. The triac must have a good heat radiator.
