TANGON – Enabling of tangential control for the specified slave axis / activating tangential following
Activates tangential control and sets the offset angle to the tangent. Either TANGON is used without arguments or both parameters "Slave axis" and "Angle" are expected during import. The address letters of the Cartesian positions (X, Y, Z, A, B, C) are allowed as the slave axis, but are ignored in the SRL program. A floating-point number or a REAL variable is expected as the angle.
INFORMATION: The "slave axis" in tangential control is defined by the main plane. In the G-code, this must be specified by TANG or the commands G17 (XY), G18 (ZX) or G19 (YZ).
There are no corresponding G-code commands or parameters for the other tangential control functions. These must be set in the Configuration. These settings are always written when the TANGON command is used in the G-code. The settings can only be seen in the resulting SRL program. To be able to reuse the settings for another import, it is recommended to save the configuration in a file. For more information, refer to chapter G-Code Conversion.
Syntax: Observe Notation of the command syntax
TANGON
or
TANGON (<slave axis : (X,Y,Z,A,B,C)> , <angle: REAL | REAL Variable>)
Example (1):
TANG
Or, for example
TANGON(X, 0)
Example (2):
TANGON(X, 45.05)
Example (3):
TANGON(X, AngleOffset)
AngleOffset Define AngleOffset as a G-code REAL variable. See Use of variables.
Implementation in the SRL program:
SET_TANGENTIAL_PARA
Activate tangential control := TRUE
Example (1):
Angle offset from tangent := 0°
Example (2):
Angle offset from tangent := 45.05°
Example (3):
Angle offset from tangent := REALVAR AngleOffset
In each example, the following settings are added by the configuration:
Limit angle for lifting and CallFunction :=
<Configuration tangential control: REAL | REAL Variable>
Lifting height at alignment :=
<Configuration tangential control: REAL | REAL Variable>
Use CallFunction at alignment :=
<Configuration tangential control: BOOL | BOOL Variable>
CallFunction index before alignment :=
<Configuration tangential control: REAL | REAL Variable>
CallFunction index after alignment :=
<Configuration tangential control: REAL | REAL Variable>