The question I have is maybe silly, but I cannot find strictly related info.
When designing a mains switch with an optotriac driven triac (or discrete SSR for you), during layout I swapped the terminals of the optotriac. In my circuit Line connects to Pin4 of U3 through resistors, and gate drive is Pin6, instead the other way around. Could it make any problems with the zero-crossing detector inside the optotriac? Should not I think, but every doc (datasheet, application note, etc) I find on the net does not swap these pins.
The sake was the (hopefully) clean layout as seen. I have three more identical switch circuit to the
left right connecting to the big Line and Neutral tracks. Grid is set to 1mm. Low voltage side connections not routed, passive values not calculated.