Professional Documents
Culture Documents
! THIS IS A COMMENT
Data
A complete listing names for positions, I/O, registers, and labels.
For positions, only the key position need to be listed. Key positions are process
important and work points. In the example below [1]-READY is a process
important position. The [3]-AT PART TYPE ONE is the work point at the part,
the position [2] ABOVE PART TYPE ONE is not listed.
0:!***************************************;
0:!POSITIONS;
0:!***************************************;
0:![1]-READY
;
0:![3]-AT PART TYPE ONE ;
0:!***************************************;
See the example on the next page for I/O, registers, and labels.
Section Title
Each major section of the program, i.e. initialization, motion to part 1", or open error
shall be documented with a section title.
0:!***************************************;
0:!************ SECTION TITLE ************;
0:!***************************************;
Documentation in Section
Each major section shall have a short description of sections function in the program.
Additionally, when required for clarification, a section comment may be within the
executable commands.
0:!***************************************;
0:!DOCUMENTATION DESCRIBING A SUB-SECTION;
0:!OF THE PROGRAM. MAY REQUIRE MULTIPLE;
0:!LINES TO COMPLETE;
0:!***************************************;
0:!***************************************;
0:!**********START OF PROGRAM*************;
0:!***************************************;
0:!**********INITIALIZATION***************;
0:!***************************************;
R[1]=0 or COUNT = 0;
executable command;
executable command;
0:!***************************************;
0:!********MOTION TO SAFE*****************;
0:!***************************************;
0:!ROBOT MOVE TO A SAFE POSITION AND
0:!SIGNALS READY TO BEGIN PRODUCTION
0:!CYCLE
0:!***************************************;
executable command
executable command
executable command
executable command
0:!***************************************;
0:!********PART 1 PROCESS*****************;
0:!***************************************;
0:!ROBOT MOTIONS TO PART 1 AND GRASPS;
0:!THE PART;
0:!***************************************;
executable command
executable command
executable command
executable command
0:!***************************************;
0:!WAIT FOR 5 SEC. FOR GRIPPER TO CLOSE;
0:!OR BRANCH TO ERROR CLOSE SECTION;
0:!***************************************;
executable command
executable command
executable command