Difference between revisions of "T v5"

From Hyrel3D
Jump to navigation Jump to search
Line 62: Line 62:
|-
|-
|}
|}


{| border="1" class="wikitable" style="width: 40%; text-align: center;"
{| border="1" class="wikitable" style="width: 40%; text-align: center;"
Line 92: Line 91:


{| border="1" class="wikitable" style="width: 40%; text-align: center;"
{| border="1" class="wikitable" style="width: 40%; text-align: center;"
|+ Device Address Mapping
! rowspan="2" | Physical
! rowspan="2" | Physical
|-
|-

Revision as of 17:38, 14 May 2020

Understanding the T on versions 5 and later (the enlightenment).

The T

With the release of Repetrel v5, we are happy to announce that the means of addressing heads for T Commands and T Variables within M Commands has been unified. Finally, T0 always means the first head on the first yoke, regardless of how or why we are referring to it.

Chart of Addresses

Below are details of addressing for each tool position on our printers. These are explained by model with images below.

Overall

While most units come with four or five physical tool positions, and one extra yoke gives a 16A a total of ten positions, we have the ability to control up to 20 tool positions or "heads", organized in four banks (or yokes) of five each.

Device Addresses - Individual Physical Heads
Yoke Pos 1 Pos 2 Pos 3 Pos 4 Pos 5
1 T0 T1 T2 T3 T4
2 T5 T6 T7 T8 T9
3 T10 T11 T12 T13 T14
4 T15 T16 T17 T18 T19

Additionally, there are special devices, heads, beds, virtual devices, and addresses for actual or virtual groups of devices.

Special Physical Device Addresses
T# Device Virtual
T20 3-Phase Spindle T45
T21 CO2 Laser
T22 Aux1
T23 Aux2
T24 Bed1 / Chamber1 T46
T25 Bed2 / Chamber2
Logical/Virtual Device Addresses
T# Device
T30 - T39 Virtual Heads / Groups / Squads
T40 ALL DEVICES
T41 Yoke 1, all Heads
T42 Yoke 2, all Heads
T43 Yoke 3, all Heads
T44 Yoke 4, all Heads
T45 All Aux devices
T46 All Beds / Chambers
T47 All non-Bed / non-Chamber devices
T48 All Virtual devices (T30-T39)
Device Address Mapping
Physical
Description Virtual Addresses
Address Yoke Position Zone 1 Zone 2 Zone 3
T0 1 1 T41 T47 T40
T1 1 2
T2 1 3
T3 1 4
T4 1 5
T5 2 1 T42
T6 2 2
T7 2 3
T8 2 4
T9 2 5
T10 3 1 T43
T11 3 2
T12 3 3
T13 3 4
T14 3 5
T15 4 1 T44
T16 4 2
T17 4 3
T18 4 4
T19 4 5
T20 3P Spindle T45
T21 CO2 Laser
T22 Aux1
T23 Aux2
T24 Bed/Chamber 1 T46 T46
T25 Bed/Chamber 2

Using the T with the ESR and 30M

The Engine, Standard Resolution and the System 30M use the following configuration.

Note: some very, very early models had two slots on the left and two on the right, but counting available tool positions from the left, the positions are the same.

T Designations for the ESR and 30M
Yoke
Image
YokePCA.png
Description 1st Slot No Slot 2nd Slot 3rd Slot 4th Slot
Designation T0 N/A T1 T2 T3
Variable T41

Using the T with the EHR and 16A (Single Yoke)

The Engine, High Resolution and the single-yoke Hydra 16A use the following configuration.

T Designations for the EHR and 16A (Single Yoke)
Yoke
Image
YokePCA.png
Description 1st Slot 2nd Slot 3rd Slot 4th Slot 5th Slot
Desingation T0 T1 T2 T3 T4
Variable T41

Using the T with the 16A (Dual Yoke)

Current dual-yoke Hydra 16A units use the following configuration.

T Commands and Variables for the Current 16A (Dual Yoke)
Yoke
Image
YokePCA.png YokePCA.png
Description 1st Yoke,
1st Slot
1st Yoke,
2nd Slot
1st Yoke,
3rd Slot
1st Yoke,
4th Slot
1st Yoke,
5th Slot
2nd Yoke,
1st Slot
2nd Yoke,
2nd Slot
2nd Yoke,
3rd Slot
2nd Yoke,
4th Slot
2nd Yoke,
5th Slot
Designation T0 T1 T2 T3 T4 T5 T6 T7 T8 T9
Variable T41 T42

If you opt for a three- or four-yoke unit, the additional yokes would be added to the right.

Earlier dual-yoke Hydra 16A units use the following configuration, but can be easily upgraded to the new standard.

T Commands and Variables for the Older 16A (Dual Yoke)
Yoke
Image
YokePCA.png YokePCA.png
Description 2nd Yoke,
1st Slot
2nd Yoke,
2nd Slot
2nd Yoke,
3rd Slot
2nd Yoke,
4th Slot
2nd Yoke,
5th Slot
1st Yoke,
1st Slot
1st Yoke,
2nd Slot
1st Yoke,
3rd Slot
1st Yoke,
4th Slot
1st Yoke,
5th Slot
Designation T5 T6 T7 T8 T9 T0 T1 T2 T3 T4
Variable T42 T41

Default Mode

By default, when you start a job (click the "Print" button), Repetrel will scan the yoke(s), detecting heads serially from left to right, registering which head is in which slot, and "focus" on the first head it detects. Many users only print with one head and use gcode that does not explicitly direct commands to any particular head. The effect of this is that the gcode will be executed with the only head loaded, regardless of what slot it is in. However, you do have the option - and, when printing with multiple heads, the requirement - to explicitly direct Repetrel's "focus" to a particular head, either for the entire job, or changing "focus" to different heads at different times.

At the start of the job, Repetrel sends the head-specific data to the motion controller; this is done behind the scenes, but if you enable XMIT echoing on the Interface/COM tab, you can see what gets sent. Additionally, the header and gcode together are written to C:\PrintHistory\HyrelPrintFile.gocde - and this is the file you should send us for help toubleshooting.

One Head Loaded

In the following example, I have one MK1-250 head loaded in the first slot on the left, slot 1 - now designated T0 for all uses:

 M6 T0 O1 X0 Y0 Z0
 M721 S10000 E100 P-15 T0
 M722 S10000 E100 P20 T0
 M221 S1.0 T0 P77 W0.5 Z0.3
 M728 T0 S0

These commands are decoded and executed by the printer as follows:

  • M6 (Declare Head Offsets)
    • T0 (far left slot)
    • O1 (offset stored in register "O1")
    • X0 (offsets in X)
    • Y0 (offsets in Y)
    • Z0 (offsets in Z)
  • M721 (Set Unprime Values)
    • S10000 (10,000 pps)
    • E100 (100 pulses)
    • P-15 (15ms before end of print move sequence)
    • T0 (for far left head)
  • M722 (Set Prime Values)
    • S10000 (10,000 pps)
    • E100 (100 pulses)
    • P20 (20ms before start of print move sequence)
    • T0 (for far left head)
  • M221 (Set Flow Rate)
    • S1.0 (flow multiplier of 1.0)
    • T0 (for far left head)
    • P77 (77 pulses per microliter)
    • W0.5 (0.5mm nozzle)
    • Z0.3 (0.3mm layer thickness - note that your gcode M756 will overwrite this value)
  • M728 (set motor current boost)
    • T0 (far left slot)
    • S0 (off)

See the entries for these commands, below, for more details.

Two Heads Loaded

In the following example, I have one MK1-250 head loaded in the second slot from the left, slot 2 - now designated T1 for all uses, and one SDS-05 head loaded in the third slot from the left, slot 3 - now designated T2 for all uses:

 M6 T1 O2 X0 Y0 Z0
 M721 S10000 E100 P-15 T1
 M722 S10000 E100 P20 T1
 M221 S1.0 T1 P77 W0.5 Z0.3
 M728 T1 S0
 M6 T2 O3 X0 Y0 Z0
 M721 S10000 E160 P-100 T2
 M722 S10000 E200 P100 T2
 M221 S1.0 T2 P81.0 W1.6 Z0.3
 M728 T2 S0

See above for full details.

Explicit Mode

Although we don't generally recommend keeping heads loaded if they will be unused on the current job, you might want to do this. At the beginning of your gcode, force focus with a T command in the gcode before your first print move. We recommend doing this before any movements, in case your head will collide with the bed without the offset. A simple T1 (or for whichever head you want focused on) will accomplish this.

If you are printing with two heads (for two stl files from different heads, or if you want infill or support from a different head than the one printing perimeters), the slicer will generate T commands where needed.

If you are doing a clone/parallel/slave print (two heads executing the same code at the same time), see the M703 entry, below, for more details.

Here are some examples:

 T0

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

  • T0 (Switch to far left head, and invoke all flow, prime, unprime, and offset parameters)
 T3

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

  • T3 (Switch to fourth head from the left, and invoke all flow, prime, unprime, and offset parameters)

Error Messages

So, in an effort to conform with standard CNC gcode practices, we now check which heads are called out with T commands in your gcode when it is loaded or refreshed, and we compare that with which tool positions on the yoke actually have heads. If there is any mismatch, warning message popups will appear.

If you have your heads called out in your gcode and the same tool positions loaded with heads, you will not see these warnings.

Gcodes

M702 Establish Clone Squad

M702 establishes a "Clone Squad" - a group of heads that will perform the same exact (extrusion) commands.

Note that an M30 decommissions any clone squads that were in effect.

Usage

 M702 T# S#

Parameters

 T# is the head from which flow (pulse/prime/etc) settings will be copied and applied to the group; this head does not need to be in the group 
 S# is the clone squad number designation and must be in the range 30 - 39 

Example

 M702 T# S#

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

  • M702 (establish clone squad)
    • T# (using flow values from target head)
    • S# (designate squad number)



M703 Add to Clone Squad

M703 adds a single head to the Clone Squad we established with an M702. Use this command multiple times to add multiple heads to the squad.

Alternately, M703 can be used to simply clone one head to another (as with v4).

Usage

 M703 T# S#

Parameters

 T# is the target head to add to the squad
 S# is the clone squad number designation and must be in the range 30 - 39
     OR
 T# is the head which will duplicate commands sent to S#
 S# is the head which T# will duplicate

Example 1

 M703 T# S#

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

  • M703 (add to clone squad)
    • T# (target head)
    • S# (clone squad to join)

Example 2

 M703 T# S#

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

  • M703 (duplicate head actions)
    • T# (head on which to immitate head S# actions)
    • S# (head which T# will immitate)




M704 Remove from Clone Squad

M704 removes a single head to the Clone Squad we established with an M702 and loaded with one or more M703s. Use this command multiple times to remove multiple heads from the squad.

Usage

 M704 T# S#

Parameters

 T# is the target head to remove from the squad 
 S# is the clone squad number designation and must be in the range 30 - 39
    OR
 T# is the head which will stop duplicating commands sent to S#
 S# is the head (which T# will stop duplicating)

Example 1

 M704 T# S#

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

  • M704 (remove from clone squad)
    • T# (target head)
    • S# (target clone squad)

Example 2

 M704 T# S#

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

  • M704 (stop duplication)
    • T# (head to stop immitating S#)
    • S# (head which T# will stop immitating)