Hello,
I never worked with LUNA but according to this blog you can set mode by switching the mode pin.