Hello, I am interested in using this transformer in a project:
https://www.mouser.com/ProductDetail/Wurth-Elektronik/750811248?qs=J4sk5G6CMwZ3EkszqNp3lw==
https://www.mouser.com/datasheet/2/445/750811248-1724441.pdf
Here is the schematic:

I am a bit confused how to wire this for 120VAC to 24VAC. It seems like I would run 120VAC hot to pin 1, 120VAC neutral to pin 4, and then connect pin 2 and 3 together. And then on the other side, I'm not sure how to handle pins 8, 9, 10, and 11 to get the 24VAC+ and common. Would I tie 10 and 11 together for the 24VAC+, and then 8 and 9 together for the 24VAC- (common)?
And then what if I want to configure this for 240VAC to 24VAC?
Thanks and any help or advice is greatly appreciated!
https://www.mouser.com/ProductDetail/Wurth-Elektronik/750811248?qs=J4sk5G6CMwZ3EkszqNp3lw==
https://www.mouser.com/datasheet/2/445/750811248-1724441.pdf
Here is the schematic:

I am a bit confused how to wire this for 120VAC to 24VAC. It seems like I would run 120VAC hot to pin 1, 120VAC neutral to pin 4, and then connect pin 2 and 3 together. And then on the other side, I'm not sure how to handle pins 8, 9, 10, and 11 to get the 24VAC+ and common. Would I tie 10 and 11 together for the 24VAC+, and then 8 and 9 together for the 24VAC- (common)?
And then what if I want to configure this for 240VAC to 24VAC?
Thanks and any help or advice is greatly appreciated!