
YAMAHA SR1 Provider User's Guide - 21 -
ORiN Forum DENSO WAVE Inc.
3.2.3. CaoRobot::Execute("X+") command
Move the X axis in a plus direction for the distance specified by the following expression:
Distance (mm) = 1 x (PRM201/100) PRM201:JOG movement speed (mm/s)
Syntax X+ ()
Return value
:
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“X+”) ‘ Move X in plus direction by (PRM201)/100
----------------------------------------------------------------------------------------------------------------------------------
3.2.4. CaoRobot::Execute("X-") command
Move the X axis in a minus direction for the distance specified by the following expression:
Distance (mm) = 1 x (PRM201/100) PRM201:JOG movement speed (mm/s)
Syntax X- ()
Return value
:
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“X-”) ‘ Move X in plus direction by (PRM201)/100
----------------------------------------------------------------------------------------------------------------------------------
3.2.5. CaoRobot::Execute("Y+") command
Command for DRCX only.
Move the Y axis in a plus direction for the distance specified by the following expression:
Distance (mm) = 1 x (PRM12/100) PRM12: Teach movement data (%)
If the robot is the rotation axis, the unit is deg/sec.
Syntax Y+ ()
Return value
:
None
Komentáře k této Příručce