Robotics Programming
Robotics Programming
Robotics Programming
DO ALIGN
VAL programming language
Program instructions
Robot configuration control
Motion control
Hand control
Location assignment and modification
Program control, interlock commands and
I/O controls
VAL programming language
Robot configuration control
Any robot configuration change is accomplished
during the execution of the next motion instruction
other than a straight line motion.
RIGHTY : change the robot configuration to resemble
a right human arm
LEFTY : change the robot configuration to resemble a
left human arm
ABOVE : make the elbow of the robot to point up
BELOW : make the elbow of the robot to point down
VAL programming language
Motion Control
MOVE : moves the robot to specified location
MOVES : moves the robot to straight line path
DRAW : moves the robot to straight line through specified
distance in X, Y and Z directions
APPRO : moves the robot to location which is at an offset
( along tool z-axis) from a specified point
DEPART : moves the tool along the current tool Z-axis
APPROS : moves the robot to location which is at an offset (
along tool z-axis) from a specified point in straight line path
DEPARTS : moves the tool along the current tool Z-axis in
straight line path
CIRCLE : moves the robot through circular interpolation via
three specified point locations
VAL programming language
Hand Control
OPEN : the opening of the gripper during the next instruction
CLOSE : the closing of the gripper during the next instruction
OPENI : the opening of the gripper during the next instruction
immediately
CLOSEI: the closing of the gripper during the next instruction
immediately
MOVEST PART, 30 : the servo-controlled end-effector causes a
straight line motion to a point defined by PART and the gripper
opening is changed to 30 mm.
MOVET PART, 30 : the gripper to move to position. PART with an
opening of 30 mm by joint-interpolated motion.
In VAL II language
CLOSEI 75 : if servo-controlled gripper is used, then this
command causes the gripper to close immediately to 75 mm.
GRASP 20, 15 : the gripper to close immediately and checks
whether the opening is less than the amount of 20 mm. If the
opening is less than 20 mm, the program, branches to the
VAL programming language
Location Assignment and Modification
SET : set the value in the monitor
HERE : position displayed on the screen
Program Control, Interlock Commands
and Input / Output Control
SETI : set the value of an integer variable
to the result of an expression.
TYPEI : displays the name and values of
an integer variable
VAL programming language
Program Control, Interlock Commands and Input /
Output Control
In VAL II language
PROMPT : the operator respond by typing the value
requested and pressing the return key.
PROMPT Enter the value , Y1
GOTO 20 : an unconditional branch to the program step
identified by a given level, 20
GOSUB : transfer the control to the subroutine
RETURN : Transfer the control from the subroutine
IF THEN : transfer control to a program step depending on
a relationship (conditions) being true or false
IF ROW LT 3 THEN
(A number of instruction steps)
ELSE
(A number of instruction steps)
END
VAL programming language
WVSET 1 = 10, 7, 2, 0, 1, 3, 0
10 : cycle distance
7 : amplitude
2 : right end stop distance
0 : right end stop time
1 : center stop distance
3 : left end stop distance
0 : left end stop time
An Arc Welding Program
5 WVSET 2 = 10, 7, 2, 0, 1, 2, 0
6 MOVE X1 15 CIRCLE X7, X8, X9
7 MOVE X2 16 MOVES X10
8 WSTART 1, 1 17 WEND 0.5
9 MOVES X3 18 WSTART 3, 2
10 WEND 0.5 19 MOVES X11
11 WSTART 2 20 CRATERFILL 0.8, 3
12 MOVES X4 21 WEND 0.5
13 CIRCLE X4, X5, X6 22 MOVE X12
14 MOVES X7 .END