thc()

Triggers the Torch Height Control (THC) signal.

Syntax

thc(arc_ok, direction)

Parameters

Parameter Type Description
arc_ok Number `1` if the arc is established, `0` otherwise.
direction Number The THC direction (`-1` down, `0` no movement, `1` up).

Return Value

Examples

Trigger THC with arc established, moving up

thc(1, 1);

Trigger THC with no arc, no movement

thc(0, 0);

Trigger THC with arc established, moving down

thc(1, -1);