So, back to questions about the Crossing Signal which was built up using the MTH Cantilever flashing crossing lights, along with an NJ International Brass Crossing gate - Don't want to write a book here....
It's an involved project. I used a Tortoise switch machine along with a Tortoise accessory bracket that enabled me to mount the machine on it's side and create vertical up and down motion. Don't have a part number for that bracket, I got a few of them with switch machines bought on eBay. Anyway, I used the DZ 1070 Infra--Red Train Detector, and also had to add the DZ1008 Relay according to Dennis Zander, owner DZ products. To make the Tortoise activate I used another DPDT relay to switch DC polarity, + polarity drives it one direction, reverse the polarity and it switches the other direction.
So kind of the labor man's description of what's going on in the not so pretty schematic below. The DZ1070 and DZ1008 are powered by 12 VAC power, the output of the detector triggers the DZ1008 relay through the White Wire which is hooked to the input of the 1008 relay. When the detector sees the train, the DZ1008 puts out a 12 VDC signal, as I am supplying 12 VDC to the Blue Wire (Relay Common on DZ1008), which is used directly to power the LED lights on the MTH Signal, and also used to close the solenoid coil on the 2nd DPDT additional relay. By energizing this second relay, that is what switches the polarity and lowers the gate. This is accomplished by cross connecting the NO and NC contacts with 12 VDC and Ground, then the relay Common contacts receive normal or reverse polarity (think of it as +12VDC, or -12VDC)
Once the train passes and a 5 second delay happens, the DZ1070 drops the signal which drops the 12 VDC signal going out, hence the lights stop blinking the gate returns to the up position.
Yes I know the difference between DC Ground and AC common, on my layout they are tied together to make the 22 B&O signal heads all work correctly. Hence the dual labeling on the schematic GRND and COMMON.