3 Implementation Example of Static Pick-and-place Equipment 3-1 Program Specifications for Static Pick-and-place Equipment MOVES gl.place BREAK ; Suctioning off and waiting SIGNAL -4001 WAIT.EVENT ar.wait_off ; Depart/Move to wait position DEPART ar.dist MOVE gl.wait BREAK ; Release robot control DETACH () .END Status Monitoring Program (supervisor) 3 The "supervisor" (V+ program stop program) detects the Robot Integrated CPU Unit going into PROGRAM mode and stops the robot motion and V+ programs by using the shared variables for the sequence control program and V+ programs. A program is described below. 3-1-2 When Operations are Controlled with V+ Program .PROGRAM supervisor() ; ABSTRACT:
Stop pic and place program EXTERNAL ebool_mode EXTERNAL ebool_exet1, ebool_reset ebool_exet1 = TRUE WHILE TRUE DO ; Check NJ mode and reset-button IF (ebool_mode == FALSE) OR (ebool_reset == TRUE) THEN ; Abort current robot motion BRAKE ; Terminate "run" program task ABORT 1 ; Wait until "run" program task has stopped CYCLE.END 1 ; Clear a program execution stack KILL 1 END IF (ebool_mode == TRUE) THEN ebool_exet1 = TRUE END ; Wait next robot control period WAIT END .END Read Program "auto" (read program) is used to read the V+ program and global variables from the SD Memory Card to main memory. 3-15 NJ-series Robot Integrated System Startup Guide (O049)