I'm an extreme newbie here... trying to simply get the robot to move in RoboGuide just as a "Hello World" kind of thing.... I'm trying to use this code:
Code
PROGRAM myProg
VAR
clear_pos : POSITION
cur_in_jnt : JOINTPOS
jnt_val : ARRAY[6] OF REAL
status : INTEGER
away_dist : REAL
BEGIN
clear_pos = CURPOS(0,0)
cur_in_jnt = CURJPOS(0,0)
CNV_JPOS_REL(cur_in_jnt,jnt_val,status)
away_dist = 1.414 * (825 - clear_pos.location.z)
WITH $MOTYPE=LINEAR,$SPEED=200,$TERMTYPE=FINE MOVE AWAY away_dist
END myProg
Display More
Not a twitch... it builds without errors and when I run the program, it shows no errors... but nothing happens... any help would be appreciated!