Hi,
I have written some code in KRL, which is having following files-
- Library.dat
- Library.src
- MyModule.dat
- MyModule.src
KUKA is showing some compilation errors, which are below-
[list type=decimal]
- Declaration not in declaration section
- Pos. integer, "]" or "," expected
- END/ENDFCT/ENDDAT inadmissible here
- Operand or expression expected
- Name expected
- Incorrect end of control structure
- Both sides of the value assignment are not compatible
- INT. constant not equal to 0 expected
- Instruction not in instruction section
[/list]
Following are the details of each file-
Library.dat- This file is having all of the constants used all over the program
Library.src- This file is having module and functions
MyModule.dat- This file is for PTP variables (Used by KRC)
MyModule.src- This is the main file which is having PTP motions calculated using library file
I am attaching the screenshot of the errors for better understanding.
Please help me to rectify these errors.
-
Thanks