Command: |
SERVO i [TO] position
|
---|---|
Command Syntax: |
SET SERVO i [TO] position. |
Code |
|
Range: |
|
Describe: |
Servo motor control interface. Servos can be either continuous or sweep style servos. Position = value from -90 to 90, ranged to -90 to 90) - used with SWEEP SERVOS |
Result: |
Sweep servos: position is a value from -90 to 90. Value 0 is same as specifying ZERO. |
Type or |
Control |
Command: |
SERVO i [TO] STOP
|
---|---|
Command Syntax: |
SET SERVO i STOP
|
Code |
Send("SET SERVO 1 STOP")
|
Range: |
|
Describe: |
Servo motor control interface. Servos can be either continuous or sweep style servos. Note: Sweep style servos will stop automatically at the end of the sweep. SET SERVO i STOP – stops motion on servo |
Result: |
Halt any continuous servo operation in progress. Turn SERVO Off |
Type or |
Control |
Command: |
SERVO i [TO] ZERO
|
---|---|
Command Syntax: |
SET SERVO i ZERO/position |
Code |
Send("SET SERVO 1 ZERO")
|
Range: |
|
Describe: |
Set servo to zero position on sweep servo, or no motion on continuous servo. |
Result: |
Sweep servos: position is a value from -90 to 90. Value 0 is same as specifying ZERO. |
Type or |
Control |
Command: |
SERVO i [TO] [CW/CCW] speed [[TIME] seconds]
|
---|---|
Command Syntax: |
SET SERVO i CW/CCW speed [[TIME] seconds] |
Code |
Send("SET SERVO.CONTINUOUS 1 CW 100 TIME 3") Wait 3
|
Range: |
|
Describe: |
Speed from -100 to 100, CW/CCW optional, if speed <0, CCW, else CW unless CW/CCW keyword is specified, TIME optional, in seconds, default=1 second (for continuous servo operation) (CW/CCW required if TIME/seconds NOT specified.) |
Result: |
Continuous servo where direction of rotation is specified, along with speed, from 0 (no motion) to 100 (fastest). Optional time parameter used to specify how long the servo should rotate in seconds. |
Type or |
Control |