Number of default G-function (P-CHAN-00063)

This element defines the default G-function for the specific G-function group.

Group

Possible Default G-Functions

g_gruppe[0]

0, 1, 2, 3, 4 (G00, G01, G02, G03, G04)

g_gruppe[4]

17, 18, 19 (G17, G18, G19)

g_gruppe[6]

25, 26 (G25, G26)

g_gruppe[8]

51, 52 (G51, G52)

g_gruppe[12]

70, 71 (G70, G71)

g_gruppe[14]

90, 91 (G90, G91)

g_gruppe[21]

135, 137 (G135, G137)

g_gruppe[22]

138, 139 (G138, G139)

g_gruppe[23]

161, 162 (G161, G162)

g_gruppe[25]

164, 165 (G164, G165)

g_gruppe[32]

140, 141 (G140, G141)

Variable name

Type

Permitted range

Dimension

nr

SGN16

-1<nr<MAX(UNS16)

----

EXAMPLE:At program start the following initialization of the permissible G-Groups should be active:

Extract from channel parameters list:

# Default values for G-Functions 
prog_start.g_gruppe[0].nr 0 (Area: WEG_BED)
prog_start.g_gruppe[4].nr 17 (Area: EBENE)
prog_start.g_gruppe[6].nr 25 (Area: WRK_UEBER)
prog_start.g_gruppe[8].nr 52 (Area: DURCHM)
prog_start.g_gruppe[12].nr 71 (Area: MASSEINH)
prog_start.g_gruppe[14].nr 90 (Area: MASSANG)
prog_start.g_gruppe[21].nr 135 (Area: VORST)
prog_start.g_gruppe[22].nr 139 (Area: WRK_E_A)
prog_start.g_gruppe[23].nr 162 (Area: MPKT_A_R)
prog_start.g_gruppe[25].nr 165 (Area: MPKT_KORR)
prog_start.g_gruppe[32].nr 140 (Area: CONT_MASK)