by Gort » Thu Nov 15, 2007 3:21 pm
            
            
                    
                by Gort
Thu Nov 15, 2007 3:21 pm
            
            
            HighSpeed
This command sets or cancels the high-speed mode of a servo in the MR-C3000
series controllers. High speed is about 3 times faster than normal speed.
- HIGHSPEED SETON: Enable high-speed mode in the MR-C3000 series
controllers.
- HIGHSPEED SETOFF: Cancel high-speed mode in the MR-C3000 series
controllers. (Returns to the normal speed mode).
This is one of Matt’s very fast Kung Fu moves as an example.
right_attack:
	SPEED 7
	GOSUB right_attack1
	
	SPEED 12
	HIGHSPEED SETON
	MOVE G6D, 98, 157,  20, 134, 110, 100
	MOVE G6A, 57, 115,  77, 125, 134, 100
	MOVE G6B,112,  92,  99, 100, 100, 100
	MOVE G6C,107, 135, 108, 100, 100, 100
	WAIT	
	DELAY 1000
	HIGHSPEED SETOFF
	SPEED 15
	GOSUB sit_pose
	RETURN
Delay
This command will delay the program execution for a set time. Delay time for the MRC2000
series controllers is 10ms and it is 1ms for the MR-C3000 series controllers.
A figure, constant, or variable can be used for [delay time]
MR-C2000 series controller:
DELAY 10 'Delay for 100ms. (10ms * 10 = 100ms = 0.1sec)
MR-C3000 series controller:
DELAY 500 'Delay for 500ms. (1ms * 500 = 500ms = 0.5sec)
You need to download the RoboBasic manual. I hope that answered your question? 

 
            HighSpeed
This command sets or cancels the high-speed mode of a servo in the MR-C3000
series controllers. High speed is about 3 times faster than normal speed.
- HIGHSPEED SETON: Enable high-speed mode in the MR-C3000 series
controllers.
- HIGHSPEED SETOFF: Cancel high-speed mode in the MR-C3000 series
controllers. (Returns to the normal speed mode).
This is one of Matt’s very fast Kung Fu moves as an example.
right_attack:
	SPEED 7
	GOSUB right_attack1
	
	SPEED 12
	HIGHSPEED SETON
	MOVE G6D, 98, 157,  20, 134, 110, 100
	MOVE G6A, 57, 115,  77, 125, 134, 100
	MOVE G6B,112,  92,  99, 100, 100, 100
	MOVE G6C,107, 135, 108, 100, 100, 100
	WAIT	
	DELAY 1000
	HIGHSPEED SETOFF
	SPEED 15
	GOSUB sit_pose
	RETURN
Delay
This command will delay the program execution for a set time. Delay time for the MRC2000
series controllers is 10ms and it is 1ms for the MR-C3000 series controllers.
A figure, constant, or variable can be used for [delay time]
MR-C2000 series controller:
DELAY 10 'Delay for 100ms. (10ms * 10 = 100ms = 0.1sec)
MR-C3000 series controller:
DELAY 500 'Delay for 500ms. (1ms * 500 = 500ms = 0.5sec)
You need to download the RoboBasic manual. I hope that answered your question? 
