ID 22354

Got wrong data type than requested by #DB INFO.

Description

The NC command #DB INFO can be used to request variables in the connected database.

The command #DB INFO STR[…] expects variables of the String type, whereas #DB INFO […] expects variables of type REAL64.

The acknowledgement to the request contains the returned data type.

In the event of an error, the transferred data type does not match the requested variable type.

Response

Class

2

Abort NC program processing.

Solution

Class

6

In the PLC, check the data of the corresponding group and return values.

Parameter

%1:

Expected value [-]

Requested data type.
TRUE: STRING
FALSE: REAL64

%2:

Error value [-]

Received data type.
TRUE: STRING
FALSE: REAL64

Error type

1, Error message from NC program.