
YAMAHA SR1 Provider User's Guide - 24 -
ORiN Forum DENSO WAVE Inc.
3.2.10. CaoRobot::Execute("YDEC") command
Command for DRCX only.
Keep moving the Y axis in a minus direction at PRM201 (JOG movement speed) until a control code (^C) is
entered or the software limit is reached. If the robot is a rotation axis, the unit is deg/sec.
[Attention]
The software limit is not effective until origin return is completed.
Syntax YDEC ()
Return value
:
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“YDEC”) ‘ Keep moving Y in plus direction at JOG movement speed
----------------------------------------------------------------------------------------------------------------------------------
3.2.11. CaoRobot::Execute("DRVD") command
Command for DRCX only.
Move the specified axis to the specified coordinate position.
Syntax DRVD (<vntDRVParam:VT_VARIANT | VT_ARRAY> )
< vntDRVParam >
:
[in] Drive information (VT_VARIANT | VT_ARRAY)
Array data:
< vntAxis > Axis number 1: X axis, 2: Y axis
<vntPosition> Movement position (mm) when the robot
is set to a rotation axis (deg)
< vntSpeed > Speed: 1 to 100
Return value
:
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“DRVD”, Array(1,150.55,100)) ‘ Move X axis to X=150.55 position at 100% speed
----------------------------------------------------------------------------------------------------------------------------------
Komentarze do niniejszej Instrukcji