Dobot M1 Script Description Contents
Issue V1.4.3 (2019-10-30) API Description Copyright © Yuejiang Technology Co., Ltd
iii
Contents
Overview ................................................................................................................... 1
Script API Interface Description ............................................................................ 2
Dobot Commands ............................................................................................................. 2
PTP ................................................................................................................................... 2
Setting the Lifting Height and the Maximum Lifting Height in JUMP mode ..... 5
Setting the Lifting Height and the Maximum Lifting Height Synchronously in
JUMP Mode ...................................................................................................................... 5
Getting the Lifting Height and the Maximum Lifting Height in JUMP mode .... 6
Setting the Velocity Ratio and Acceleration Ratio in PTP Mode......................... 6
Setting the Velocity Ratio and Acceleration Ratio Synchronously in PTP Mode 6
Getting the Velocity Ratio and Acceleration Ratio in PTP Mode ........................ 7
Executing a PTP Command ................................................................................. 7
Executing a PTP Command Synchronously ........................................................ 8
Executing the ARC Command ............................................................................ 9
Executing the ARC Command Synchronously .................................................... 9
Executing the CIRCLE Command .................................................................... 10
Executing the CIRCLE Command Synchronously ........................................... 10
Setting Arm Orientation .................................................................................... 10
Setting Arm Orientation Synchronously ............................................................ 11
Getting the Real-time Pose of the Dobot M1 .................................................... 11
WAITING ....................................................................................................................... 12
Executing the Waiting Command ...................................................................... 12
Executing the Waiting Command Synchronously ............................................. 12
Delay Command ................................................................................................ 12
TRIGGERING ................................................................................................................ 13
Executing the Triggering Command .................................................................. 13
Executing the Triggering Command Synchronously ......................................... 13
I/O Command ................................................................................................................. 14
Setting Digital Output ........................................................................................ 14
Setting Digital Output Synchronously ............................................................... 14
Getting Digital Output ....................................................................................... 15
Getting Digital Input .......................................................................................... 15
Getting Digital Inputs in Succession ................................................................. 15
Getting Analog Input ......................................................................................... 16
Other functions ............................................................................................................... 16
Loading Playback Data ...................................................................................... 16
Getting Playback Data ....................................................................................... 16
Setting Pallet Name ........................................................................................... 17
Getting Preparation Point Data .......................................................................... 17
Getting Transition Point Data ............................................................................ 17
Getting Pallet Points Data.................................................................................. 18