[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/bWeXu.png


I'm using circuit in the picture as a replacement for mechanical relay for running 40 watt 220v water pump.
the problem is the circuit seems to be correct but it doesn't work and getting wired result on multimeter.
when monitoring ac output of the circuit with multimeter it shows 220 voltage when the logic input of the moc3042m is low and also this voltage doesn't turn pump on and when changing logic input to high (5v) the out put doesn't change.

* pump is connected to J4 terminal and Pump label in picture is for logic input.

If you see any problem in circuit please mention it.