ID 20499

Syntax error in command for position request.

Description

When programming the NC command #GET CMDPOS[..] or #SET IPO SOLLPOS[..], a syntax error (commas, equal signs, closing square brackets) was detected after the open square bracket.

Syntax example:

Wrong:

#GET CMDPOS [P1=X P2=Y] or

#GET CMDPOS [V.L.POS1 X ] or

#GET CMDPOS [P1=X, P2=Y, P3=Z

Correct:

#GET CMDPOS [P1=X, P2=Y]or

#GET CMDPOS [V.L.POS1=X ] or

#GET CMDPOS [P1=X, P2=Y, P3=Z]

Response

Class

2

Abort NC program processing.

Solution

Class

3

In the NC program, check and correct the command syntax of #GET CMDPOS[...] or #SET IPO SOLLPOS[...] regarding comma setting, equal sign, closing square brackets, etc.

For further information see [PROG// Section: Requesting offset and setpoint values]

Error type

1, Error message from NC program.