ID 21549

Assignment from left to the right requires a parameter or variable.

Description

A transferred signal parameter (P[<i>]) in the #WAIT command cannot be adopted in the programmed "destination variable".

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify the NC program. Here for syntactical reasons, it has to take into consideration that the assignment is executed from left to the right. The value of the transferred signal parameter P[<>] is therefore assigned to the "destination variable” on the right-hand side of the equals sign. This "destination variable" has to be a P parameter or a V. variable (self-defined variable, external variable, pre-defined variable with write access).

 

Example:

N10 #SIGNAL [ID1 CH1 P[0]=5]

Nxx…

:

N90 #WAIT [ID1 CH1 P[0]=V.L.WAIT]

-> Value 5 is stored in V.L.WAIT

Error type

1, Error message from NC program.