ID 20721

Number of parameters and number of prog. format characters do not match.

Description

In the #MSG command, the number of programmed format elements (%s, %S, %d, %D, %f, %F) must be associated with all the corresponding values.

 

Syntax example (3 format elements, 3 values):

N10 #MSG ["WERT1=%D  WERT2=%D  WERT3=%D ", 10, 20 ,30]

:

For further information see [PROG// Section: Messages from the NC program]

Response

Class

2

Abort NC program processing.

Solution

Class

3

#MSG command must be checked, and missing values added.

Parameter

%1:

Current value [-]

Number of the programmed format elements (%s, %S, %d, %D, %f, %F)

Error type

1, Error message from NC program.