GRBL two: Serial control command and parameter analysisMCU serial port and computer connection, test GRBL serial command
1. Enter: "$" appears as follows:
$0=400.000000 (x, step/mm)//x axis per millimeter of how many steps are set, calculated to get: (How many steps * drive times the frequency)/motor turn a lap forward how much//mm
$1=400.000000 (y, step/mm)
$2=250.000000 (z, step/mm)
$3=10 (step pulse, USEC)////low-level pull-down time in a cycle, setting the second timer timing time
$4=400.000000 (default feed, mm/min)//g0 use, fast from point A to point B, the higher the value, the greater the speed
$5=500.000000 (default Seek, Mm/min)//g1 G1 G3 Use, G code is not set in the feed speed used, eg: usually//g01x10y10f500 time 500 is the feed speed, if not specified when the use of this
$6=33092 (step port Invert mask, int:0x8144)//xyz Step direction pin bit settings
$7=25 (step idle delay, msec)
$8=500.000000 (acceleration, mm/sec^2)//acceleration and deceleration of the size, the greater the value and deceleration time smaller
$9=0.050000 (junction deviation, MM)
$10=0.100000 (Arc, mm/segment)//angular speed
$11=25 (n-arc correction, int)
$12=3 (N-decimals, int.)
$13=0 (report inches, bool)
$14=1 (auto start, BOOL)//self-starting set bit
$15=0 (Invert step enable, BOOL)
$16=0 (hard limits, BOOL)
$17=0 (homing cycle, BOOL)//related to the Origin point
$18=0 (homing dir invert mask, int:0) 0
$19=25.000000 (homing feed, mm/min)
$20=250.000000 (homing seek, Mm/min)
$21=100 (Homing debounce, msec)
$22=1.000000 (homing Pull-off, MM)
Ok
You can not only display the current settings parameters, but also modify the parameter example: input: "$0=500" will show OK, and then enter "$$" to see the parameters found modified
Modified to automatically save to EEPROM, you can modify the value of each parameter 3. Enter: ". "Displays the current location as follows
4. Enter the G code:Eg: "G00x10y10" quickly moved to (10,10), feed speed with the default of $4, note (10,10) is absolute time if the current position is (10,10), then input g00x10y10 will not move, because now in this position eg: " g00x10y10f2000 "linear differential complement, feed speed of 2000mm/min about G code, reference: http://blog.csdn.net/zhangjikuan/article/details/46697019
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service