Difference between revisions of "Sekret!"

From Hyrel3D
Jump to navigation Jump to search
Line 17: Line 17:
'''Parameters'''
'''Parameters'''


  '''Xn''' ''relative'' move in this axis
<code>  '''Xn''' ''relative'' move in this axis
   '''Yn''' ''relative'' move in this axis
   '''Yn''' ''relative'' move in this axis
   '''Zn''' ''relative'' move in this axis
   '''Zn''' ''relative'' move in this axis
Line 25: Line 25:
   '''Pn''' probe connection
   '''Pn''' probe connection
       If T is specified, P values can be:
       If T is specified, P values can be:
      0 : PA3 pin on 10-pin connector
        0 : PA3 pin on 10-pin connector
1 : PA2 pin on 10-pin connector
1 : PA2 pin on 10-pin connector
2 : LIMIT1 pin on 18-pin connector
2 : LIMIT1 pin on 18-pin connector
Line 33: Line 33:
       If T is not specified, P values can be:
       If T is not specified, P values can be:
0 : No direct connect probe; canbus based probe one  *** must specify probeHead via T arg
0 : No direct connect probe; canbus based probe one  *** must specify probeHead via T arg
1 : Limit1 pin on X axis connector or W_RTD1 (sys30)
        1 : Limit1 pin on X axis connector or W_RTD1 (sys30)
2 : Limit2 pin on X axis connector or W_RTD2 (sys30)
        2 : Limit2 pin on X axis connector or W_RTD2 (sys30)
3 : Fault  pin on X axis connector
        3 : Fault  pin on X axis connector
4 : Home  pin on X axis connector
        4 : Home  pin on X axis connector
5 : unused
        5 : unused
6,7,8,9 : Limit1,Limit2,Fault,Home pin on Y axis connector
        6,7,8,9 : Limit1,Limit2,Fault,Home pin on Y axis connector
10 : unused
        10 : unused
11,12,13,14 : Limit1,Limit2,Fault,Home pin on Z axis connector
        11,12,13,14 : Limit1,Limit2,Fault,Home pin on Z axis connector
15 : unused
        15 : unused
16,17,18,19 : Limit1,Limit2,Fault,Home pin on A axis connector
        16,17,18,19 : Limit1,Limit2,Fault,Home pin on A axis connector
20 : unused
        20 : unused
21,22,23,24 : Limit1,Limit2,Fault,Home pin on B axis connector
        21,22,23,24 : Limit1,Limit2,Fault,Home pin on B axis connector
25 : unused
        25 : unused
26,27,28,29 : Limit1,Limit2,Fault,Home pin on C axis connector
        26,27,28,29 : Limit1,Limit2,Fault,Home pin on C axis connector
   '''D''' only 1 is presently supported; other options for future development
   '''D''' only 1 is presently supported; other options for future development
   '''I''' is probe polarity; 0 if contact makes a circuit, 1 if contact breaks the circuit
   '''I''' is probe polarity; 0 if contact makes a circuit, 1 if contact breaks the circuit

Revision as of 17:58, 9 May 2020

Using the T with the ESR and 30M

Gcodes the customer shouldn't need

Diagnostics, reporting.

G38 Distance Probing

G38 will move the bed until a probe until contact is made, and report the position when contact is made, storing a list of coordinate points with depths. This is helpful for making the bed level (and potentially working on non-planar surfaces).

Usage

 G38 Xn Yn Zn An Bn T# Pn Dn In Hn On Fn

Parameters

Xn relative move in this axis

 Yn relative move in this axis
 Zn relative move in this axis
 An relative move in this axis
 Bn relative move in this axis
 T# head where probe is loaded; if no T#, probe is not in a tool position; default: no T
 Pn probe connection
     If T is specified, P values can be:
       0 : PA3 pin on 10-pin connector

1 : PA2 pin on 10-pin connector 2 : LIMIT1 pin on 18-pin connector 3 : LIMIT2 pin on 18-pin connector 4 : RTD1 pin on 18-pin connector 5 : RTD2 pin on 18-pin connector

     If T is not specified, P values can be:

0 : No direct connect probe; canbus based probe one *** must specify probeHead via T arg

       1 : Limit1 pin on X axis connector or W_RTD1 (sys30)
       2 : Limit2 pin on X axis connector or W_RTD2 (sys30)
       3 : Fault  pin on X axis connector
       4 : Home   pin on X axis connector
       5 : unused
       6,7,8,9 : Limit1,Limit2,Fault,Home pin on Y axis connector
       10 : unused
       11,12,13,14 : Limit1,Limit2,Fault,Home pin on Z axis connector
       15 : unused
       16,17,18,19 : Limit1,Limit2,Fault,Home pin on A axis connector
       20 : unused
       21,22,23,24 : Limit1,Limit2,Fault,Home pin on B axis connector
       25 : unused
       26,27,28,29 : Limit1,Limit2,Fault,Home pin on C axis connector
 D only 1 is presently supported; other options for future development
 I is probe polarity; 0 if contact makes a circuit, 1 if contact breaks the circuit
 H head offset register to use for tool dimension
 O additional offset
 F feedrate in mm/min (nonpersistent)

Example

 G38 Z-9 T# P3 D1 I1 F200 

This command is decoded and executed by the printer as follows:

  • G38 (probe)
    • Z-9 (9 mm in Z toward 0)
    • T# (target head)
    • P3 (LIMIT2 pin on 18-pin connector)
    • D1 (only option)
    • I1 (contact breaks circuit)
    • F200 (at 200 mm/smin)



M670 Toggle Y-Arm Light Now

Turn on Y-arm light immediately. S 0 - 100 for duty.

M671 Toggle X-Arm Lights

Toggle X-arm Lights S 0 - 100 for duty.

M672 Toggle Y-Arm with Sensor

See main Gcode page.

M673 Toggle Y-Arm Light Next

Toggle Y-arm light after all previous commands are finished. S 0 - 100 for duty.

M797 Report Sensors

Generates a text report of sensor states in 3D-View text window!

M797 I1 reports what is homed and what is not:

 >GB: Logical State
 >GB: A   S     H L L  
 >GB: x   t D   o i i F
 >GB: i   e i   m m m l
 >GB: s   p r   e 1 2 t
 >GB: ==  = =   = = = =
 >GB: X:  - F   - . . .
 >GB: Y:  - F   H . . .
 >GB: Z:  - F   . . . .

Old style:

 >GB: AX ST DR  HM L1 L2 FT
 >GB: == == ==  == == == ==
 >GB: X  1  1   1  0  0  1
 >GB: Y  1  1   0  0  0  1
 >GB: Z  1  0   1  0  0  1
 >GB: A  0  0   1  0  0  1
 >GB: B  0  0   0  0  0  0
 >GB: C  0  0   0  0  0  0

AX - Axis ST - Step DR - Direction HM - Home L1 - Limit 1 L2 - Limit 2 FT - Fault