17
For Developers
1.Library
2.Communication Protocol
1) Introduction:
• uArm gCode is an important part of the uArm software.
• Based on the standard gCode protocol, we add a new protocol head in front
of the gCode so that it can be more easily to use and debug.
• What’s more, it is designed to be compatible wi
th the standard gCode. (We
offer the code of decode the standard gCode)
2) Example:
• Sending command from PC
“#25 G0 X180 Y0 Z150 F5000”
//move to [180,0,150] with the speed 5000mm/min
• Reply from uArm “$25 OK”
3) Commands
Command can be divided into two parts:
1. Command with underline: it’s the new added protocol head. The command from PC starts with ‘#’, while
the command from uArm starts with’$’. And the data following the symbol decided by the PC, and the reply
from the uArm should have the same data which indicates it finish the command. (In the example above, PC
sends the command with ‘#25’ and uArm replies the command with ’$25’)
2.Command without the underline: it’s the standard gCode.
Caution:
1.There should be blank space between each parameter.
2.The letters in the command should be capitalized.
Содержание uArm Swift
Страница 1: ......
Страница 4: ...4 Product Overview 1 Reference Frame...
Страница 5: ...5 2 Buttons Indicator Lights 3 Extension Description...
Страница 7: ...7 Note Before unplugging the wire press the locker of connector and then unplug it...
Страница 8: ...8 2 Swift Gripper Step 1 Fix the gripper to the front mounting block...