Skip to main content

Activating the Extended Preprocessing Function

G code: G38, G39

Function: These commands activate and deactivate the extended preprocessing function.

Syntax

G38 O<Bit> I<Param1Value> J<Param2Value> K<Param3Value>
G39 O<Bit> I<Param1Value> J<Param2Value> K<Param3Value>

G Code Word

Description

<bit>

Value between 0 and 31. The assignment of bits to functions is left to the developer. Some function blocks, such as SMC_SmoothMerge or SMC_SmoothBSpline, have an input wFeatureBit (initial value 0) that defines the bit to be used. The bit is saved in the variable SMC_GeoInfo.dwFeatureFlags.

<Param1Value>

Any value. The values are saved in the array SMC_GeoInfo.aAdditionalParams : ARRAY[0..MAX_ADDITIONAL_PARAMS-1] OF LREAL.

<Param1Value>

<Param1Value>