ID 21456

Assignment operation not permitted for string variables.

Description

Only the assignment operators "=" and "+=" can be used for string variables. The operators "-=", "*=" and "/=" are not permitted. Example of external variables:

 

var[1].name  str1

var[1].type    STRING

 

Error:

V.E.str1 *= „Hello world!“

 

Correct:

V.E.str1  = „Hello“

V.E.str1 += „ world!“

Response

Class

2

Abort NC program processing.

Solution

Class

3

Correct NC program.

Error type

1, Error message from NC program.