B&R G-code - MoveProgram fail

I wanted to start my G-code that already worked in another project without problem in my current one, but I do keep getting these errors and cannot figure out why.

Errors:

G-code:

What g-code are you using?
G-code or G-code Atlernative 1 (default selection in your program feature I think)?

If the latter is the case, change it to G-code or adapt your G-code file according to the differences mentioned here:
g-code vs. g-code alternative 1

1 Like

I am using the G-code B&R version, not the alternative 1. Still I am not sure where the problem was, but I copied another code and just re-written the code to the one posted above and it is working.

Hello,

good that you could solve the issue already.

If such a situation happens again you can try to use an ASCII-Editor to see the
normaly not visible parts of a text file like “Carriage Return” or “Line Break”.

I think your issue was some difference in the not visible area, which maybe
was brought to the file by copy&paste from a other source.

Greetings
Michael