Additional implicit calls by G800–G819 (P-CHAN-00187)

In addition to the implicit call of sub programms by G80-G89 the parameter "g800_prog_file[i]" offers the possibility to define further 20 names of global sub programms, which are implicitly called, if G800 – G819 has been detected in the NC program.

If in the channel parameter list the related parameter is empty or not available, the programming of G800 – G819 causes the error message P-ERR-20131 "Unknown G function"

In NC program the sub program names also can be overwritten respectively temporary defined by the command #FILENAME [G8xx="<prog_name>"]. This new sub program names are valid until program end M30 or until a further #FILENAME [G8xx="<prog_name>"] [PROG].

After RESET or program start the entries of "g800_prog_file[i]" in the channel parameters list are valid again.

Variable name

Type

Permitted range

Dimension

g800_prog_file[i]

PROG_NAME

String

----

i

UNS16

0 ... 19

----

Extract from channel parameters list:

g800_prog_file[0]       G800_up_test.nc      (Name
of sub program for G800)
g800_prog_file[1]       G801_up_test.nc      (Name
of sub program for G801)
g800_prog_file[2]       G802_up_test.nc      (Name
of sub program for G802)
g800_prog_file[3]       G803_up_test.nc      (Name
of sub program for G803)
g800_prog_file[4]       G804_up_test.nc      (Name
of sub program for G804)
g800_prog_file[5]       G805_up_test.nc      (Name
of sub program for G805)
g800_prog_file[6]       G806_up_test.nc      (Name
of sub program for G806)
g800_prog_file[7]       G807_up_test.nc      (Name
of sub program for G807)
g800_prog_file[8]       G808_up_test.nc      (Name
of sub program for G808)
g800_prog_file[9]       G809_up_test.nc      (Name
of sub program for G809)
g800_prog_file[10]      G810_up_test.nc      (Name
of sub program for G810)
g800_prog_file[11]      G811_up_test.nc      (Name
of sub program for G811)
g800_prog_file[12]      G812_up_test.nc      (Name
of sub program for G812)
g800_prog_file[13]      G813_up_test.nc      (Name
of sub program for G813)
g800_prog_file[14]      G814_up_test.nc      (Name
of sub program for G814)
g800_prog_file[15]      G815_up_test.nc      (Name
of sub program for G815)
g800_prog_file[16]      G816_up_test.nc      (Name
of sub program for G816)
g800_prog_file[17]      G817_up_test.nc      (Name
of sub program for G817)
g800_prog_file[18]      G818_up_test.nc      (Name
of sub program for G818)
g800_prog_file[19]      G819_up_test.nc      (Name
of sub program for G819)