Ladder logic code for the lab's laser power controller