Method for online editing of ladder diagrams using FANUC-Ladder III