CNC3-3018Pro/testing

Fra Bitraf
Revisjon per 14. nov. 2018 kl. 13:05 av Tingo (diskusjon | bidrag) (Historikk: enda flere kommandoer)
Hopp til navigering Hopp til søk

Tilbake til CNC3-3018Pro.

Denne undersiden dokumenterer testing av maskinen.


Historikk

2018-11-14 
koblet fra den manuelle kontrolleren, og koblet til via medfølgende usb-kabel (USB A til mini B). Nå funker GRBL.
Grbl 1.1f ['$' for help]
ok

og jeg kan sende kommandoer. '$' gir

[HLP:$$ $# $G $I $N $x=val $Nx=line $J=line $SLP $C $X $H ~ ! ? ctrl-x]
ok

current status ('?')

<Idle|MPos:0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>

version or build info ('$I')

[VER:1.1f.20170801:]
[OPT:V,15,128]
ok

view parser state ('$G')

[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok

view settings ('$$')

$0=10
$1=25
$2=0
$3=5
$4=0
$5=0
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=0
$23=0
$24=25.000
$25=500.000
$26=250
$27=1.000
$30=1000
$31=0
$32=0
$100=800.000
$101=800.000
$102=800.000
$110=800.000
$111=800.000
$112=600.000
$120=10.000
$121=10.000
$122=10.000
$130=200.000
$131=200.000
$132=200.000
ok

view # parameters ('$#')

[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000]
[PRB:0.000,0.000,0.000:0]
ok

view startup blocks ('$N')

$N0=
$N1=
ok

that's pretty much it.

2018-11-13 
koblet 3018Pro til en datamaskin (med Debian 9.5) ved hjelp av usb-kabelen som fulgte med. i /var/log/messages:
Nov 13 17:43:05 kg-bsbox kernel: [441161.598183] usb 1-1.1: new full-speed USB device number 9 using xhci_hcd
Nov 13 17:43:06 kg-bsbox kernel: [441161.718819] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
Nov 13 17:43:06 kg-bsbox kernel: [441161.718822] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Nov 13 17:43:06 kg-bsbox kernel: [441161.718823] usb 1-1.1: Product: USB2.0-Serial
Nov 13 17:43:06 kg-bsbox kernel: [441161.720497] ch341 1-1.1:1.0: ch341-uart converter detected
Nov 13 17:43:06 kg-bsbox kernel: [441161.720854] usb 1-1.1: ch341-uart converter now attached to ttyUSB0

og den dukker opp som en usb serial device

tingo@kg-bsbox:~$ ls -l /dev/tty[ACU]*
crw-rw---- 1 root dialout 188, 0 Nov 13 17:43 /dev/ttyUSB0

det er en bra start. Tingo (diskusjon) 13. nov. 2018 kl. 17:48 (CET)

kobler til med pronterface (115200 baud) og får
Grbl 1.1f ['$' for help]
Printer is now online.

hvis jeg sender '$'

>>> $
SENDING:$
[WARNING] raw G-Code line "$" could not be parsed

ok, hva med andre kommandoer da?

>>> $$
SENDING:$$
[WARNING] raw G-Code line "$$" could not be parsed
>>> $$
SENDING:$$
[WARNING] raw G-Code line "$$" could not be parsed
Reset.
>>> $#
SENDING:$#
[WARNING] raw G-Code line "$#" could not be parsed

ikke så bra.

>>> $X
SENDING:$X

ingen feilmelding i det minste.

>>> ?

Documented commands (type help <topic>):
========================================
bedtemp             eta      help   monitor  reset             sdprint  tool  
block_until_online  exit     home   move     resume            set      upload
button              extrude  load   off      reverse           settemp
connect             gcodes   ls     pause    run_gcode_script  shell  
disconnect          gettemp  macro  print    run_script        slice  

Undocumented commands:
======================
editgcode  extrude_final  pront_extrude  pront_reverse  setspeed

hmm, kanskje pronterface lurer meg. Tingo (diskusjon) 13. nov. 2018 kl. 17:57 (CET)

selv med screen ('screen /dev/ttyUSB0 115200') så virker det ikke. Får oppstartsmelding
Grbl 1.1f ['$' for help]

men den tar ikke i mot kommandoer. Hver gang jeg trykker på reset-knappen på kontrollkortet får jeg en oppstartsmelding

Grbl 1.1f ['$' for help]

Grbl 1.1f ['$' for help]

ok, mer testing i morgen. Tingo (diskusjon) 13. nov. 2018 kl. 18:48 (CET)

2018-11-12 
testet maskinen, med strøm og manuell kontroller. Jogging og spindle start / stopp fungerer. Tingo (diskusjon)

Referanser


andre interessante lenker