11-12
11
COMMUNICATION WITH PC
11-5 Communication Command Description
(12)
@MOVI <point number>,<speed>
Moves the robot a distance specified by a point number from the current position, at a specified
speed.
Point number : This is a number assigned to each point (position data) and can
be from 0 to 999 (a total of 1,000 points). Data for the point
numbers can be edited with the @WRITE PNT statement. The
point variable "P" can also be used.
Speed : The speed can be set to any level between 1 and 100. If PRM17
(Maximum program speed) is 100, then 100 will be equal to 3000
rpm (when PRM64 and PRM104=3000).
Transmission example : @MOVI 123,100 c/r l/f ................ Moves the robot a distance
defined by point 123, at 100%
speed.
Response example 1 : OK c/r l/f
Response example 2 : NG c/r l/f ...................................... The target position exceeds the
soft limit. Change the point
data or soft limit parameter.
30: soft limit over c/r l/f
c
CAUTION
When movement is interrupted with a stop (^C) statement, the current position in the program stays unchanged
so that the movement can be resumed by executing the @MOVI command again. However, if the command is
reset, the current position in the program is initialized to the actual robot position.
(13)
@MOVF <point number>,<DI number>,<DI status>
This command moves the robot toward a position specified by a point number until a specified DI
input condition is met. When the DI condition is met, the robot stops and the command termi-
nates. Even if the DI condition is not met, the command terminates when the target point is reached.
Point number : This is a number assigned to each point (position data) and can
be from 0 to 999 (a total of 1,000 points). Data for the point
numbers can be edited with the @WRITE PNT statement. The
point variable "P" can also be used.
DI number : Specify one of the general-purpose inputs DI0 to DI15.
DI status : Specify 1 (ON) or 0 (OFF) as the input condition.
Transmission example : @MOVF 2,10,l c/r l/f ................... Moves to point 2 until DI10
becomes 1 (ON).
Response example : OK c/r l/f
c
CAUTION
The movement speed is set with PRM4 (MOVF speed) and independent of the PRM17 setting (Maximum
program speed).
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com