Implicit call with G80 (P-CHAN-00160)

P-CHAN-00160

Implicit call with G80

Description

The parameter ‘g80_prog_file’ define the name of global subroutine which is called implicitly when a G80 is detected in the NC program. G80 is always executed as the last action at block end.

If the 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 is programmed.

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

After RESET or program start, the entry of 'g80_prog_file' in the channel parameter list is valid again.

Parameter

g80_prog_file

Data type

STRING

Data range

Maximum 83 characters (application-specific)

Dimension

----

Default value

*

Remarks

Parameterisation example:

g80_prog_file G80_up_test.nc (name of subroutine with G80)

g81_prog_file G81_up_test.nc (name of subroutine with G81)

g82_prog_file G82_up_test.nc (name of subroutine with G82)

g83_prog_file G83_up_test.nc (name of subroutine with G83)

g84_prog_file G84_up_test.nc (name of subroutine with G84)

g85_prog_file G85_up_test.nc (name of subroutine with G85)

g86_prog_file G86_up_test.nc (name of subroutine with G86)

g87_prog_file G87_up_test.nc (name of subroutine with G87)

g88_prog_file G88_up_test.nc (name of subroutine with G88)

g89_prog_file G89_up_test.nc (name of subroutine with G89)

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