Implicit calls by G80–G89 (P-CHAN-00160 - P-CHAN-00169)

The parameters " g80_prog_file" - "g89_prog_file " define the names of global sub programms, which are implicitly called, if G80 – G89 has been detected in the NC program.

If in the channel parameter list the related parameter is empty or not available, the programming of G80 – G89 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 [G8x="<prog_name>"]. This new sub program names are valid until program end M30 or until a further #FILENAME [G8x="<prog_name>"] [PROG].

After RESET or program start the entries of "g8x_prog_file" in the channel parameters list are valid again.

Variable name

Type

Permitted range

Dimension

g80_prog_file - g89_prog_file

PROG_NAME

String

----

Extract from channel parameters list:

g80_prog_file       G80_up_test.nc      (Name of sub
program for G80)
g81_prog_file       G81_up_test.nc      (Name of sub
program for G81)
g82_prog_file       G82_up_test.nc      (Name of sub
program for G82)
g83_prog_file       G83_up_test.nc      (Name of sub
program for G83)
g84_prog_file       G84_up_test.nc      (Name of sub
program for G84)
g85_prog_file       G85_up_test.nc      (Name of sub
program for G85)
g86_prog_file       G86_up_test.nc      (Name of sub
program for G86)
g87_prog_file       G87_up_test.nc      (Name of sub
program for G87)
g88_prog_file       G88_up_test.nc      (Name of sub
program for G88)
g89_prog_file       G89_up_test.nc      (Name of sub
program for G89)