Additional implicit calls with G800-G819 (P-CHAN-00187)

P-CHAN-00187

Additional implicit calls with G800-G819

Description

As an extension to the implicit call of subroutines with G80-G89, the parameter ‘g800_prog_file[i]' offers the possibility of defining a further 20 names of global subroutines which are called implicitly if G800 - G819 is detected in the NC program. A G800-G819 is always executed as the last action at block end.

If the related parameter is not assigned or not present in the channel parameter list, the error message P-ERR-20131 'Unknown G function’ is generated if G80 - G89 is programmed.

The subroutine names defined in the channel parameters can also be overwritten or temporarily assigned in the NC program by the command #FILE NAME [G8xx='<prog_name>']. The new subroutine names are then valid until program end M30 or until a further #FILE NAME [G8xx=”<prog_name>”] [PROG] occurs.

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

Parameter

g800_prog_file[i] where i = 0 19

Data type

STRING

Data range

Maximum 83 characters (application-specific)

Dimension

----

Default value

*

Remarks

Parameterisation example:

g800_prog_file[0] G800_up_test.nc (subroutine name with G800)

g800_prog_file[1] G801_up_test.nc (subroutine name with G801)

g800_prog_file[2] G802_up_test.nc (subroutine name with G802)

g800_prog_file[3] G803_up_test.nc (subroutine name with G803)

g800_prog_file[4] G804_up_test.nc (subroutine name with G804)

g800_prog_file[5] G805_up_test.nc (subroutine name with G805)

g800_prog_file[6] G806_up_test.nc (subroutine name with G806)

g800_prog_file[7] G807_up_test.nc (subroutine name with G807)

g800_prog_file[8] G808_up_test.nc (subroutine name with G808)

g800_prog_file[9] G809_up_test.nc (subroutine name with G809)

g800_prog_file[10] G810_up_test.nc (name of UP with G810)

g800_prog_file[11] G811_up_test.nc (subroutine name with G811)

g800_prog_file[12] G812_up_test.nc (subroutine name with G812)

g800_prog_file[13] G813_up_test.nc (subroutine name with G813)

g800_prog_file[14] G814_up_test.nc (subroutine name with G814)

g800_prog_file[15] G815_up_test.nc (subroutine name with G815)

g800_prog_file[16] G816_up_test.nc (subroutine name with G816)

g800_prog_file[17] G817_up_test.nc (subroutine name with G817)

g800_prog_file[18] G818_up_test.nc (subroutine name with G818)

g800_prog_file[19] G819_up_test.nc (name of UP with G819)

* Note: The default value of variable is a blank string.