Yamaha DRCX Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 34
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
YAMAHA SR1 Provider User's Guide - 20 -
ORiN Forum DENSO WAVE Inc.
3.2.1. CaoRobot::Execute("ORG") command
Execute the push origin return operation and output the machine reference amount at normal end.
Syntax ORG ( [<lAxisNo:VT_I2>] )
[<lAxisNo>]
[in] Axis number 1: X axis, 2: Y axis
Return value
[out] Machine reference amount after completion of origin return
(VT_I4)
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Dim bbb As Long
Set aaa = caoCtrl.AddRobot(“AAA”)
bbb = aaa.Execute(“ORG”) ‘ Origin return
----------------------------------------------------------------------------------------------------------------------------------
3.2.2. CaoRobot::Execute("SRVO") command
Execute servo ON/OFF control.
Syntax SRVO ( <lSrvoState:VT_I2>[,<lAxisNo:VT_I2>] )
< lSrvoState >
[in] Servo status (VT_I2)
0: Servo OFF, 1: Servo ON
[<lAxisNo>]
[in] Axis number 1: X axis, 2: Y axis
Return value
None
Example
----------------------------------------------------------------------------------------------------------------------------------
Dim aaa As Object
Set aaa = caoCtrl.AddRobot(“AAA”)
aaa.Execute(“SRVO”,1) ‘ Servo ON
----------------------------------------------------------------------------------------------------------------------------------
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 33 34

Komentarze do niniejszej Instrukcji

Brak uwag