Flowchart of interfacing relay with arm processor