
YAMAHA SR1 Provider User's Guide - 22 -
ORiN Forum DENSO WAVE Inc.
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“Y+”) ‘ Move Y in plus direction by (PRM12)/100
----------------------------------------------------------------------------------------------------------------------------------
3.2.6. CaoRobot::Execute("Y-") command
Command for DRCX only.
Move the Y axis in a minus direction for the distance specified by the following expression:
Distance (mm) = 1 x (PRM12/100) PRM12: Teach movement data (%)
If the robot is a rotation axis, the unit is deg/sec.
Syntax Y- ()
Return value
:
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“Y-”) ‘ Move Y in minus direction by (PRM12)/100
----------------------------------------------------------------------------------------------------------------------------------
3.2.7. CaoRobot::Execute("XINC") command
Keep moving the X axis in a plus direction at PRM201 (JOG movement speed) until a control code (^C) is
entered or the software limit is reached.
[Attention]
The software limit is not effective until origin return is completed.
Syntax XINC ()
Return value
:
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“XINC”) ‘ Keep moving X in plus direction at JOG movement speed
----------------------------------------------------------------------------------------------------------------------------------
Comentários a estes Manuais