With these Hexagonal Hex Threaded Spacer Support, you can fix between PC board and machine board, the hexagon does not skid easily.
Screwdriver
Gold Tone Hex Head PCB Standoffs Spacers Brass for DIY Circuit Board